org.rhq.enterprise.server.resource
Interface ProductVersionManagerLocal

All Known Implementing Classes:
ProductVersionManagerBean

public interface ProductVersionManagerLocal

EJB interface to deal with product versions.

Author:
Jason Dobies

Method Summary
 org.rhq.core.domain.resource.ProductVersion addProductVersion(org.rhq.core.domain.resource.ResourceType resourceType, String version)
          Adds a new product version into the system, returning the entity representation.
 

Method Detail

addProductVersion

org.rhq.core.domain.resource.ProductVersion addProductVersion(org.rhq.core.domain.resource.ResourceType resourceType,
                                                              String version)
Adds a new product version into the system, returning the entity representation. If the product version already exists, the entity will simply be returned.

Parameters:
resourceType - cannot be null
version - cannot be null
Returns:
product version persisted entity


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