Class CMSWorkflowCommentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • DECISION

      public static final String DECISION
      Generated constant - Attribute key of CMSWorkflowComment.decision attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • CMSWorkflowCommentModel

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

      public CMSWorkflowCommentModel(de.hybris.platform.servicelayer.model.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, 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, 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 Details

    • 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