public class CheckRightSearchComponent extends Object implements SearchComponent, Serviceable
SearchComponent for checking rights in RightCheckingMode.FAST mode| Modifier 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 ServiceableServiceExceptionpublic int priority()
SearchComponentpriority in interface SearchComponentpublic boolean supports(SearchComponentArguments args)
SearchComponenttrue if the component must be executed.supports in interface SearchComponentargs - the argumentstrue if the component must be executed.public void execute(SearchComponentArguments args) throws Exception
SearchComponentexecute in interface SearchComponentargs - the argumentsException - if an exception occurs. Other search components will be attempted to be executed