|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.acl.basic.jdbc.JdbcDaoImpl.AclDetailsHolder
protected final class JdbcDaoImpl.AclDetailsHolder
Used to hold details of a domain object instance's properties, or an individual ACL entry.
Not all
properties will be set. The actual properties set will depend on which MappingSqlQuery
creates the
object.
Does not enforce null
s or empty String
s as this is performed by the
MappingSqlQuery
objects (or preferably the backend RDBMS via schema constraints).
Constructor Summary | |
---|---|
JdbcDaoImpl.AclDetailsHolder(long foreignKeyId,
AclObjectIdentity aclObjectIdentity,
AclObjectIdentity aclObjectParentIdentity,
Class aclClass)
Record details of a domain object instance's properties (usually from the ACL_OBJECT_IDENTITY table) |
|
JdbcDaoImpl.AclDetailsHolder(Object recipient,
int mask)
Record details of an individual ACL entry (usually from the ACL_PERMISSION table) |
Method Summary | |
---|---|
Class |
getAclClass()
|
AclObjectIdentity |
getAclObjectIdentity()
|
AclObjectIdentity |
getAclObjectParentIdentity()
|
long |
getForeignKeyId()
|
int |
getMask()
|
Object |
getRecipient()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcDaoImpl.AclDetailsHolder(Object recipient, int mask)
recipient
- the recipientmask
- the integer to be maskedpublic JdbcDaoImpl.AclDetailsHolder(long foreignKeyId, AclObjectIdentity aclObjectIdentity, AclObjectIdentity aclObjectParentIdentity, Class aclClass)
foreignKeyId
- used by the
AclsByObjectIdentityMapping
to locate the
individual ACL entriesaclObjectIdentity
- the object identity of the domain object
instanceaclObjectParentIdentity
- the object identity of the domain
object instance's parentaclClass
- the class of which a new instance which should be
created for each individual ACL entry (or an inheritence
"holder" class if there are no ACL entries)Method Detail |
---|
public Class getAclClass()
public AclObjectIdentity getAclObjectIdentity()
public AclObjectIdentity getAclObjectParentIdentity()
public long getForeignKeyId()
public int getMask()
public Object getRecipient()
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |