Class AbstractSetStateCmd

    • Field Detail

      • SUSPENSION_STATE_PROPERTY

        protected static final java.lang.String SUSPENSION_STATE_PROPERTY
        See Also:
        Constant Field Values
      • includeSubResources

        protected boolean includeSubResources
      • isLogUserOperationDisabled

        protected boolean isLogUserOperationDisabled
      • executionDate

        protected java.util.Date executionDate
    • Constructor Detail

      • AbstractSetStateCmd

        public AbstractSetStateCmd​(boolean includeSubResources,
                                   java.util.Date executionDate)
    • Method Detail

      • triggerHistoryEvent

        protected void triggerHistoryEvent​(CommandContext commandContext)
      • disableLogUserOperation

        public void disableLogUserOperation()
      • isLogUserOperationDisabled

        protected boolean isLogUserOperationDisabled()
      • isIncludeSubResources

        protected boolean isIncludeSubResources()
      • scheduleSuspensionStateUpdate

        protected void scheduleSuspensionStateUpdate​(CommandContext commandContext)
      • getDelayedExecutionJobHandlerType

        protected java.lang.String getDelayedExecutionJobHandlerType()
      • getDeploymentId

        protected java.lang.String getDeploymentId​(CommandContext commandContext)
        Returns:
        the id of the associated deployment, only necessary if the command can potentially be executed in a scheduled way (i.e. if an executionDate can be set) so the job executor responsible for that deployment can execute the resulting job
      • checkAuthorization

        protected abstract void checkAuthorization​(CommandContext commandContext)
      • checkParameters

        protected abstract void checkParameters​(CommandContext commandContext)
      • logUserOperation

        protected abstract void logUserOperation​(CommandContext commandContext)
      • getLogEntryOperation

        protected abstract java.lang.String getLogEntryOperation()
      • getNewSuspensionState

        protected abstract SuspensionState getNewSuspensionState()
      • getDeploymentIdByProcessDefinition

        protected java.lang.String getDeploymentIdByProcessDefinition​(CommandContext commandContext,
                                                                      java.lang.String processDefinitionId)
      • getDeploymentIdByProcessDefinitionKey

        protected java.lang.String getDeploymentIdByProcessDefinitionKey​(CommandContext commandContext,
                                                                         java.lang.String processDefinitionKey,
                                                                         boolean tenantIdSet,
                                                                         java.lang.String tenantId)
      • getDeploymentIdByJobDefinition

        protected java.lang.String getDeploymentIdByJobDefinition​(CommandContext commandContext,
                                                                  java.lang.String jobDefinitionId)