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 org.deltava.security.command.AccessControl
_ctx
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the Access Controller. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the profile can be edited.boolean
Returns whether the profile can be read.void
validate()
Calculates access rights.Methods inherited from class org.deltava.security.command.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
-