protected final class JdbcDaoImpl.AclDetailsHolder extends Object
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 and Description |
---|
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)
|
AclDetailsHolder(Object recipient,
int mask)
Record details of an individual ACL entry (usually from the
ACL_PERMISSION table)
|
Modifier and Type | Method and Description |
---|---|
Class |
getAclClass() |
AclObjectIdentity |
getAclObjectIdentity() |
AclObjectIdentity |
getAclObjectParentIdentity() |
long |
getForeignKeyId() |
int |
getMask() |
Object |
getRecipient() |
public AclDetailsHolder(Object recipient, int mask)
recipient
- the recipientmask
- the integer to be maskedpublic 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)public Class getAclClass()
public AclObjectIdentity getAclObjectIdentity()
public AclObjectIdentity getAclObjectParentIdentity()
public long getForeignKeyId()
public int getMask()
public Object getRecipient()
Copyright © 2019. All rights reserved.