public abstract class EventSubscriptionCommandBase<T extends EventSubscriptionParametesBase> extends AdminOperationCommandBase<T>
BYTES_IN_GB
Modifier | Constructor and Description |
---|---|
protected |
EventSubscriptionCommandBase(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ValidateAdd(List<event_notification_methods> event_notification_methods,
event_subscriber event_subscriber,
DbUser user)
Validates the notification method and tag.
|
protected boolean |
ValidateNotificationMethod(List<event_notification_methods> event_notification_methods,
event_subscriber event_subscriber,
DbUser user)
Validates the notification method.
|
protected boolean |
ValidateRemove(List<event_notification_methods> event_notification_methods,
event_subscriber event_subscriber,
DbUser user) |
protected boolean |
ValidateTag(String tagName)
Validates the tag.
|
protected static boolean |
ValidatMailAddress(String inputEmail)
Determines whether [is valid email] [the specified input email].
|
getPermissionCheckSubjects, IsUserAutorizedToRunAction
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, canDoAction, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, executeCommand, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getDescription, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, 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 EventSubscriptionCommandBase(T parameters)
protected boolean ValidateNotificationMethod(List<event_notification_methods> event_notification_methods, event_subscriber event_subscriber, DbUser user)
event_notification_methods
- The event_notification_methods.event_subscriber
- The event_subscriber.user
- The user.protected boolean ValidateAdd(List<event_notification_methods> event_notification_methods, event_subscriber event_subscriber, DbUser user)
event_notification_methods
- The event_notification_methods.event_subscriber
- The event_subscriber.user
- The user.protected boolean ValidateRemove(List<event_notification_methods> event_notification_methods, event_subscriber event_subscriber, DbUser user)
protected boolean ValidateTag(String tagName)
tagName
- Name of the tag.protected static boolean ValidatMailAddress(String inputEmail)
inputEmail
- The input email.Copyright © 2012. All Rights Reserved.