Class 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.PdoProvider<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 Detail

      • SecurityDomainImpl

        public SecurityDomainImpl​(org.tentackle.security.pdo.Security pdo)
      • SecurityDomainImpl

        public SecurityDomainImpl()
    • Method Detail

      • getUniqueDomainKey

        public java.lang.Object getUniqueDomainKey()
        Specified by:
        getUniqueDomainKey in interface org.tentackle.pdo.DomainObject<org.tentackle.security.pdo.Security>
        Overrides:
        getUniqueDomainKey in class AbstractDomainObject<org.tentackle.security.pdo.Security,​SecurityDomainImpl>
      • findByUniqueDomainKey

        public org.tentackle.security.pdo.Security findByUniqueDomainKey​(java.lang.Object domainKey)
        Specified by:
        findByUniqueDomainKey in interface org.tentackle.pdo.DomainObject<org.tentackle.security.pdo.Security>
        Overrides:
        findByUniqueDomainKey in class AbstractDomainObject<org.tentackle.security.pdo.Security,​SecurityDomainImpl>
      • evaluate

        public boolean evaluate​(org.tentackle.pdo.DomainContext context,
                                org.tentackle.security.Permission permission)
        Specified by:
        evaluate in interface org.tentackle.security.pdo.SecurityDomain
      • securableToString

        public java.lang.String securableToString()
        Specified by:
        securableToString in interface org.tentackle.security.pdo.SecurityDomain
      • granteeToString

        public java.lang.String granteeToString()
        Specified by:
        granteeToString in interface org.tentackle.security.pdo.SecurityDomain
      • contextToString

        public java.lang.String contextToString()
        Specified by:
        contextToString in interface org.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