public class UpdateVmTemplateCommand<T extends UpdateVmTemplateParameters> extends VmTemplateCommand<T>
mVmTemplateDescription
BYTES_IN_GB, log
Constructor and Description |
---|
UpdateVmTemplateCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDoAction() |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
protected List<Class<?>> |
getValidationGroups() |
protected void |
setActionMessageParameters()
Set the parameters for bll messages (such as type and action).
|
getDescription, getPermissionCheckSubjects, IsDomainLegal, IsVmPriorityValueLegal, isVmTemlateWithSameNameExist, isVmTemplateImagesReady, RemoveNetwork, RemoveTemplateInSpm, RemoveTemplateInSpm, UpdateTemplateInSpm, UpdateTemplateInSpm
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, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, 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 UpdateVmTemplateCommand(T parameters)
protected boolean canDoAction()
canDoAction
in class CommandBase<T extends UpdateVmTemplateParameters>
protected void executeCommand()
executeCommand
in class VmTemplateCommand<T extends UpdateVmTemplateParameters>
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class AuditLogableBase
protected List<Class<?>> getValidationGroups()
getValidationGroups
in class CommandBase<T extends UpdateVmTemplateParameters>
protected void setActionMessageParameters()
CommandBase
setActionMessageParameters
in class CommandBase<T extends UpdateVmTemplateParameters>
Copyright © 2012. All Rights Reserved.