public class OverUseMonitoring extends AbstractLangridService implements OverUseMonitorService
Constructor and Description |
---|
OverUseMonitoring() |
OverUseMonitoring(ServiceContext serviceContext) |
Modifier and Type | Method and Description |
---|---|
void |
clearOverUseLimits() |
void |
deleteOverUseUseLimit(String period,
String limitType) |
OverUseLimit[] |
listOverUseLimits(Order[] orders) |
OverUseStateSearchResult |
searchOverUseState(int startIndex,
int maxCount,
Calendar startDateTime,
Calendar endDateTime,
Order[] orders) |
void |
setOverUseLimit(String period,
String limitType,
int limitValue) |
adjustDateFieldName, adjustDateFieldName, convert, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertUserOrder, copyAttributes, copyAttributes, copyProperties, getAccessLimitDao, getAccessLogDao, getAccessRightDao, getAccessStateDao, getConverter, getCoreNodeUrl, getDaoContext, getDaoFactory, getDefaultGridId, getFederationDao, getGridDao, getGridId, getNodeDao, getOverUseLimitDao, getOverUseStateDao, getResourceDao, getServiceContext, getServiceDao, getServiceDeploymentDao, getServiceLogic, getSystemPropertyDao, getTargetServiceIds, getTemporaryUserDao, getUserChecker, getUserDao, getUserLogic, unsetFactory
public OverUseMonitoring()
public OverUseMonitoring(ServiceContext serviceContext)
@AccessRightValidatedMethod(policy=ADMINONLY) @TransactionMethod public void clearOverUseLimits() throws AccessLimitExceededException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
clearOverUseLimits
in interface OverUseMonitorService
AccessLimitExceededException
NoAccessPermissionException
ServiceConfigurationException
UnknownException
@AccessRightValidatedMethod(policy=ADMINONLY) @TransactionMethod @ValidatedMethod public OverUseLimit[] listOverUseLimits(@NotNull@EachElement@ValidOrder Order[] orders) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
listOverUseLimits
in interface OverUseMonitorService
AccessLimitExceededException
InvalidParameterException
NoAccessPermissionException
ServiceConfigurationException
UnknownException
@AccessRightValidatedMethod(policy=ADMINONLY) @TransactionMethod @ValidatedMethod public void setOverUseLimit(@NotEmpty@ValidEnum(value=Period.class) String period, @NotEmpty@ValidEnum(value=LimitType.class) String limitType, @IntNotNegative int limitValue) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
setOverUseLimit
in interface OverUseMonitorService
AccessLimitExceededException
InvalidParameterException
NoAccessPermissionException
ServiceConfigurationException
UnknownException
@AccessRightValidatedMethod(policy=ADMINONLY) @TransactionMethod @ValidatedMethod public void deleteOverUseUseLimit(@NotEmpty@ValidEnum(value=Period.class) String period, @NotEmpty@ValidEnum(value=LimitType.class) String limitType) throws AccessLimitExceededException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
deleteOverUseUseLimit
in interface OverUseMonitorService
AccessLimitExceededException
NoAccessPermissionException
ServiceConfigurationException
UnknownException
@AccessRightValidatedMethod(policy=ADMINONLY) @TransactionMethod @ValidatedMethod public OverUseStateSearchResult searchOverUseState(@IntNotNegative int startIndex, @IntInRange(minimum=0,maximum=100) int maxCount, @NotNull Calendar startDateTime, @NotNull Calendar endDateTime, @NotNull@EachElement@ValidOrder Order[] orders) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, UnknownException
searchOverUseState
in interface OverUseMonitorService
AccessLimitExceededException
InvalidParameterException
NoAccessPermissionException
ServiceConfigurationException
UnknownException