Class EquipmentAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.EquipmentAccessControl
- All Implemented Interfaces:
Serializable
An Access Controller for Equipment Type profile operations.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.security.command.AccessControl
_ctx
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes the Access Controller. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if the profile can be deleted.boolean
Returns if the profile can be edited.boolean
Returns if the equipment type can be renamed.void
validate()
Calculates access rights.Methods inherited from class org.deltava.security.command.AccessControl
validateContext
-
Constructor Details
-
EquipmentAccessControl
Initializes the Access Controller.- Parameters:
ctx
- the Command context
-
-
Method Details
-
validate
-
getCanEdit
public boolean getCanEdit()Returns if the profile can be edited.- Returns:
- TRUE if it can be edited, otherwise FALSE
-
getCanRename
public boolean getCanRename()Returns if the equipment type can be renamed.- Returns:
- TRUE if it can be renamed, otherwise FALSE
-
getCanDelete
public boolean getCanDelete()Returns if the profile can be deleted.- Returns:
- TRUE if it can be deleted, otherwise FALSE
-