Class ScheduleAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.ScheduleAccessControl
- All Implemented Interfaces:
Serializable
An Access Controller for Flight Schdeule data.
- Since:
- 1.0
- Version:
- 9.1
- 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 route data can be deleted.boolean
Returns if route data can be modified.boolean
Returns if Flight Schedule data can be exported.boolean
Returns if Flight Schedule data can be imported.void
validate()
Calculates access control rightsMethods inherited from class org.deltava.security.command.AccessControl
validateContext
-
Constructor Details
-
ScheduleAccessControl
Initializes the Access Controller.- Parameters:
ctx
- the Command context
-
-
Method Details
-
validate
public void validate()Description copied from class:AccessControl
Calculates access control rights- Specified by:
validate
in classAccessControl
-
getCanEdit
public boolean getCanEdit()Returns if route data can be modified.- Returns:
- TRUE if the rotue data can be modified, otherwise FALSE
-
getCanDelete
public boolean getCanDelete()Returns if route data can be deleted.- Returns:
- TRUE if the route data can be deleted, otherwise FALSE
-
getCanImport
public boolean getCanImport()Returns if Flight Schedule data can be imported.- Returns:
- TRUE if data can be imported, otherwise FALSE
-
getCanExport
public boolean getCanExport()Returns if Flight Schedule data can be exported.- Returns:
- TRUE if data can be exported, otherwise FALSE
-