public class RemoveVmPoolCommand<T extends VmPoolParametersBase> extends VmPoolCommandBase<T>
BYTES_IN_GB, log
Constructor and Description |
---|
RemoveVmPoolCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDoAction() |
static boolean |
CanRemoveVmPool(NGuid vmPoolId,
ArrayList<String> reasons) |
static boolean |
CanRemoveVmPoolWithoutReasons(NGuid vmPoolId) |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
CanAttacheVmToUser, CanRunPoolVm, getDescription, getPermissionCheckSubjects, GetTagsAttachedToObject, getVmPool, getVmPoolId, getVmPoolName, GetVmToAttach, IsVmFree, setVmPool, setVmPoolId
acquireLock, 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, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, 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, setVmTemplateName
getEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimout
public RemoveVmPoolCommand(T parameters)
protected boolean canDoAction()
canDoAction
in class CommandBase<T extends VmPoolParametersBase>
protected void executeCommand()
executeCommand
in class CommandBase<T extends VmPoolParametersBase>
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class AuditLogableBase
public static boolean CanRemoveVmPoolWithoutReasons(NGuid vmPoolId)
Copyright © 2012. All Rights Reserved.