org.rhq.enterprise.server.resource.metadata
Interface ContentMetadataManagerLocal

All Known Implementing Classes:
ContentMetadataManagerBean

public interface ContentMetadataManagerLocal


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.
 

Method Detail

updateMetadata

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. 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.

Parameters:
newType - new resource type containing updated package definitions
existingType - old resource type with existing package definitions

deleteMetadata

void deleteMetadata(org.rhq.core.domain.auth.Subject subject,
                    org.rhq.core.domain.resource.ResourceType resourceType)


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