public abstract class AbstractSetStateCmd extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected Date |
executionDate |
protected boolean |
includeSubResources |
protected boolean |
isLogUserOperationDisabled |
protected static String |
SUSPENSION_STATE_PROPERTY |
Constructor and Description |
---|
AbstractSetStateCmd(boolean includeSubResources,
Date executionDate) |
protected static final String SUSPENSION_STATE_PROPERTY
protected boolean includeSubResources
protected boolean isLogUserOperationDisabled
protected Date executionDate
public AbstractSetStateCmd(boolean includeSubResources, Date executionDate)
public Void execute(CommandContext commandContext)
protected void triggerHistoryEvent(CommandContext commandContext)
public void disableLogUserOperation()
protected boolean isLogUserOperationDisabled()
protected boolean isIncludeSubResources()
protected void scheduleSuspensionStateUpdate(CommandContext commandContext)
protected String getDelayedExecutionJobHandlerType()
protected JobHandlerConfiguration getJobHandlerConfiguration()
protected AbstractSetStateCmd getNextCommand()
protected abstract void checkAuthorization(CommandContext commandContext)
protected abstract void checkParameters(CommandContext commandContext)
protected abstract void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
protected abstract void logUserOperation(CommandContext commandContext)
protected abstract String getLogEntryOperation()
protected abstract SuspensionState getNewSuspensionState()
Copyright © 2020. All rights reserved.