org.deltava.security.command
Class FileEntryAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.FleetEntryAccessControl
org.deltava.security.command.FileEntryAccessControl
public class FileEntryAccessControl
- extends FleetEntryAccessControl
An Access Controller for File Library entires.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Luke
|
Method Summary |
boolean |
getCanCreate()
Returns if a new File Library entry can be created. |
boolean |
getCanEdit()
Returns if the File Library entry can be edited. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryAccessControl
public FileEntryAccessControl(SecurityContext ctx,
FileEntry e)
- Initializes the Access Controller.
- Parameters:
ctx - the Security contexte - the File Library entry
getCanCreate
public boolean getCanCreate()
- Returns if a new File Library entry can be created.
- Overrides:
getCanCreate in class FleetEntryAccessControl
- 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:
getCanEdit in class FleetEntryAccessControl
- Returns:
- TRUE if the entry can be edited, otherwise FALSE
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.