org.rhq.enterprise.server.resource
Interface ResourceTypeManagerRemote

All Known Subinterfaces:
WebservicesRemote
All Known Implementing Classes:
ResourceTypeManagerBean, WebservicesManagerBean

public interface ResourceTypeManagerRemote


Method Summary
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.ResourceType> findResourceTypesByCriteria(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.criteria.ResourceTypeCriteria criteria)
           
 org.rhq.core.domain.resource.ResourceType getResourceTypeById(org.rhq.core.domain.auth.Subject subject, int resourceTypeId)
           
 org.rhq.core.domain.resource.ResourceType getResourceTypeByNameAndPlugin(org.rhq.core.domain.auth.Subject subject, String name, String plugin)
           
 

Method Detail

getResourceTypeById

org.rhq.core.domain.resource.ResourceType getResourceTypeById(org.rhq.core.domain.auth.Subject subject,
                                                              int resourceTypeId)
                                                              throws ResourceTypeNotFoundException
Throws:
ResourceTypeNotFoundException

getResourceTypeByNameAndPlugin

org.rhq.core.domain.resource.ResourceType getResourceTypeByNameAndPlugin(org.rhq.core.domain.auth.Subject subject,
                                                                         String name,
                                                                         String plugin)
Parameters:
subject -
name -
plugin -
Returns:
the resource type by name and plugin or null if the type is not found

findResourceTypesByCriteria

org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.ResourceType> findResourceTypesByCriteria(org.rhq.core.domain.auth.Subject subject,
                                                                                                         org.rhq.core.domain.criteria.ResourceTypeCriteria criteria)


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