Class Statement
java.lang.Object
com.priint.pubserver.comet.entity.statement.Statement
- All Implemented Interfaces:
Serializable
Enumeration of all script and statement types.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Enum ClassId.static enumThe StatementDescriptor enumeration classifies several types of statements: ACTIONS (speaking in comet3 terms): the script id denotes the type of this statement, e.g.static enumThe Enum StatementType.static enumPolicies for creating / updating default scripts. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionClasses(boolean includeObsolete) Gets the action classes.static List<com.priint.pubserver.comet.entity.statement.Statement.ActionInfo>Gets the action infos.static List<Statement.StatementDescriptor>Gets the action types.static StringGets the HTML fragment.static List<Statement.StatementDescriptor>Gets the obsolete action types.getStatementDescriptorByClass(Class<?> scriptClass) Gets the statement descriptor by class.getStatementDescriptorByTypeIdOrClassId(int classId, int typeId) Get the statement descriptor for a (nearly) arbitrary script, such as layout rules, panel scripts, placeholder scripts etc.static voidThe main method.static StringShort info.
-
Field Details
-
CONFIGURATION_QUALIFIER
The Constant CONFIGURATION_QUALIFIER.- See Also:
-
CONFIGURATION_VERSION
The Constant CONFIGURATION_VERSION.- See Also:
-
NO_IDENTIFIER
The Constant NO_IDENTIFIER.- See Also:
-
-
Constructor Details
-
Statement
public Statement()
-
-
Method Details
-
getStatementDescriptorByTypeIdOrClassId
public static Statement.StatementDescriptor getStatementDescriptorByTypeIdOrClassId(int classId, int typeId) Get the statement descriptor for a (nearly) arbitrary script, such as layout rules, panel scripts, placeholder scripts etc.
You cannot use this method for configuration statements (as known as "panelstatements"), for these types use the getConfigurationStatementDescriptor method instead.
- Parameters:
classId- the class idtypeId- the type id- Returns:
- the statetment descriptor for this classId or typeId
-
getStatementDescriptorByClass
Gets the statement descriptor by class.- Parameters:
scriptClass- the script class- Returns:
- the statement descriptor by class
-
getActionClasses
Gets the action classes.- Parameters:
includeObsolete- the include obsolete- Returns:
- the action classes
-
getActionTypes
Gets the action types.- Returns:
- the action types
-
getObsoleteActionTypes
Gets the obsolete action types.- Returns:
- the obsolete action types
-
shortInfo
Short info.- Parameters:
sd- the sd- Returns:
- the string
-
main
The main method.- Parameters:
args- the arguments
-
getActionInfos
public static List<com.priint.pubserver.comet.entity.statement.Statement.ActionInfo> getActionInfos()Gets the action infos.- Returns:
- the action infos
-
getHTMLFragment
Gets the HTML fragment.- Returns:
- the HTML fragment
-