|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DbAccessControlEntry
The interface against which permission entries are persisted
| Method Summary | |
|---|---|
void |
delete()
Helper method to delete the instance and make sure that all inverse associations are properly maintained. |
ACEType |
getAceType()
Get the ACE type |
DbAuthority |
getAuthority()
|
DbAccessControlEntryContext |
getContext()
Get the ACE context - may be null and may well mostly be null |
java.lang.Long |
getId()
|
DbPermission |
getPermission()
|
java.lang.Long |
getVersion()
|
boolean |
isAllowed()
|
void |
setAceType(ACEType type)
Set the ACEType |
void |
setAllowed(boolean allowed)
Set if this permission is allowed, otherwise it is denied. |
void |
setAuthority(DbAuthority authority)
|
void |
setContext(DbAccessControlEntryContext context)
Set the ACE context |
void |
setPermission(DbPermission permission)
|
| Method Detail |
|---|
java.lang.Long getId()
java.lang.Long getVersion()
DbPermission getPermission()
void setPermission(DbPermission permission)
permission - the permission to which the entry appliesDbAuthority getAuthority()
void setAuthority(DbAuthority authority)
authority - the authority to which this entry appliesboolean isAllowed()
void setAllowed(boolean allowed)
allowed - ACEType getAceType()
void setAceType(ACEType type)
type - DbAccessControlEntryContext getContext()
void setContext(DbAccessControlEntryContext context)
context - void delete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||