org.rhq.enterprise.gui.content
Class ContentUtils

java.lang.Object
  extended by org.rhq.enterprise.gui.content.ContentUtils

public class ContentUtils
extends Object

Utilities used by the UI for dealing with content related pages.

Author:
Jason Dobies

Constructor Summary
ContentUtils()
           
 
Method Summary
static org.rhq.core.domain.content.transfer.ResourcePackageDetails toResourcePackageDetails(org.rhq.core.domain.content.PackageVersion packageVersion)
          Translates the domain object package version, which will typically be returned for use in the UI, into the transfer objects that will be send to the SLSB layer calls, such as deploy package and translate steps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUtils

public ContentUtils()
Method Detail

toResourcePackageDetails

public static org.rhq.core.domain.content.transfer.ResourcePackageDetails toResourcePackageDetails(org.rhq.core.domain.content.PackageVersion packageVersion)
Translates the domain object package version, which will typically be returned for use in the UI, into the transfer objects that will be send to the SLSB layer calls, such as deploy package and translate steps.

Parameters:
packageVersion - populated domain entity for a package version
Returns:
transfer object populated with the necessary data to request package deployment related activities


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