Class AirlineInformationAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.AirlineInformationAccessControl
- All Implemented Interfaces:
Serializable
An access controller for Virtual Airlines application profiles.
- Since:
- 5.0
- Version:
- 8.6
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class AccessControl
_ctx -
Constructor Summary
ConstructorsConstructorDescriptionCreates the Access Controller. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the profile can be edited.booleanReturns whether the profile can be read.voidvalidate()Calculates access rights.Methods inherited from class AccessControl
validateContext
-
Constructor Details
-
AirlineInformationAccessControl
Creates the Access Controller.- Parameters:
ai- the AirlineInformation beanctx- the SecurityContext
-
-
Method Details
-
validate
-
getCanRead
public boolean getCanRead()Returns whether the profile can be read.- Returns:
- TRUE if readable, otherwise FALSE
-
getCanEdit
public boolean getCanEdit()Returns whether the profile can be edited.- Returns:
- TRUE if editable, otherwise FALSE
-