org.rhq.core.domain.resource.group
Class ResourceGroup
java.lang.Object
org.rhq.core.domain.resource.group.Group
org.rhq.core.domain.resource.group.ResourceGroup
- All Implemented Interfaces:
- Serializable
public class ResourceGroup
- extends Group
A Group
that contains Resource
s. It cannot contain other groups.
- See Also:
- Serialized Form
Methods inherited from class org.rhq.core.domain.resource.group.Group |
equals, getCtime, getDescription, getModifiedBy, getMtime, getName, hashCode, setCtime, setDescription, setModifiedBy, setMtime, setName |
QUERY_FIND_RESOURCE_GROUP_SUMMARY
public static final String QUERY_FIND_RESOURCE_GROUP_SUMMARY
- See Also:
- Constant Field Values
QUERY_FIND_RESOURCE_GROUP_SUMMARY_admin
public static final String QUERY_FIND_RESOURCE_GROUP_SUMMARY_admin
- See Also:
- Constant Field Values
QUERY_FIND_BY_NAME
public static final String QUERY_FIND_BY_NAME
- See Also:
- Constant Field Values
QUERY_FIND_BY_NAME_VISIBLE_GROUP
public static final String QUERY_FIND_BY_NAME_VISIBLE_GROUP
- See Also:
- Constant Field Values
QUERY_FIND_BY_CLUSTER_KEY
public static final String QUERY_FIND_BY_CLUSTER_KEY
- See Also:
- Constant Field Values
QUERY_GET_AVAILABLE_RESOURCE_GROUPS_FOR_ROLE_WITH_EXCLUDES
public static final String QUERY_GET_AVAILABLE_RESOURCE_GROUPS_FOR_ROLE_WITH_EXCLUDES
- See Also:
- Constant Field Values
QUERY_GET_AVAILABLE_RESOURCE_GROUPS_FOR_ROLE
public static final String QUERY_GET_AVAILABLE_RESOURCE_GROUPS_FOR_ROLE
- See Also:
- Constant Field Values
QUERY_GET_RESOURCE_GROUPS_ASSIGNED_TO_ROLE_admin
public static final String QUERY_GET_RESOURCE_GROUPS_ASSIGNED_TO_ROLE_admin
- See Also:
- Constant Field Values
QUERY_GET_RESOURCE_GROUPS_ASSIGNED_TO_ROLE
public static final String QUERY_GET_RESOURCE_GROUPS_ASSIGNED_TO_ROLE
- See Also:
- Constant Field Values
QUERY_FIND_BY_IDS_admin
public static final String QUERY_FIND_BY_IDS_admin
- See Also:
- Constant Field Values
QUERY_FIND_BY_IDS
public static final String QUERY_FIND_BY_IDS
- See Also:
- Constant Field Values
QUERY_FIND_IMPLICIT_RECURSIVE_GROUP_IDS_BY_RESOURCE_ID
public static final String QUERY_FIND_IMPLICIT_RECURSIVE_GROUP_IDS_BY_RESOURCE_ID
- See Also:
- Constant Field Values
QUERY_FIND_AUTOGROUP_BY_ID
public static final String QUERY_FIND_AUTOGROUP_BY_ID
- See Also:
- Constant Field Values
QUERY_FIND_AUTOGROUP_BY_ID_ADMIN
public static final String QUERY_FIND_AUTOGROUP_BY_ID_ADMIN
- See Also:
- Constant Field Values
QUERY_FIND_RESOURCE_NAMES_BY_GROUP_ID
public static final String QUERY_FIND_RESOURCE_NAMES_BY_GROUP_ID
- See Also:
- Constant Field Values
QUERY_FIND_BY_GROUP_DEFINITION_AND_EXPRESSION
public static final String QUERY_FIND_BY_GROUP_DEFINITION_AND_EXPRESSION
- See Also:
- Constant Field Values
QUERY_DELETE_EXPLICIT_BY_RESOURCE_IDS
public static final String QUERY_DELETE_EXPLICIT_BY_RESOURCE_IDS
- See Also:
- Constant Field Values
QUERY_DELETE_IMPLICIT_BY_RESOURCE_IDS
public static final String QUERY_DELETE_IMPLICIT_BY_RESOURCE_IDS
- See Also:
- Constant Field Values
QUERY_FIND_ALL_FILTERED_COUNT
public static final String QUERY_FIND_ALL_FILTERED_COUNT
- See Also:
- Constant Field Values
QUERY_FIND_ALL_FILTERED_COUNT_ADMIN
public static final String QUERY_FIND_ALL_FILTERED_COUNT_ADMIN
- See Also:
- Constant Field Values
QUERY_UPDATE_REMOVE_IMPLICIT
public static final String QUERY_UPDATE_REMOVE_IMPLICIT
- See Also:
- Constant Field Values
QUERY_UPDATE_IMPLICIT_MIRROR_EXPLICIT
public static final String QUERY_UPDATE_IMPLICIT_MIRROR_EXPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_FIND_FILTERED_MEMBER
public static final String QUERY_NATIVE_FIND_FILTERED_MEMBER
- See Also:
- Constant Field Values
QUERY_NATIVE_FIND_FILTERED_MEMBER_SECURITY_FRAGMENT_JOIN
public static final String QUERY_NATIVE_FIND_FILTERED_MEMBER_SECURITY_FRAGMENT_JOIN
- See Also:
- Constant Field Values
QUERY_NATIVE_FIND_FILTERED_MEMBER_SECURITY_FRAGMENT_WHERE
public static final String QUERY_NATIVE_FIND_FILTERED_MEMBER_SECURITY_FRAGMENT_WHERE
- See Also:
- Constant Field Values
QUERY_NATIVE_FIND_FILTERED_MEMBER_RESOURCE_FRAGMENT_WHERE
public static final String QUERY_NATIVE_FIND_FILTERED_MEMBER_RESOURCE_FRAGMENT_WHERE
- See Also:
- Constant Field Values
QUERY_FIND_RESOURCE_IDS_NOT_IN_GROUP_EXPLICIT
public static final String QUERY_FIND_RESOURCE_IDS_NOT_IN_GROUP_EXPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_EXPLICIT
public static final String QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_EXPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_IMPLICIT
public static final String QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_IMPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_IMPLICIT_RECURSIVE
public static final String QUERY_NATIVE_ADD_RESOURCES_TO_GROUP_IMPLICIT_RECURSIVE
- See Also:
- Constant Field Values
QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_EXPLICIT
public static final String QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_EXPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_IMPLICIT
public static final String QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_IMPLICIT
- See Also:
- Constant Field Values
QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_IMPLICIT_RECURSIVE
public static final String QUERY_NATIVE_REMOVE_RESOURCES_FROM_GROUP_IMPLICIT_RECURSIVE
- See Also:
- Constant Field Values
ResourceGroup
protected ResourceGroup()
ResourceGroup
public ResourceGroup(@NotNull
String name)
ResourceGroup
public ResourceGroup(@NotNull
String name,
ResourceType type)
getId
public int getId()
setId
public void setId(int id)
addExplicitResource
public void addExplicitResource(@NotNull
Resource resource)
setExplicitResources
public void setExplicitResources(Set<Resource> resources)
getExplicitResources
@NotNull
public Set<Resource> getExplicitResources()
removeExplicitResource
public boolean removeExplicitResource(@NotNull
Resource resource)
addImplicitResource
public void addImplicitResource(@NotNull
Resource resource)
setImplicitResources
public void setImplicitResources(Set<Resource> resources)
getGroupCategory
public GroupCategory getGroupCategory()
setGroupCategory
protected void setGroupCategory(GroupCategory groupCategory)
getImplicitResources
@NotNull
public Set<Resource> getImplicitResources()
removeImplicitResource
public boolean removeImplicitResource(@NotNull
Resource resource)
getRoles
public Set<Role> getRoles()
addRole
public void addRole(Role role)
removeRole
public void removeRole(Role role)
getOperationHistories
@NotNull
public List<GroupOperationHistory> getOperationHistories()
setOperationHistories
public void setOperationHistories(@NotNull
List<GroupOperationHistory> operationHistories)
getConfigurationUpdates
@NotNull
public List<AbstractGroupConfigurationUpdate> getConfigurationUpdates()
setConfigurationUpdates
public void setConfigurationUpdates(@NotNull
List<AbstractGroupConfigurationUpdate> configurationUpdates)
getBundleDestinations
public List<BundleDestination> getBundleDestinations()
setBundleDestinations
public void setBundleDestinations(List<BundleDestination> bundleDestinations)
getGroupDefinition
public GroupDefinition getGroupDefinition()
setGroupDefinition
public void setGroupDefinition(GroupDefinition groupDefinition)
getGroupByClause
public String getGroupByClause()
setGroupByClause
public void setGroupByClause(String groupByClause)
isRecursive
public boolean isRecursive()
setRecursive
public void setRecursive(boolean recursive)
getResourceType
public ResourceType getResourceType()
setResourceType
public void setResourceType(ResourceType resourceType)
getSubject
public Subject getSubject()
setSubject
public void setSubject(Subject subject)
isPrivateGroup
public boolean isPrivateGroup()
- Returns:
- true if this is a subject-owned group, private to the set subject
getClusterKey
public String getClusterKey()
setClusterKey
public void setClusterKey(String clusterKey)
getClusterResourceGroup
public ResourceGroup getClusterResourceGroup()
setClusterResourceGroup
public void setClusterResourceGroup(ResourceGroup clusterResourceGroup)
getAutoGroupParentResource
public Resource getAutoGroupParentResource()
setAutoGroupParentResource
public void setAutoGroupParentResource(Resource autoGroupParentResource)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean visible)
getClusterBackingGroups
public List<ResourceGroup> getClusterBackingGroups()
setClusterBackingGroups
public void setClusterBackingGroups(List<ResourceGroup> clusterBackingGroups)
getAlertDefinitions
public Set<AlertDefinition> getAlertDefinitions()
setAlertDefinitions
public void setAlertDefinitions(Set<AlertDefinition> alertDefinitions)
getTags
public Set<Tag> getTags()
setTags
public void setTags(Set<Tag> tags)
addTag
public void addTag(Tag tag)
removeTag
public boolean removeTag(Tag tag)
getDashboards
protected Set<Dashboard> getDashboards()
setDashboards
protected void setDashboards(Set<Dashboard> dashboards)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.