public class CheckRightSearchComponent extends Object implements SearchComponent, Serviceable
SearchComponent
for checking rights in RightCheckingMode.FAST
modeModifier and Type | Field and Description |
---|---|
protected RightManager |
_rightManager
The right manager
|
DISABLE_DEFAULT_SAX_PARAMETER_NAME, MAX_PRIORITY, MIN_PRIORITY, SEARCH_PRIORITY
Constructor and Description |
---|
CheckRightSearchComponent() |
Modifier and Type | Method and Description |
---|---|
void |
execute(SearchComponentArguments args)
Executes the component.
|
int |
priority()
Get the priority of the component.
|
void |
service(ServiceManager manager) |
boolean |
supports(SearchComponentArguments args)
Returns
true if the component must be executed . |
protected RightManager _rightManager
public CheckRightSearchComponent()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public int priority()
SearchComponent
priority
in interface SearchComponent
public boolean supports(SearchComponentArguments args)
SearchComponent
true
if the component must be executed
.supports
in interface SearchComponent
args
- the argumentstrue
if the component must be executed
.public void execute(SearchComponentArguments args) throws Exception
SearchComponent
execute
in interface SearchComponent
args
- the argumentsException
- if an exception occurs. Other search components will be attempted to be executed