@CustomLogFields(value=@CustomLogField(value="Role")) public class RemoveAdGroupCommand<T extends AdElementParametersBase> extends AdGroupsHandlingCommandBase<T>
_tagBYTES_IN_GB, log| Modifier | Constructor and Description |
|---|---|
protected |
RemoveAdGroupCommand(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
RemoveAdGroupCommand(T parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDoAction() |
static boolean |
CanRemoveAdGroup(Guid groupId,
ArrayList<String> reasons) |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
getAdGroup, getAdGroupName, getDescription, getGroupId, getPermissionCheckSubjects, initAdGroupacquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputsAddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainId, getStorageDomainName, getStoragePool, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroup, getVdsGroupDAO, getVdsGroupId, getVdsGroupName, getVdsId, getVdsIdRef, getVdsName, getVm, getVmDAO, getVmId, getVmIdRef, getVmName, getVmStaticDAO, getVmStatisticsDAO, getVmTemplate, getVmTemplateDAO, getVmTemplateId, getVmTemplateIdRef, getVmTemplateName, log, setCurrentUser, setSnapshotName, setStorageDomain, setStorageDomainId, setStoragePool, setStoragePoolId, setUserId, setUserName, setVds, setVdsGroup, setVdsGroupId, setVdsId, setVdsIdRef, setVdsName, setVm, setVmId, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutprotected RemoveAdGroupCommand(Guid commandId)
commandId - public RemoveAdGroupCommand(T parameters)
protected void executeCommand()
executeCommand in class CommandBase<T extends AdElementParametersBase>public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue in class AuditLogableBaseprotected boolean canDoAction()
canDoAction in class CommandBase<T extends AdElementParametersBase>Copyright © 2012. All Rights Reserved.