public interface GroupDefinitionManagerRemote
| Modifier and Type | Method and Description |
|---|---|
void |
calculateGroupMembership(org.rhq.core.domain.auth.Subject subject,
int groupDefinitionId)
Explicitly recalculates the group membership, depending on the GroupDefinition's expression.
|
org.rhq.core.domain.resource.group.GroupDefinition |
createGroupDefinition(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.resource.group.GroupDefinition newGroupDefinition)
Creates a new group definiton.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.GroupDefinition> |
findGroupDefinitionsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.ResourceGroupDefinitionCriteria criteria)
Fetches the group definitions based on provided criteria.
|
void |
removeGroupDefinition(org.rhq.core.domain.auth.Subject subject,
Integer groupDefinitionId)
Deletes the given group definition.
|
org.rhq.core.domain.resource.group.GroupDefinition |
updateGroupDefinition(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.resource.group.GroupDefinition updated)
Updates the given group definition.
|
org.rhq.core.domain.resource.group.GroupDefinition createGroupDefinition(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.resource.group.GroupDefinition newGroupDefinition)
throws GroupDefinitionAlreadyExistsException,
GroupDefinitionCreateException
subject - the user who is asking create the group definitionnewGroupDefinition - the object defining the group definitionGroupDefinitionGroupDefinitionAlreadyExistsExceptionGroupDefinitionCreateExceptionorg.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.GroupDefinition> findGroupDefinitionsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.ResourceGroupDefinitionCriteria criteria)
subject - the user who is asking to find the group definitionscriteria - the criteriaGroupDefinitionvoid removeGroupDefinition(org.rhq.core.domain.auth.Subject subject,
Integer groupDefinitionId)
throws GroupDefinitionNotFoundException,
GroupDefinitionDeleteException
subject - the user who is asking to remove the group definitiongroupDefinitionId - the id of a group definition to be deletedGroupDefinitionNotFoundExceptionGroupDefinitionDeleteExceptionorg.rhq.core.domain.resource.group.GroupDefinition updateGroupDefinition(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.resource.group.GroupDefinition updated)
throws GroupDefinitionAlreadyExistsException,
GroupDefinitionUpdateException,
org.rhq.core.domain.resource.group.InvalidExpressionException,
ResourceGroupUpdateException
subject - the user who is asking to update the group definitionupdated - the object defining the group definition to be changed (based on its id)GroupDefinitionAlreadyExistsExceptionGroupDefinitionUpdateExceptionorg.rhq.core.domain.resource.group.InvalidExpressionExceptionResourceGroupUpdateExceptionvoid calculateGroupMembership(org.rhq.core.domain.auth.Subject subject,
int groupDefinitionId)
throws ResourceGroupDeleteException,
GroupDefinitionDeleteException,
GroupDefinitionNotFoundException,
org.rhq.core.domain.resource.group.InvalidExpressionException
subject - the user who is asking to recalculate the group membershipgroupDefinitionId - the id of a group definition to be recalculatedResourceGroupDeleteExceptionGroupDefinitionDeleteExceptionGroupDefinitionNotFoundExceptionorg.rhq.core.domain.resource.group.InvalidExpressionExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.