|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.domain.hibernate.DbAccessControlEntryImpl
public class DbAccessControlEntryImpl
Persisted permission entries
| Constructor Summary | |
|---|---|
DbAccessControlEntryImpl()
|
|
| Method Summary | |
|---|---|
void |
delete()
Helper method to delete the instance and make sure that all inverse associations are properly maintained. |
boolean |
equals(java.lang.Object obj)
|
static DbAccessControlEntry |
find(org.hibernate.Session session,
ACEType type,
boolean allow,
java.lang.String authority,
DbPermissionKey permissionKey)
|
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()
|
int |
hashCode()
|
boolean |
isAllowed()
|
void |
setAceType(ACEType aceType)
Set the ACEType |
void |
setAllowed(boolean allowed)
Set if this permission is allowed, otherwise it is denied. |
void |
setAuthority(DbAuthority recipient)
|
void |
setContext(DbAccessControlEntryContext context)
Set the ACE context |
void |
setPermission(DbPermission permissionReference)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DbAccessControlEntryImpl()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Long getId()
getId in interface DbAccessControlEntrypublic java.lang.Long getVersion()
getVersion in interface DbAccessControlEntrypublic DbPermission getPermission()
getPermission in interface DbAccessControlEntrypublic void setPermission(DbPermission permissionReference)
setPermission in interface DbAccessControlEntrypermissionReference - the permission to which the entry appliespublic DbAuthority getAuthority()
getAuthority in interface DbAccessControlEntrypublic void setAuthority(DbAuthority recipient)
setAuthority in interface DbAccessControlEntryrecipient - the authority to which this entry appliespublic boolean isAllowed()
isAllowed in interface DbAccessControlEntrypublic void setAllowed(boolean allowed)
DbAccessControlEntry
setAllowed in interface DbAccessControlEntrypublic ACEType getAceType()
DbAccessControlEntry
getAceType in interface DbAccessControlEntrypublic void setAceType(ACEType aceType)
DbAccessControlEntry
setAceType in interface DbAccessControlEntrypublic DbAccessControlEntryContext getContext()
DbAccessControlEntry
getContext in interface DbAccessControlEntrypublic void setContext(DbAccessControlEntryContext context)
DbAccessControlEntry
setContext in interface DbAccessControlEntrypublic void delete()
DbAccessControlEntry
delete in interface DbAccessControlEntry
public static DbAccessControlEntry find(org.hibernate.Session session,
ACEType type,
boolean allow,
java.lang.String authority,
DbPermissionKey permissionKey)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||