public interface GroupAlertDefinitionManagerLocal
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId,
int[] resourcesIdsToAdd) |
int |
createGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition alertDefinition,
Integer resourceGroupId) |
int |
disableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
INTERNAL-USE-ONLY No permission checking performed.
|
int |
enableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
INTERNAL-USE-ONLY No permission checking performed.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.alert.AlertDefinition> |
findGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int resourceGroupId,
org.rhq.core.domain.util.PageControl pageControl)
Deprecated.
|
void |
purgeAllGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId) |
int |
removeGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
INTERNAL-USE-ONLY No permission checking performed.
|
void |
removeGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId,
Integer[] resourceIdsToRemove) |
org.rhq.core.domain.alert.AlertDefinition |
updateGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition groupAlertDefinition,
boolean resetMatching) |
@Deprecated org.rhq.core.domain.util.PageList<org.rhq.core.domain.alert.AlertDefinition> findGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject, int resourceGroupId, org.rhq.core.domain.util.PageControl pageControl)
int createGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition alertDefinition,
Integer resourceGroupId)
throws InvalidAlertDefinitionException,
AlertDefinitionCreationException
int removeGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
AlertDefinitionManagerRemote.removeAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.subject - groupAlertDefinitionIds - int enableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
AlertDefinitionManagerRemote.enableAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.subject - groupAlertDefinitionIds - int disableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
AlertDefinitionManagerRemote.disableAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.subject - groupAlertDefinitionIds - org.rhq.core.domain.alert.AlertDefinition updateGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition groupAlertDefinition,
boolean resetMatching)
throws InvalidAlertDefinitionException,
AlertDefinitionUpdateException
subject - groupAlertDefinition - resetMatching - Incur the overhead of resetting any partial alert matching that has taken place. This *must*
be set true if updating conditions, dampening rules or the conditionExpressin (ANY vs ALL). If in doubt, set to true
as the loss of partial matching is better than corrupted matching.InvalidAlertDefinitionExceptionAlertDefinitionUpdateExceptionvoid addGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId,
int[] resourcesIdsToAdd)
throws AlertDefinitionCreationException
AlertDefinitionCreationExceptionvoid removeGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId,
Integer[] resourceIdsToRemove)
void purgeAllGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int groupId)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.