Class CometLoginScript
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.statement.CometStatement
-
- com.priint.pubserver.comet.entity.statement.CometScript
-
- com.priint.pubserver.comet.entity.event.CometLoginScript
-
- All Implemented Interfaces:
java.io.Serializable
public class CometLoginScript extends CometScript
Java class for the Login Script configuration type
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometLoginScript.SubjectThe Enum Subject: LOGIN_UNKNOWN, LOGIN_SCRIPT, ALLOW_LOGIN-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.statement.CometScript
CometScript.FrontRowLink
-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
-
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometLoginScript()Instantiates a new comet login script.CometLoginScript(Statement.StatementDescriptor type)Instantiates a new comet login script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Gets id.java.lang.StringgetRepositoryFilename()Gets the repository filename for this particular itemjava.lang.StringgetRepositoryPath()Get the relative repository path for this configuration type.CometLoginScript.SubjectgetSubject()Gets the subject.booleanisAction()Checks if is action.voidsetId(int id)Sets id.voidsetSubject(CometLoginScript.Subject subject)Sets the subject.voidsetTypeIdentifier(Statement.StatementDescriptor type)Sets the type identifier.-
Methods inherited from class com.priint.pubserver.comet.entity.statement.CometScript
getFrontRowLink, getHierarchy, getInput, getOutput, getScriptEnvironment, getShortcut, getStatement, getTag, isActive, setActive, setFrontRowLink, setHierarchy, setInput, setOutput, setShortcut, setStatement, setTag
-
Methods inherited from class com.priint.pubserver.comet.entity.statement.CometStatement
getDescription, getEntityId, getLabel, getSequence, getTypeIdentifier, setDescription, setEntityId, setLabel, setSequence
-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
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 CometExceptionDescription copied from class:CometEntityGets the repository filename for this particular item
This method MUST be overridden by classes extending CometEntity
- Overrides:
getRepositoryFilenamein classCometEntity- Returns:
- the repository filename of this particular item
- Throws:
CometException- the comet exception
-
getRepositoryPath
public java.lang.String getRepositoryPath() throws CometExceptionDescription copied from class:CometEntityGet the relative repository path for this configuration type.
This method MUST be overridden by classes extending CometEntity.
- Overrides:
getRepositoryPathin classCometEntity- Returns:
- relative repository path
- Throws:
CometException- the comet exception
-
setTypeIdentifier
public void setTypeIdentifier(Statement.StatementDescriptor type)
Description copied from class:CometStatementSets the type identifier.- Overrides:
setTypeIdentifierin classCometStatement- Parameters:
type- the new type identifier
-
isAction
public boolean isAction()
Description copied from class:CometScriptChecks if is action.- Overrides:
isActionin classCometScript- Returns:
- true, if is action
-
getSubject
public CometLoginScript.Subject getSubject()
Gets the subject.- Returns:
- the subject
-
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:CometEntitySets id.- Overrides:
setIdin classCometEntity- Parameters:
id- the id
-
getId
public int getId()
Description copied from class:CometEntityGets id.- Overrides:
getIdin classCometEntity- Returns:
- the id
-
-