public class GroupAlertDefinitionManagerBean extends Object implements GroupAlertDefinitionManagerLocal
| Constructor and Description |
|---|
GroupAlertDefinitionManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int resourceGroupId,
int[] addedResourceIds) |
int |
createGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition groupAlertDefinition,
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 resourceGroupId) |
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 resourceGroupId,
Integer[] removedResourceIds) |
org.rhq.core.domain.alert.AlertDefinition |
updateGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition groupAlertDefinition,
boolean resetMatching) |
@Deprecated public 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)
findGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalpublic int removeGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
GroupAlertDefinitionManagerLocalAlertDefinitionManagerRemote.removeAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.removeGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalpublic int createGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.alert.AlertDefinition groupAlertDefinition,
Integer resourceGroupId)
throws InvalidAlertDefinitionException,
AlertDefinitionCreationException
createGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalInvalidAlertDefinitionExceptionAlertDefinitionCreationExceptionpublic int disableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
GroupAlertDefinitionManagerLocalAlertDefinitionManagerRemote.disableAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.disableGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalpublic int enableGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
Integer[] groupAlertDefinitionIds)
GroupAlertDefinitionManagerLocalAlertDefinitionManagerRemote.enableAlertDefinitions(Subject, int[]) for full authz and
handling of different levels of alert def types.enableGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalpublic 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
updateGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalresetMatching - 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.InvalidAlertDefinitionExceptionAlertDefinitionUpdateExceptionpublic void addGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int resourceGroupId,
int[] addedResourceIds)
throws AlertDefinitionCreationException
addGroupMemberAlertDefinitions in interface GroupAlertDefinitionManagerLocalAlertDefinitionCreationExceptionpublic void purgeAllGroupAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int resourceGroupId)
purgeAllGroupAlertDefinitions in interface GroupAlertDefinitionManagerLocalpublic void removeGroupMemberAlertDefinitions(org.rhq.core.domain.auth.Subject subject,
int resourceGroupId,
Integer[] removedResourceIds)
removeGroupMemberAlertDefinitions in interface GroupAlertDefinitionManagerLocalCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.