org.rhq.enterprise.server.resource
Class ProductVersionManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.resource.ProductVersionManagerBean
All Implemented Interfaces:
ProductVersionManagerLocal

public class ProductVersionManagerBean
extends Object
implements ProductVersionManagerLocal

SLSB implementation of the ProductVersionManagerLocal.

Author:
Jason Dobies

Constructor Summary
ProductVersionManagerBean()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductVersionManagerBean

public ProductVersionManagerBean()
Method Detail

addProductVersion

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

Specified by:
addProductVersion in interface ProductVersionManagerLocal
Parameters:
resourceType - cannot be null
version - cannot be null
Returns:
product version persisted entity


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