za.org.coefficient.modules.attribute
Class AttributeManagement
java.lang.Object
  
za.org.coefficient.modules.BaseModule
      
za.org.coefficient.modules.attribute.AttributeManagement
- All Implemented Interfaces: 
 - CoefficientEventPublisher, ModuleLocal
 
public class AttributeManagement
- 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
 
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
 
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
 
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
 
ERRORPAGE
public static final java.lang.String ERRORPAGE
- See Also:
 - Constant Field Values
 
ADMINPAGE
public static final java.lang.String ADMINPAGE
- See Also:
 - Constant Field Values
 
LISTPAGE
public static final java.lang.String LISTPAGE
- See Also:
 - Constant Field Values
 
INDEXPAGE
public static final java.lang.String INDEXPAGE
- See Also:
 - Constant Field Values
 
ADDMSG
public static final java.lang.String ADDMSG
- See Also:
 - Constant Field Values
 
COMPLETEDMSG
public static final java.lang.String COMPLETEDMSG
- 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
AttributeManagement
public AttributeManagement()
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
 
 
 
command
public CoefficientContext command(CoefficientContext ctx)
- executed by the project champion.  gives full access to
 the task data
 
 
canDelete
public boolean canDelete(ProjectAttribute pa)
 
doInitialWork
public CoefficientContext doInitialWork(CoefficientContext ctx)
 
getExistingAttributes
public java.util.List getExistingAttributes()
 
getExistingData
public java.util.List getExistingData(java.lang.Long attributeId)
 
Copyright CSIR. All Rights Reserved.