@DomainObjectService(value=org.tentackle.security.pdo.Security.class) public class SecurityDomainImpl extends AbstractDomainObject<Security,SecurityDomainImpl> implements SecurityDomain
| Constructor and Description |
|---|
SecurityDomainImpl() |
SecurityDomainImpl(Security pdo) |
| Modifier and Type | Method and Description |
|---|---|
String |
contextToString() |
boolean |
evaluate(DomainContext context,
Permission permission) |
Security |
findByUniqueDomainKey(Object domainKey) |
protected Class<? extends Permission>[] |
getPermissions()
Gets the permissions from the persistence object.
|
Object |
getUniqueDomainKey() |
String |
granteeToString() |
protected SecurityPersistence |
po()
Bypass the invocation handler.
|
String |
securableToString() |
assertRootEntity, clone, cloneDomainObject, getDomainContext, getEffectiveClass, getEffectiveSuperClasses, getPdo, getPersistenceDelegate, getPlural, getSession, getSingular, getUniqueDomainKeyType, isUniqueDomainKeyProvided, me, pdo, setPdo, setUniqueDomainKey, toGenericString, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloneDomainObject, getPlural, getSingular, getUniqueDomainKeyType, isUniqueDomainKeyProvided, pdo, setUniqueDomainKey, toGenericStringgetPersistenceDelegatemegetDomainContext, on, oppublic SecurityDomainImpl(Security pdo)
public SecurityDomainImpl()
public Object getUniqueDomainKey()
getUniqueDomainKey in interface DomainObject<Security>getUniqueDomainKey in class AbstractDomainObject<Security,SecurityDomainImpl>public Security findByUniqueDomainKey(Object domainKey)
findByUniqueDomainKey in interface DomainObject<Security>findByUniqueDomainKey in class AbstractDomainObject<Security,SecurityDomainImpl>public boolean evaluate(DomainContext context, Permission permission)
evaluate in interface SecurityDomainpublic String securableToString()
securableToString in interface SecurityDomainpublic String granteeToString()
granteeToString in interface SecurityDomainpublic String contextToString()
contextToString in interface SecurityDomainprotected Class<? extends Permission>[] getPermissions()
protected SecurityPersistence po()
Tentackle - distributed, domain- and model-driven