za.org.coefficient.modules.attribute
Class AttributeSearch
java.lang.Object
za.org.coefficient.modules.BaseModule
za.org.coefficient.modules.attribute.AttributeSearch
- All Implemented Interfaces:
- CoefficientEventPublisher, ModuleLocal
public class AttributeSearch
- extends BaseModule
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_BROWSE_PAGER
public static final java.lang.String ATTRIBUTE_BROWSE_PAGER
- See Also:
- Constant Field Values
ERROR
public static final java.lang.String ERROR
- See Also:
- Constant Field Values
PAGER
public static final java.lang.String PAGER
- See Also:
- Constant Field Values
ATTRIBUTE
public static final java.lang.String ATTRIBUTE
- See Also:
- Constant Field Values
ATTRIBUTES
public static final java.lang.String ATTRIBUTES
- See Also:
- Constant Field Values
MODULE
public static final java.lang.String MODULE
- See Also:
- Constant Field Values
OP
public static final java.lang.String OP
- See Also:
- Constant Field Values
NEXT
public static final java.lang.String NEXT
- See Also:
- Constant Field Values
PREVIOUS
public static final java.lang.String PREVIOUS
- See Also:
- Constant Field Values
PAGE
public static final java.lang.String PAGE
- See Also:
- Constant Field Values
SEARCHPAGE
public static final java.lang.String SEARCHPAGE
- See Also:
- Constant Field Values
RESULTPAGE
public static final java.lang.String RESULTPAGE
- See Also:
- Constant Field Values
AttributeSearch
public AttributeSearch()
getMainMethod
public java.lang.String getMainMethod()
- Description copied from interface:
ModuleLocal
- This method is used to determine which method should be invoked when
the module is requested without an operation.
- Specified by:
getMainMethod
in interface ModuleLocal
- Specified by:
getMainMethod
in class BaseModule
- Returns:
- name of the method that should be invoked
getModuleDescription
public java.lang.String getModuleDescription()
- Description copied from interface:
ModuleLocal
- This method is used to find the description of the module
- Specified by:
getModuleDescription
in interface ModuleLocal
- Specified by:
getModuleDescription
in class BaseModule
- Returns:
- the description of the module
getModuleDisplayName
public java.lang.String getModuleDisplayName()
- Description copied from interface:
ModuleLocal
- This method is used to find the display name of the module
- Specified by:
getModuleDisplayName
in interface ModuleLocal
- Specified by:
getModuleDisplayName
in class BaseModule
- Returns:
- the display name of the module
canExecuteForRole
public java.lang.String canExecuteForRole(CoefficientContext ctx,
java.lang.String methodName,
Role usersHighestRole)
- Description copied from class:
BaseModule
- This is a base implementation that will allow all methods to be
invoked without regard to roles
- Specified by:
canExecuteForRole
in interface ModuleLocal
- Overrides:
canExecuteForRole
in class BaseModule
- Returns:
- null if we can execute the method an error message if not
doInitialWork
public CoefficientContext doInitialWork(CoefficientContext ctx)
pager
public CoefficientContext pager(CoefficientContext ctx)
search
public CoefficientContext search(CoefficientContext ctx)
getAttributes
private java.util.List getAttributes()
parse
private java.lang.String parse(CoefficientContext ctx,
java.util.List vals)
Copyright CSIR. All Rights Reserved.