|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hibernate.PersistedObject
org.hyperic.hq.authz.server.session.ResourceGroup
public class ResourceGroup
Nested Class Summary | |
---|---|
static class |
ResourceGroup.ResourceGroupCreateInfo
|
Constructor Summary | |
---|---|
ResourceGroup()
|
Method Summary | |
---|---|
void |
addRole(Role role)
|
boolean |
allowContainerManagedCreationTime()
Define the management policy for the creation time. |
boolean |
allowContainerManagedLastModifiedTime()
Define the management policy for the last modified time. |
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getClusterId()
|
protected java.util.List |
getCriteriaList()
|
CritterList |
getCritterList()
Getter method used to retrieve the criteria list for a ResourceGroup. |
long |
getCtime()
|
java.lang.String |
getDescription()
|
java.lang.Integer |
getGroupEntResType()
Deprecated. Use getResourcePrototype() instead. |
java.lang.Integer |
getGroupEntType()
Deprecated. Use getResourcePrototype() instead. XXX: ADHOC groups lose the Group or Application types with the change to use a Resource prototype for compatible groups. |
java.lang.Integer |
getGroupType()
|
java.lang.String |
getLocation()
|
java.lang.String |
getModifiedBy()
|
long |
getMtime()
|
java.lang.String |
getName()
|
Resource |
getResource()
|
ResourceGroupValue |
getResourceGroupValue()
Deprecated. use (this) ResourceGroup instead |
Resource |
getResourcePrototype()
If the group is compatable, this method returns the prototype for all resources contained within. |
java.util.Collection |
getRoles()
|
java.lang.String |
getSortName()
|
java.lang.Object |
getValueObject()
|
boolean |
isCompatableWith(Resource resource)
Checks if this group is compatable with the passed resource. |
boolean |
isMixed()
|
boolean |
isOrCriteria()
|
boolean |
isSystem()
|
void |
removeAllRoles()
|
void |
removeRole(Role role)
|
Methods inherited from class org.hyperic.hibernate.PersistedObject |
---|
get_version_, getId, hashCode, set_version_, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceGroup()
Method Detail |
---|
public boolean allowContainerManagedCreationTime()
ContainerManagedTimestampTrackable
allowContainerManagedCreationTime
in interface ContainerManagedTimestampTrackable
true
by default.ContainerManagedTimestampTrackable.allowContainerManagedLastModifiedTime()
public boolean allowContainerManagedLastModifiedTime()
ContainerManagedTimestampTrackable
allowContainerManagedLastModifiedTime
in interface ContainerManagedTimestampTrackable
true
by default.ContainerManagedTimestampTrackable.allowContainerManagedLastModifiedTime()
public java.lang.String getName()
public java.lang.String getSortName()
public java.lang.String getDescription()
public java.lang.String getLocation()
public boolean isSystem()
public java.lang.Integer getGroupType()
public boolean isMixed()
public java.lang.Integer getGroupEntType()
public java.lang.Integer getGroupEntResType()
public java.lang.Integer getClusterId()
public boolean isOrCriteria()
public long getCtime()
public long getMtime()
public java.lang.String getModifiedBy()
public boolean isCompatableWith(Resource resource)
resource
- A resource prototype. Note that this is NOT an
instance of the prototype.
public Resource getResourcePrototype()
public Resource getResource()
public java.util.Collection getRoles()
protected java.util.List getCriteriaList()
public CritterList getCritterList() throws GroupException
GroupException
public void addRole(Role role)
public void removeRole(Role role)
public void removeAllRoles()
public ResourceGroupValue getResourceGroupValue()
public java.lang.Object getValueObject()
public boolean equals(java.lang.Object obj)
equals
in class PersistedObject
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |