Class CMSWorkflowCommentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSWorkflowCommentModel
    extends CommentModel
    Generated model class for type CMSWorkflowComment first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • DECISION

        public static final java.lang.String DECISION
        Generated constant - Attribute key of CMSWorkflowComment.decision attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSWorkflowCommentModel

        public CMSWorkflowCommentModel()
        Generated constructor - Default constructor for generic creation.
      • CMSWorkflowCommentModel

        public CMSWorkflowCommentModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CMSWorkflowCommentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSWorkflowCommentModel​(UserModel _author,
                                       CommentTypeModel _commentType,
                                       ComponentModel _component,
                                       java.lang.String _text)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _author - initial attribute declared by type AbstractComment at extension comments
        _commentType - initial attribute declared by type Comment at extension comments
        _component - initial attribute declared by type Comment at extension comments
        _text - initial attribute declared by type AbstractComment at extension comments
      • CMSWorkflowCommentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSWorkflowCommentModel​(UserModel _author,
                                       CommentTypeModel _commentType,
                                       ComponentModel _component,
                                       ItemModel _owner,
                                       java.lang.String _text)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _author - initial attribute declared by type AbstractComment at extension comments
        _commentType - initial attribute declared by type Comment at extension comments
        _component - initial attribute declared by type Comment at extension comments
        _owner - initial attribute declared by type Item at extension core
        _text - initial attribute declared by type AbstractComment at extension comments
    • Method Detail

      • getDecision

        @Accessor(qualifier="decision",
                  type=GETTER)
        public WorkflowDecisionModel getDecision()
        Generated method - Getter of the CMSWorkflowComment.decision attribute defined at extension cms2.
        Returns:
        the decision - Decision that generated a comment
      • setDecision

        @Accessor(qualifier="decision",
                  type=SETTER)
        public void setDecision​(WorkflowDecisionModel value)
        Generated method - Setter of CMSWorkflowComment.decision attribute defined at extension cms2.
        Parameters:
        value - the decision - Decision that generated a comment