|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.inventory.InventoryManagerBean
public class InventoryManagerBean
This API could not be added directly ResourceTypeManagerBean because it
would create a circular dependency with ResourceManagerBean, resulting
in a deployment failure.
| Constructor Summary | |
|---|---|
InventoryManagerBean()
|
|
| Method Summary | |
|---|---|
List<org.rhq.core.domain.resource.ResourceType> |
getDeletedTypes()
|
boolean |
isReadyForPermanentRemoval(org.rhq.core.domain.resource.ResourceType resourceType)
Determines whether or not a resource type is ready to be permanently removed from the database. |
int |
markTypesDeleted(List<Integer> resourceTypeIds)
Marks the specified resource types, including all of their child types, for deletion by setting the deleted flag on each one. |
void |
purgeDeletedResourceType(org.rhq.core.domain.resource.ResourceType resourceType)
Permanently removes the resource type from the database along with all associated meta data such as metric definitions, operation definitions, and resource configuration definitions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InventoryManagerBean()
| Method Detail |
|---|
public int markTypesDeleted(List<Integer> resourceTypeIds)
InventoryManagerLocal
markTypesDeleted in interface InventoryManagerLocalresourceTypeIds - The ids of the resource types to delete
public List<org.rhq.core.domain.resource.ResourceType> getDeletedTypes()
getDeletedTypes in interface InventoryManagerLocalpublic boolean isReadyForPermanentRemoval(org.rhq.core.domain.resource.ResourceType resourceType)
InventoryManagerLocal
isReadyForPermanentRemoval in interface InventoryManagerLocalresourceType - The resource type to check
true if the resource type is ready to be permanently deleted.public void purgeDeletedResourceType(org.rhq.core.domain.resource.ResourceType resourceType)
InventoryManagerLocalPurgeResourceTypesJob.
purgeDeletedResourceType in interface InventoryManagerLocalresourceType - The resource type to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||