|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.security.command.AccessControl
org.deltava.security.command.ChartAccessControl
public class ChartAccessControl
An Access Controller for Approach Charts.
| Field Summary |
|---|
| Fields inherited from class org.deltava.security.command.AccessControl |
|---|
_ctx |
| Constructor Summary | |
|---|---|
ChartAccessControl(SecurityContext ctx)
Initializes the Access Controller. |
|
| Method Summary | |
|---|---|
boolean |
getCanCreate()
Returns if a new Approach Chart can be created. |
boolean |
getCanDelete()
Returns if an Approach Chart can be deleted. |
boolean |
getCanEdit()
Returns if an Approach Chart can be edited. |
void |
validate()
Calculates access rights. |
| Methods inherited from class org.deltava.security.command.AccessControl |
|---|
validateContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartAccessControl(SecurityContext ctx)
ctx - the Command context| Method Detail |
|---|
public void validate()
throws AccessControlException
validate in class AccessControlAccessControlException - if the user is unauthenticatedpublic boolean getCanCreate()
public boolean getCanEdit()
public boolean getCanDelete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||