public class AttachUserToVmFromPoolCommand<T extends VmPoolUserParameters> extends VmPoolUserCommandBase<T>
BYTES_IN_GB| Modifier | Constructor and Description |
|---|---|
protected |
AttachUserToVmFromPoolCommand(Guid commandId) |
|
AttachUserToVmFromPoolCommand(T parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDoAction() |
protected void |
DetachUserFromVmFromPool() |
protected void |
EndSuccessfully() |
protected void |
EndWithFailure() |
protected void |
executeCommand() |
Guid |
getAdUserId() |
Guid |
getVmId() |
protected NGuid |
getVmPoolId() |
void |
setVmId(Guid value) |
protected void |
setVmPoolId(NGuid value) |
initUsergetAdUserName, getDbUser, getDescription, setAdUserName, setDbUserCanAttacheVmToUser, CanRunPoolVm, getPermissionCheckSubjects, GetTagsAttachedToObject, getVmPool, getVmPoolName, GetVmToAttach, IsVmFree, setVmPoolacquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, 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, validateInputsAddCustomValue, 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, 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, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutprotected AttachUserToVmFromPoolCommand(Guid commandId)
public AttachUserToVmFromPoolCommand(T parameters)
protected boolean canDoAction()
canDoAction in class CommandBase<T extends VmPoolUserParameters>public Guid getVmId()
getVmId in class AuditLogableBasepublic void setVmId(Guid value)
setVmId in class AuditLogableBaseprotected NGuid getVmPoolId()
getVmPoolId in class VmPoolCommandBase<T extends VmPoolUserParameters>protected void setVmPoolId(NGuid value)
setVmPoolId in class VmPoolCommandBase<T extends VmPoolUserParameters>public Guid getAdUserId()
getAdUserId in class VmPoolSimpleUserCommandBase<T extends VmPoolUserParameters>protected void executeCommand()
executeCommand in class CommandBase<T extends VmPoolUserParameters>protected void EndSuccessfully()
EndSuccessfully in class CommandBase<T extends VmPoolUserParameters>protected void EndWithFailure()
EndWithFailure in class CommandBase<T extends VmPoolUserParameters>protected void DetachUserFromVmFromPool()
Copyright © 2012. All Rights Reserved.