public class ImportVmCommand<T extends ImportVmParameters> extends MoveOrCopyTemplateCommand<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
macAdded |
DesktopsInStoragePoolQuery, UpVdssInCluster, UpVdssInStoragePoolQueryBYTES_IN_GB| Modifier | Constructor and Description |
|---|---|
protected |
ImportVmCommand(Guid commandId) |
|
ImportVmCommand(T parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AddVmNetwork() |
protected void |
AddVmStatic() |
protected boolean |
canDoAction() |
protected boolean |
CheckTemplateInStorageDomain() |
protected void |
EndImportCommand() |
protected void |
EndSuccessfully() |
protected void |
EndWithFailure() |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
static HashMap<String,ArrayList<DiskImage>> |
GetImagesLeaf(ArrayList<DiskImage> images) |
protected StorageDomainStaticDAO |
getStorageDomainStaticDAO() |
protected void |
MoveOrCopyAllImageGroups() |
protected void |
MoveOrCopyAllImageGroups(Guid containerID,
Iterable<DiskImage> disks) |
protected void |
RemoveVmNetwork() |
protected boolean |
UpdateVmImSpm() |
CheckIfDisksExist, EndActionOnAllImageGroups, EndMoveOrCopyCommand, getBackend, getImagesActionType, getMoveOrCopyImageOperation, getSourceDomain, getTemplateDisks, SetSourceDomainId, UpdateTemplateInSpmcanDetachDomain, changeStorageDomainStatusInTransaction, CheckMasterDomainIsUp, CheckStorageConnection, CheckStorageDomain, checkStorageDomainInDb, CheckStorageDomainNameLengthValid, CheckStorageDomainNotInPool, checkStorageDomainStatus, CheckStorageDomainStatusNotEqual, ConnectAllHostsToPool, DiconnectAllHostsInPool, electNewMaster, getPermissionCheckSubjects, getStorageDomainId, getStoragePool, isDetachAllowed, IsDomainActive, IsDomainActive, isNotLocalData, ProceedLUNInDb, RefreshAllVdssInPool, SetStorageDomainStatusCalcStoragePoolStatusByDomainsStatus, checkDomainCanBeAttached, checkStorageDomainSharedStatusNotLocked, checkStorageDomainType, CheckStoragePool, CheckStoragePoolNameLengthValid, CheckStoragePoolStatus, CheckStoragePoolStatusNotEqual, getAllRunningVdssInPool, GetAllRunningVdssInPool, getMasterDomainIdFromDb, getSupportedStorageFormatSet, InitializeVds, isStorageDomainFormatCorrectForPool, isStorageDomainNotInPool, isStorageDomainNotNull, isStorageDomainTypeCorrect, runSynchronizeOperation, updateStoragePoolInDiffTransactionacquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, 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, validateInputsAddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, 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, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutpublic ImportVmCommand(T parameters)
protected ImportVmCommand(Guid commandId)
protected boolean canDoAction()
canDoAction in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>protected StorageDomainStaticDAO getStorageDomainStaticDAO()
protected boolean CheckTemplateInStorageDomain()
protected void executeCommand()
executeCommand in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>protected void MoveOrCopyAllImageGroups()
MoveOrCopyAllImageGroups in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>protected void MoveOrCopyAllImageGroups(Guid containerID, Iterable<DiskImage> disks)
MoveOrCopyAllImageGroups in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>public static HashMap<String,ArrayList<DiskImage>> GetImagesLeaf(ArrayList<DiskImage> images)
protected void AddVmStatic()
protected void AddVmNetwork()
protected void EndSuccessfully()
EndSuccessfully in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>protected void EndWithFailure()
EndWithFailure in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>protected void RemoveVmNetwork()
protected void EndImportCommand()
protected boolean UpdateVmImSpm()
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue in class MoveOrCopyTemplateCommand<T extends ImportVmParameters>Copyright © 2012. All Rights Reserved.