Class WorkflowRejectRequest

    • Method Detail

      • getTargetStage

        public String getTargetStage()
        Description copied from interface: TargetRelatedRequest
        The informational stage for which the transition is targeted.
        Specified by:
        getTargetStage in interface TargetRelatedRequest
        Returns:
        The informational stage for which the transition is targeted
      • getPromotionId

        public String getPromotionId()
      • getReceiver

        public String getReceiver()
        The admin user that should receive the rejected state. This field provides a avenue to override the default destination, which is the original author of the change. This field is useful in situations where a change is generated by the system and the determination of target user cannot be effectively deduced from the original change author.
      • setTargetSandboxId

        public void setTargetSandboxId​(String targetSandboxId)
        Description copied from interface: TargetRelatedRequest
        The id for the sandbox for which the transition is targeted.
        Specified by:
        setTargetSandboxId in interface TargetRelatedRequest
        Parameters:
        targetSandboxId - The id for the sandbox for which the transition is targeted
      • setTargetStage

        public void setTargetStage​(String targetStage)
        Description copied from interface: TargetRelatedRequest
        The informational stage for which the transition is targeted.
        Specified by:
        setTargetStage in interface TargetRelatedRequest
        Parameters:
        targetStage - The informational stage for which the transition is targeted
      • setReceiver

        public void setReceiver​(String receiver)
        The admin user that should receive the rejected state. This field provides a avenue to override the default destination, which is the original author of the change. This field is useful in situations where a change is generated by the system and the determination of target user cannot be effectively deduced from the original change author.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTransferTypeIdMap

        public Map<String,​String> getTransferTypeIdMap()
        Description copied from interface: TransitionRequest
        Get the IDs of the transition requested mapped by the TransferType. Could be the ids of a change summary, summary group, or deployment. A single summary could be one of a large group of changes or a deployment thereby leading to the map containing the ID of a the individual summary related to 1 set of changes being transitioned and the ID of the entire group. This is used to clean up state once all of the related transition requests have completed.
        Specified by:
        getTransferTypeIdMap in interface TransitionRequest
      • getSandboxId

        public String getSandboxId()
        Description copied from interface: TransitionRequest
        The id for the sandbox in which the originating item resides.
        Specified by:
        getSandboxId in interface TransitionRequest
        Returns:
        The id for the sandbox in which the originating item resides
      • getAuthor

        public String getAuthor()
        Description copied from interface: TransitionRequest
        The author of the promotion. This is useful when finding originating domain items in a user sandbox for promotion to a subsequent level. User sandbox changes are partially identified by their author.
        Specified by:
        getAuthor in interface TransitionRequest
        Returns:
        The author of the promotion
      • getEntity

        public String getEntity()
        Description copied from interface: TransitionRequest
        The entity's class name for this promotion.
        Specified by:
        getEntity in interface TransitionRequest
        Returns:
        The entity's class name for this promotion
      • getStage

        public String getStage()
        Description copied from interface: TransitionRequest
        The informational stage in which the originating item resides.
        Specified by:
        getStage in interface TransitionRequest
        Returns:
        The informational stage in which the originating item resides.
      • getMessage

        public String getMessage()
        Description copied from interface: TransitionRequest
        A user defined message to go along with the state transition. This is generally descriptive of the purpose served by the transition.
        Specified by:
        getMessage in interface TransitionRequest
        Returns:
        A user defined message to go along with the state transition
      • getToken

        public String getToken()
        Specified by:
        getToken in interface com.broadleafcommerce.common.messaging.Securable
      • setRouteKey

        public void setRouteKey​(String routeKey)
      • setEntity

        public void setEntity​(String entity)
      • setStage

        public void setStage​(String stage)
        Description copied from interface: TransitionRequest
        The informational stage in which the originating item resides.
        Specified by:
        setStage in interface TransitionRequest
        Parameters:
        stage - The informational stage in which the originating item resides.
      • setVisibleFromCatalog

        public void setVisibleFromCatalog​(Set<String> visibleFromCatalog)
        Description copied from interface: TransitionRequest
        Context list of the contextIds for the deep catalog tree parenting the TransitionRequest.getCatalogId(). This is not a value that is generally populated via JSON. Rather, this variable is generally calculated via lookup of catalog using catalogId. This is helpful for identifying inherited targets during a promotion.
        Specified by:
        setVisibleFromCatalog in interface TransitionRequest
        Parameters:
        visibleFromCatalog - list of the contextIds for the deep catalog tree parenting the TransitionRequest.getCatalogId()
      • setMessage

        public void setMessage​(String message)
        Description copied from interface: TransitionRequest
        A user defined message to go along with the state transition. This is generally descriptive of the purpose served by the transition.
        Specified by:
        setMessage in interface TransitionRequest
        Parameters:
        message - A user defined message to go along with the state transition
      • setToken

        public void setToken​(String token)
        Specified by:
        setToken in interface com.broadleafcommerce.common.messaging.Securable