|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DbAccessControlList
The interface to support persistence of node access control entries in hibernate
Method Summary | |
---|---|
DbAccessControlListChangeSet |
getAclChangeSet()
Get the change set |
java.lang.String |
getAclId()
Get the ACL ID |
ACLType |
getAclType()
Get the type for this ACL |
long |
getAclVersion()
Get the ACL version |
DbAccessControlList |
getCopy(java.lang.Long parent,
ACLCopyMode node)
|
java.lang.Long |
getId()
Get the long key |
java.lang.Long |
getInheritedAclId()
Get the ACL inherited from nodes which have this ACL |
boolean |
getInherits()
Get inheritance behaviour |
java.lang.Long |
getInheritsFrom()
Get the ACL from which this one inherits |
boolean |
getRequiresVersion()
|
java.lang.Long |
getVersion()
|
boolean |
isLatest()
Is this the latest version of the acl identified by the acl id string? |
boolean |
isVersioned()
Is this ACL versioned - if not there will be no old versions of the ACL and the long id will remain unchanged. |
void |
setAclChangeSet(DbAccessControlListChangeSet aclChangeSet)
Set the change set |
void |
setAclId(java.lang.String id)
Set the string ACL ID (not the auto generated long) |
void |
setAclType(ACLType type)
Set the ACL Type |
void |
setAclVersion(long version)
Set the ACL version (not the optimistic version used by hibernate) |
void |
setInheritedAclId(java.lang.Long acl)
Set the ACL that should be set when inheriting from this one. |
void |
setInherits(boolean inherits)
Set inheritance behaviour |
void |
setInheritsFrom(java.lang.Long id)
Set the ACL from which this one inherits |
void |
setLatest(boolean isLatest)
Set if this ACL is the latest version of the ACL as identified by getAclId() |
void |
setRequiresVersion(boolean requiresVersion)
|
void |
setVersioned(boolean isVersioned)
Set if this ACL is versioned on write |
Method Detail |
---|
java.lang.Long getId()
java.lang.String getAclId()
long getAclVersion()
boolean isLatest()
java.lang.Long getVersion()
boolean getInherits()
java.lang.Long getInheritsFrom()
ACLType getAclType()
java.lang.Long getInheritedAclId()
boolean isVersioned()
void setAclId(java.lang.String id)
id
- void setAclVersion(long version)
version
- void setLatest(boolean isLatest)
isLatest
- void setInherits(boolean inherits)
inherits
- true to set the permissions to inheritvoid setInheritsFrom(java.lang.Long id)
id
- void setAclType(ACLType type)
type
- void setInheritedAclId(java.lang.Long acl)
acl
- void setVersioned(boolean isVersioned)
isVersioned
- void setAclChangeSet(DbAccessControlListChangeSet aclChangeSet)
aclChangeSet
- DbAccessControlListChangeSet getAclChangeSet()
DbAccessControlList getCopy(java.lang.Long parent, ACLCopyMode node)
void setRequiresVersion(boolean requiresVersion)
boolean getRequiresVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |