|
|||||||||
| 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.ApplicantAccessControl
public final class ApplicantAccessControl
An Access Controller to support Applicant profile operations.
| Field Summary |
|---|
| Fields inherited from class org.deltava.security.command.AccessControl |
|---|
_ctx |
| Constructor Summary | |
|---|---|
ApplicantAccessControl(SecurityContext ctx,
Applicant a)
Initializes the controller. |
|
| Method Summary | |
|---|---|
boolean |
getCanApprove()
Returns if the Applicant can be approved. |
boolean |
getCanDelete()
Returns if the user can delete the Applicant. |
boolean |
getCanEdit()
Returns if the Applicant profile can be edited. |
boolean |
getCanNotify()
Returns if the user can send a notification message to the Applicant. |
boolean |
getCanRead()
Returns if the Applicant profile can be read. |
boolean |
getCanReject()
Returns if the Applicant can be rejected. |
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 ApplicantAccessControl(SecurityContext ctx,
Applicant a)
ctx - the Command contexta - the Applicant profile| Method Detail |
|---|
public void validate()
throws AccessControlException
validate in class AccessControlAccessControlException - if the user cannot even read the profilepublic boolean getCanRead()
public boolean getCanEdit()
public boolean getCanApprove()
public boolean getCanReject()
public boolean getCanNotify()
public boolean getCanDelete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||