Class FileEntryAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.FleetEntryAccessControl
org.deltava.security.command.FileEntryAccessControl
- All Implemented Interfaces:
Serializable
An Access Controller for File Library entires.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class FleetEntryAccessControl
_canCreate, _canEdit, _canView, _entryFields inherited from class AccessControl
_ctx -
Constructor Summary
ConstructorsConstructorDescriptionInitializes the Access Controller. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if a new File Library entry can be created.booleanReturns if the File Library entry can be edited.Methods inherited from class FleetEntryAccessControl
getCanDelete, getCanView, setEntry, validateMethods inherited from class AccessControl
validateContext
-
Constructor Details
-
FileEntryAccessControl
Initializes the Access Controller.- Parameters:
ctx- the Security contexte- the File Library entry
-
-
Method Details
-
getCanCreate
public boolean getCanCreate()Returns if a new File Library entry can be created.- Overrides:
getCanCreatein classFleetEntryAccessControl- Returns:
- TRUE if a new entry can be created, otherwise FALSE
-
getCanEdit
public boolean getCanEdit()Returns if the File Library entry can be edited.- Overrides:
getCanEditin classFleetEntryAccessControl- Returns:
- TRUE if the entry can be edited, otherwise FALSE
-