za.org.coefficient.modules.attribute
Class AttributeDataManagement
java.lang.Object
za.org.coefficient.modules.BaseModule
za.org.coefficient.modules.attribute.AttributeDataManagement
- All Implemented Interfaces:
- CoefficientEventPublisher, ModuleLocal
public class AttributeDataManagement
- extends BaseModule
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD
public static final java.lang.String ADD
- See Also:
- Constant Field Values
UPDATE
public static final java.lang.String UPDATE
- See Also:
- Constant Field Values
DELETE
public static final java.lang.String DELETE
- See Also:
- Constant Field Values
SELECT
public static final java.lang.String SELECT
- See Also:
- Constant Field Values
EDIT
public static final java.lang.String EDIT
- See Also:
- Constant Field Values
ERROR
public static final java.lang.String ERROR
- See Also:
- Constant Field Values
HEADING
public static final java.lang.String HEADING
- 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
LINES
public static final java.lang.String LINES
- See Also:
- Constant Field Values
LINE
public static final java.lang.String LINE
- 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
ROWS
public static final java.lang.String ROWS
- See Also:
- Constant Field Values
COLS
public static final java.lang.String COLS
- See Also:
- Constant Field Values
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
EQUALS
public static final java.lang.String EQUALS
- See Also:
- Constant Field Values
BUTTON
public static final java.lang.String BUTTON
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
TITLE
public static final java.lang.String TITLE
- See Also:
- Constant Field Values
MORE
public static final java.lang.String MORE
- See Also:
- Constant Field Values
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
ON
public static final java.lang.String ON
- See Also:
- Constant Field Values
DATAPAGE
public static final java.lang.String DATAPAGE
- See Also:
- Constant Field Values
TEXTPAGE
public static final java.lang.String TEXTPAGE
- See Also:
- Constant Field Values
TEXTAREAPAGE
public static final java.lang.String TEXTAREAPAGE
- See Also:
- Constant Field Values
HEADINGPAGE
public static final java.lang.String HEADINGPAGE
- See Also:
- Constant Field Values
TDPAGE
public static final java.lang.String TDPAGE
- See Also:
- Constant Field Values
DELETEPAGE
public static final java.lang.String DELETEPAGE
- See Also:
- Constant Field Values
CANNOTDELETEPAGE
public static final java.lang.String CANNOTDELETEPAGE
- See Also:
- Constant Field Values
ENTERFIELDS
public static final java.lang.String ENTERFIELDS
- See Also:
- Constant Field Values
commandRoles
java.lang.String[] commandRoles
doInitialWorkRoles
java.lang.String[] doInitialWorkRoles
AttributeDataManagement
public AttributeDataManagement()
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
getExistingAttributes
public java.util.List getExistingAttributes()
getAttributeByName
public ProjectAttribute getAttributeByName(java.lang.String name)
getAttributeByNumber
public ProjectAttribute getAttributeByNumber(java.lang.Long id)
getExistingData
public java.util.List getExistingData(java.lang.Long attributeId)
getExistingDataKeywords
public java.util.List getExistingDataKeywords(java.lang.Long attributeId)
command
public CoefficientContext command(CoefficientContext ctx)
- executed by the project champion. gives full access to
the task data
doInitialWork
public CoefficientContext doInitialWork(CoefficientContext ctx)
canDelete
private boolean canDelete(ProjectAttributeData pad)
setupSelect
private void setupSelect(CoefficientContext ctx,
java.util.HashMap map)
Copyright CSIR. All Rights Reserved.