Class AccomplishmentAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.AccomplishmentAccessControl
- All Implemented Interfaces:
Serializable
An Access Controller for Accomplishment profiles.
- Since:
- 3.2
- Version:
- 3.2
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class AccessControl
_ctx -
Constructor Summary
ConstructorsConstructorDescriptionInitializes the Controller. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the user can create a new Accomplishment profile.booleanReturns whether the user can delete thtis Accomplishment profile.booleanReturns whether the user can edit thtis Accomplishment profile.voidvalidate()Calculates access rights.Methods inherited from class AccessControl
validateContextModifier and TypeMethodDescriptionprotected voidValidates the command context for this access controller.
-
Constructor Details
-
AccomplishmentAccessControl
Initializes the Controller.- Parameters:
ctx- the Security Contexta- the Accomplishment
-
-
Method Details
-
validate
-
getCanCreate
public boolean getCanCreate()Returns whether the user can create a new Accomplishment profile.- Returns:
- TRUE if a new profile can be created, otherwise FALSE
-
getCanEdit
public boolean getCanEdit()Returns whether the user can edit thtis Accomplishment profile.- Returns:
- TRUE if the profile can be edited, otherwise FALSE
-
getCanDelete
public boolean getCanDelete()Returns whether the user can delete thtis Accomplishment profile.- Returns:
- TRUE if the profile can be deleted, otherwise FALSE
-