Class AuthorityConnection

  • All Implemented Interfaces:
    IAuthorityConnection

    public class AuthorityConnection
    extends java.lang.Object
    implements IAuthorityConnection
    This is the implementation of the authority connection interface, which describes a paper object to be manipulated in order to create, edit, or save an authority definition.
    • Field Detail

      • isNew

        protected boolean isNew
      • name

        protected java.lang.String name
      • description

        protected java.lang.String description
      • className

        protected java.lang.String className
      • maxCount

        protected int maxCount
      • prerequisiteMapping

        protected java.lang.String prerequisiteMapping
      • authDomain

        protected java.lang.String authDomain
      • authGroup

        protected java.lang.String authGroup
    • Constructor Detail

      • AuthorityConnection

        public AuthorityConnection()
        Constructor.
    • Method Detail

      • duplicate

        public AuthorityConnection duplicate()
        Clone this object.
        Returns:
        the cloned object.
      • setIsNew

        public void setIsNew​(boolean isnew)
        Set 'isnew' condition.
        Specified by:
        setIsNew in interface IAuthorityConnection
        Parameters:
        isnew - true if this is a new instance.
      • getIsNew

        public boolean getIsNew()
        Get 'isnew' condition.
        Specified by:
        getIsNew in interface IAuthorityConnection
        Returns:
        true if this is a new connection, false otherwise.
      • setName

        public void setName​(java.lang.String name)
        Set name.
        Specified by:
        setName in interface IAuthorityConnection
        Parameters:
        name - is the name.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set description.
        Specified by:
        setDescription in interface IAuthorityConnection
        Parameters:
        description - is the description.
      • setClassName

        public void setClassName​(java.lang.String className)
        Set the class name.
        Specified by:
        setClassName in interface IAuthorityConnection
        Parameters:
        className - is the class name.
      • getClassName

        public java.lang.String getClassName()
        Get the class name.
        Specified by:
        getClassName in interface IAuthorityConnection
        Returns:
        the class name
      • setMaxConnections

        public void setMaxConnections​(int maxCount)
        Set the maximum size of the connection pool.
        Specified by:
        setMaxConnections in interface IAuthorityConnection
        Parameters:
        maxCount - is the maximum connection count per JVM.
      • getMaxConnections

        public int getMaxConnections()
        Get the maximum size of the connection pool.
        Specified by:
        getMaxConnections in interface IAuthorityConnection
        Returns:
        the maximum size.
      • setPrerequisiteMapping

        public void setPrerequisiteMapping​(java.lang.String mapping)
        Set the prerequisite mapper, if any.
        Specified by:
        setPrerequisiteMapping in interface IAuthorityConnection
        Parameters:
        mapping - is the name of the mapping connection to use to get the input user name, or null.
      • getPrerequisiteMapping

        public java.lang.String getPrerequisiteMapping()
        Get the prerequisite mapper, if any.
        Specified by:
        getPrerequisiteMapping in interface IAuthorityConnection
        Returns:
        the mapping connection name whose output should be used as the input user name.
      • setAuthDomain

        public void setAuthDomain​(java.lang.String domain)
        Set the authorization domain.
        Specified by:
        setAuthDomain in interface IAuthorityConnection
        Parameters:
        domain - is the authorization domain.
      • getAuthDomain

        public java.lang.String getAuthDomain()
        Get the authorization domain.
        Specified by:
        getAuthDomain in interface IAuthorityConnection
        Returns:
        the authorization domain.
      • setAuthGroup

        public void setAuthGroup​(java.lang.String groupName)
        Set authorization group.
        Specified by:
        setAuthGroup in interface IAuthorityConnection
        Parameters:
        groupName - is the name of the group.
      • getAuthGroup

        public java.lang.String getAuthGroup()
        Get the authorization group.
        Specified by:
        getAuthGroup in interface IAuthorityConnection
        Returns:
        the group.