- java.lang.Object
-
- org.tentackle.domain.AbstractDomainObject<org.tentackle.security.pdo.Security,SecurityDomainImpl>
-
- org.tentackle.domain.security.SecurityDomainImpl
-
- All Implemented Interfaces:
java.io.Serializable,org.tentackle.pdo.DomainContextProvider,org.tentackle.pdo.DomainDelegate<org.tentackle.security.pdo.Security>,org.tentackle.pdo.DomainObject<org.tentackle.security.pdo.Security>,org.tentackle.pdo.PdoHolder<org.tentackle.security.pdo.Security>,org.tentackle.pdo.ProxyDelegate<org.tentackle.security.pdo.Security>,org.tentackle.reflect.EffectiveClassProvider<org.tentackle.security.pdo.Security>,org.tentackle.reflect.Interceptable,org.tentackle.security.pdo.SecurityDomain,org.tentackle.session.SessionProvider
@DomainObjectService(org.tentackle.security.pdo.Security.class) public class SecurityDomainImpl extends AbstractDomainObject<org.tentackle.security.pdo.Security,SecurityDomainImpl> implements org.tentackle.security.pdo.SecurityDomain
Security domain implementation.- Author:
- harald
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityDomainImpl()SecurityDomainImpl(org.tentackle.security.pdo.Security pdo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcontextToString()booleanevaluate(org.tentackle.pdo.DomainContext context, org.tentackle.security.Permission permission)org.tentackle.security.pdo.SecurityfindByUniqueDomainKey(java.lang.Object domainKey)protected java.lang.Class<? extends org.tentackle.security.Permission>[]getPermissions()Gets the permissions from the persistence object.java.lang.ObjectgetUniqueDomainKey()java.lang.StringgranteeToString()protected org.tentackle.security.pdo.SecurityPersistencepo()Bypass the invocation handler.java.lang.StringsecurableToString()-
Methods inherited from class org.tentackle.domain.AbstractDomainObject
assertRootEntity, getDomainContext, getEffectiveClass, getEffectiveSuperClasses, getPdo, getPersistenceDelegate, getPlural, getSession, getSingular, getUniqueDomainKeyType, isUniqueDomainKeyProvided, me, setPdo, setUniqueDomainKey, toGenericString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getUniqueDomainKey
public java.lang.Object getUniqueDomainKey()
- Specified by:
getUniqueDomainKeyin interfaceorg.tentackle.pdo.DomainObject<org.tentackle.security.pdo.Security>- Overrides:
getUniqueDomainKeyin classAbstractDomainObject<org.tentackle.security.pdo.Security,SecurityDomainImpl>
-
findByUniqueDomainKey
public org.tentackle.security.pdo.Security findByUniqueDomainKey(java.lang.Object domainKey)
- Specified by:
findByUniqueDomainKeyin interfaceorg.tentackle.pdo.DomainObject<org.tentackle.security.pdo.Security>- Overrides:
findByUniqueDomainKeyin classAbstractDomainObject<org.tentackle.security.pdo.Security,SecurityDomainImpl>
-
evaluate
public boolean evaluate(org.tentackle.pdo.DomainContext context, org.tentackle.security.Permission permission)- Specified by:
evaluatein interfaceorg.tentackle.security.pdo.SecurityDomain
-
securableToString
public java.lang.String securableToString()
- Specified by:
securableToStringin interfaceorg.tentackle.security.pdo.SecurityDomain
-
granteeToString
public java.lang.String granteeToString()
- Specified by:
granteeToStringin interfaceorg.tentackle.security.pdo.SecurityDomain
-
contextToString
public java.lang.String contextToString()
- Specified by:
contextToStringin interfaceorg.tentackle.security.pdo.SecurityDomain
-
getPermissions
protected java.lang.Class<? extends org.tentackle.security.Permission>[] getPermissions()
Gets the permissions from the persistence object.- Returns:
- the permissions
-
po
protected org.tentackle.security.pdo.SecurityPersistence po()
Bypass the invocation handler.- Returns:
- the persistence delegate
-
-