public class RemoveStoragePoolCommand<T extends StoragePoolParametersBase> extends StorageHandlingCommandBase<T>
DesktopsInStoragePoolQuery, UpVdssInCluster, UpVdssInStoragePoolQuery
BYTES_IN_GB
Modifier | Constructor and Description |
---|---|
protected |
RemoveStoragePoolCommand(Guid commandId) |
|
RemoveStoragePoolCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDoAction() |
protected void |
connectAllHostToPoolAndDomain(storage_domains masterDomain) |
protected void |
executeCommand() |
protected List<storage_domains> |
getActiveOrLockedDomainList(List<storage_domains> domainsList) |
AuditLogType |
getAuditLogTypeValue() |
protected boolean |
removeDomainFromPool(storage_domains storageDomain,
VDS vds) |
CalcStoragePoolStatusByDomainsStatus, checkDomainCanBeAttached, checkStorageDomainSharedStatusNotLocked, checkStorageDomainType, CheckStoragePool, CheckStoragePoolNameLengthValid, CheckStoragePoolStatus, CheckStoragePoolStatusNotEqual, getAllRunningVdssInPool, GetAllRunningVdssInPool, getMasterDomainIdFromDb, getPermissionCheckSubjects, getSupportedStorageFormatSet, InitializeVds, isStorageDomainFormatCorrectForPool, isStorageDomainNotInPool, isStorageDomainNotNull, isStorageDomainTypeCorrect, runSynchronizeOperation, updateStoragePoolInDiffTransaction
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getDescription, 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, 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 RemoveStoragePoolCommand(T parameters)
protected RemoveStoragePoolCommand(Guid commandId)
protected void executeCommand()
executeCommand
in class CommandBase<T extends StoragePoolParametersBase>
protected boolean removeDomainFromPool(storage_domains storageDomain, VDS vds)
protected boolean canDoAction()
canDoAction
in class CommandBase<T extends StoragePoolParametersBase>
protected List<storage_domains> getActiveOrLockedDomainList(List<storage_domains> domainsList)
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class AuditLogableBase
protected void connectAllHostToPoolAndDomain(storage_domains masterDomain)
masterDomain
- Connect all hosts to the pool and to the domainsCopyright © 2012. All Rights Reserved.