public class DetachUserFromVmFromPoolCommand<T extends VmPoolSimpleUserParameters> extends VmPoolSimpleUserCommandBase<T>
BYTES_IN_GB, log
Modifier | Constructor and Description |
---|---|
protected |
DetachUserFromVmFromPoolCommand(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
DetachUserFromVmFromPoolCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
DetachAllVmsFromUser() |
protected void |
executeCommand() |
protected boolean |
IsUserAttachedToPool() |
getAdUserId, getAdUserName, getDbUser, getDescription, setAdUserName, setDbUser
CanAttacheVmToUser, CanRunPoolVm, getPermissionCheckSubjects, GetTagsAttachedToObject, getVmPool, getVmPoolId, getVmPoolName, GetVmToAttach, IsVmFree, setVmPool, setVmPoolId
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, canDoAction, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, AppendCustomValue, DefaultLog, getAuditLogTypeValue, 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
protected DetachUserFromVmFromPoolCommand(Guid commandId)
commandId
- public DetachUserFromVmFromPoolCommand(T parameters)
protected boolean IsUserAttachedToPool()
protected void DetachAllVmsFromUser()
protected void executeCommand()
executeCommand
in class CommandBase<T extends VmPoolSimpleUserParameters>
Copyright © 2012. All Rights Reserved.