org.rhq.enterprise.server.resource.metadata
Class ContentMetadataManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.resource.metadata.ContentMetadataManagerBean
All Implemented Interfaces:
ContentMetadataManagerLocal

public class ContentMetadataManagerBean
extends Object
implements ContentMetadataManagerLocal


Constructor Summary
ContentMetadataManagerBean()
           
 
Method Summary
 void deleteMetadata(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.resource.ResourceType resourceType)
           
 void updateMetadata(org.rhq.core.domain.resource.ResourceType existingType, org.rhq.core.domain.resource.ResourceType newType)
          Updates the database with new package definitions found in the new resource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentMetadataManagerBean

public ContentMetadataManagerBean()
Method Detail

updateMetadata

public void updateMetadata(org.rhq.core.domain.resource.ResourceType existingType,
                           org.rhq.core.domain.resource.ResourceType newType)
Description copied from interface: ContentMetadataManagerLocal
Updates the database with new package definitions found in the new resource type. Any definitions not found in the new type but were previously in the existing resource type will be removed. Any definitions common to both will be merged.

Specified by:
updateMetadata in interface ContentMetadataManagerLocal
Parameters:
existingType - old resource type with existing package definitions
newType - new resource type containing updated package definitions

deleteMetadata

public void deleteMetadata(org.rhq.core.domain.auth.Subject subject,
                           org.rhq.core.domain.resource.ResourceType resourceType)
Specified by:
deleteMetadata in interface ContentMetadataManagerLocal


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.