Class CometLoginScript

  • All Implemented Interfaces:
    java.io.Serializable

    public class CometLoginScript
    extends CometScript

    Java class for the Login Script configuration type

    .
    See Also:
    Serialized Form
    • Constructor Detail

      • CometLoginScript

        public CometLoginScript()
        Instantiates a new comet login script.
      • CometLoginScript

        public CometLoginScript​(Statement.StatementDescriptor type)
        Instantiates a new comet login script.
        Parameters:
        type - the type
    • Method Detail

      • getRepositoryFilename

        public java.lang.String getRepositoryFilename()
                                               throws CometException
        Description copied from class: CometEntity

        Gets the repository filename for this particular item

        This method MUST be overridden by classes extending CometEntity

        Overrides:
        getRepositoryFilename in class CometEntity
        Returns:
        the repository filename of this particular item
        Throws:
        CometException - the comet exception
      • getRepositoryPath

        public java.lang.String getRepositoryPath()
                                           throws CometException
        Description copied from class: CometEntity

        Get the relative repository path for this configuration type.

        This method MUST be overridden by classes extending CometEntity.

        Overrides:
        getRepositoryPath in class CometEntity
        Returns:
        relative repository path
        Throws:
        CometException - the comet exception
      • isAction

        public boolean isAction()
        Description copied from class: CometScript
        Checks if is action.
        Overrides:
        isAction in class CometScript
        Returns:
        true, if is action
      • setSubject

        public void setSubject​(CometLoginScript.Subject subject)
        Sets the subject. If subject cannot be null.
        Parameters:
        subject - the new subject
      • setId

        public void setId​(int id)
        Description copied from class: CometEntity
        Sets id.
        Overrides:
        setId in class CometEntity
        Parameters:
        id - the id
      • getId

        public int getId()
        Description copied from class: CometEntity
        Gets id.
        Overrides:
        getId in class CometEntity
        Returns:
        the id