Class AbstractSetStateCmd

    • Field Detail

      • includeSubResources

        protected boolean includeSubResources
      • isLogUserOperationDisabled

        protected boolean isLogUserOperationDisabled
      • executionDate

        protected Date executionDate
    • Constructor Detail

      • AbstractSetStateCmd

        public AbstractSetStateCmd​(boolean includeSubResources,
                                   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 String getDelayedExecutionJobHandlerType()
      • getDeploymentId

        protected 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 String getLogEntryOperation()
      • getNewSuspensionState

        protected abstract SuspensionState getNewSuspensionState()
      • getDeploymentIdByProcessDefinition

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

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

        protected String getDeploymentIdByJobDefinition​(CommandContext commandContext,
                                                        String jobDefinitionId)