|
|||||||||
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Long getId()
getId
in interface DbAccessControlEntry
public java.lang.Long getVersion()
getVersion
in interface DbAccessControlEntry
public DbPermission getPermission()
getPermission
in interface DbAccessControlEntry
public void setPermission(DbPermission permissionReference)
setPermission
in interface DbAccessControlEntry
permissionReference
- the permission to which the entry appliespublic DbAuthority getAuthority()
getAuthority
in interface DbAccessControlEntry
public void setAuthority(DbAuthority recipient)
setAuthority
in interface DbAccessControlEntry
recipient
- the authority to which this entry appliespublic boolean isAllowed()
isAllowed
in interface DbAccessControlEntry
public void setAllowed(boolean allowed)
DbAccessControlEntry
setAllowed
in interface DbAccessControlEntry
public ACEType getAceType()
DbAccessControlEntry
getAceType
in interface DbAccessControlEntry
public void setAceType(ACEType aceType)
DbAccessControlEntry
setAceType
in interface DbAccessControlEntry
public DbAccessControlEntryContext getContext()
DbAccessControlEntry
getContext
in interface DbAccessControlEntry
public void setContext(DbAccessControlEntryContext context)
DbAccessControlEntry
setContext
in interface DbAccessControlEntry
public 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 |