public class ImportVmTemplateCommand<T extends ImprotVmTemplateParameters> extends MoveOrCopyTemplateCommand<T>
DesktopsInStoragePoolQuery, UpVdssInCluster, UpVdssInStoragePoolQuery
BYTES_IN_GB
Modifier | Constructor and Description |
---|---|
protected |
ImportVmTemplateCommand(Guid commandId) |
|
ImportVmTemplateCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
AddVmInterfaces() |
protected void |
AddVmTemplateToDb() |
protected boolean |
canDoAction() |
protected void |
EndMoveOrCopyCommand() |
protected void |
EndWithFailure() |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
protected StorageDomainStaticDAO |
getStorageDomainStaticDAO() |
protected void |
MoveOrCopyAllImageGroups(Guid containerID,
Iterable<DiskImage> disks) |
protected void |
RemoveImages() |
protected void |
RemoveNetwork() |
protected void |
UpdateTemplateInSpm() |
CheckIfDisksExist, EndActionOnAllImageGroups, EndSuccessfully, getBackend, getImagesActionType, getMoveOrCopyImageOperation, getSourceDomain, getTemplateDisks, MoveOrCopyAllImageGroups, SetSourceDomainId
canDetachDomain, changeStorageDomainStatusInTransaction, CheckMasterDomainIsUp, CheckStorageConnection, CheckStorageDomain, checkStorageDomainInDb, CheckStorageDomainNameLengthValid, CheckStorageDomainNotInPool, checkStorageDomainStatus, CheckStorageDomainStatusNotEqual, ConnectAllHostsToPool, DiconnectAllHostsInPool, electNewMaster, getPermissionCheckSubjects, 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, 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, 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
public ImportVmTemplateCommand(T parameters)
protected ImportVmTemplateCommand(Guid commandId)
protected boolean canDoAction()
canDoAction
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
protected StorageDomainStaticDAO getStorageDomainStaticDAO()
protected void executeCommand()
executeCommand
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
protected void MoveOrCopyAllImageGroups(Guid containerID, Iterable<DiskImage> disks)
MoveOrCopyAllImageGroups
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
protected void AddVmTemplateToDb()
protected void AddVmInterfaces()
protected void EndMoveOrCopyCommand()
EndMoveOrCopyCommand
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
protected void RemoveNetwork()
protected void RemoveImages()
protected void EndWithFailure()
EndWithFailure
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
protected void UpdateTemplateInSpm()
UpdateTemplateInSpm
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class MoveOrCopyTemplateCommand<T extends ImprotVmTemplateParameters>
Copyright © 2012. All Rights Reserved.