public class AddExistingSANStorageDomainCommand<T extends AddSANStorageDomainParameters> extends AddSANStorageDomainCommand<T>
DesktopsInStoragePoolQuery, UpVdssInCluster, UpVdssInStoragePoolQuery
BYTES_IN_GB, log
Modifier | Constructor and Description |
---|---|
protected |
AddExistingSANStorageDomainCommand(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
AddExistingSANStorageDomainCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
CanAddDomain() |
protected boolean |
ConcreteCheckExistingStorageDomain(Pair<storage_domain_static,SANState> domainFromIrs) |
protected void |
executeCommand() |
ProceedVGLunsInDb
AddStorageDomainInDb, AddStorageDomainInIrs, canDoAction, CheckExistingStorageDomain, getAuditLogTypeValue, getPermissionCheckSubjects, getStorageArgs, getValidationGroups, InitializeStorageDomain, UpdateStorageDomainDynamicFromIrs
getStorageDomain, IsStorageWithSameNameExists
canDetachDomain, changeStorageDomainStatusInTransaction, CheckMasterDomainIsUp, CheckStorageConnection, CheckStorageDomain, checkStorageDomainInDb, CheckStorageDomainNameLengthValid, CheckStorageDomainNotInPool, checkStorageDomainStatus, CheckStorageDomainStatusNotEqual, ConnectAllHostsToPool, DiconnectAllHostsInPool, electNewMaster, getStorageDomainId, getStoragePool, isDetachAllowed, IsDomainActive, IsDomainActive, isNotLocalData, ProceedLUNInDb, RefreshAllVdssInPool, SetStorageDomainStatus
CalcStoragePoolStatusByDomainsStatus, checkDomainCanBeAttached, checkStorageDomainSharedStatusNotLocked, checkStorageDomainType, CheckStoragePool, CheckStoragePoolNameLengthValid, CheckStoragePoolStatus, CheckStoragePoolStatusNotEqual, getAllRunningVdssInPool, GetAllRunningVdssInPool, getMasterDomainIdFromDb, 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, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomainDAO, getStorageDomainName, 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
protected AddExistingSANStorageDomainCommand(Guid commandId)
commandId
- public AddExistingSANStorageDomainCommand(T parameters)
protected void executeCommand()
executeCommand
in class AddSANStorageDomainCommand<T extends AddSANStorageDomainParameters>
protected boolean CanAddDomain()
CanAddDomain
in class AddSANStorageDomainCommand<T extends AddSANStorageDomainParameters>
protected boolean ConcreteCheckExistingStorageDomain(Pair<storage_domain_static,SANState> domainFromIrs)
ConcreteCheckExistingStorageDomain
in class AddStorageDomainCommand<T extends AddSANStorageDomainParameters>
Copyright © 2012. All Rights Reserved.