org.rhq.enterprise.gui.content
Class DeployPackagesUIBean

java.lang.Object
  extended by org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
      extended by org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean
          extended by org.rhq.enterprise.gui.content.DeployPackagesUIBean

public class DeployPackagesUIBean
extends PagedDataTableUIBean

Bean responsible for the end of the deploy package workflow. This bean will provide the list of packages that have been selected (and ultimately configured by the user) to be deployed to the agent. This bean also provides the action to perform the actual deployment.

Author:
Jason Dobies

Field Summary
static String MANAGED_BEAN_NAME
           
 
Fields inherited from class org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean
dataModel
 
Fields inherited from class org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
OUTCOME_CANCELLED, OUTCOME_CREATE, OUTCOME_EDIT, OUTCOME_FAILURE, OUTCOME_SAVE, OUTCOME_SUCCESS
 
Constructor Summary
DeployPackagesUIBean()
           
 
Method Summary
 String deployPackages()
          JSF action that will actually make the call to deploy the packages in the workflow.
 javax.faces.model.DataModel getDataModel()
           
 String getNotes()
           
 javax.faces.component.UIData getPackagesToDeployData()
           
 int[] getSelectedPackageIds()
           
 void setNotes(String notes)
           
 void setPackagesToDeployData(javax.faces.component.UIData packagesToDeployData)
           
 
Methods inherited from class org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean
clearDataModel, getDatascroller, getDataTable, getDefaultPageControl, getMinimumPageSize, getPageControl, getPageSizes, setDataModel, setDatascroller, setDataTable, setPageControl
 
Methods inherited from class org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
getResource, getResourceGroup, getResourceType, getSubject, getWebUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGED_BEAN_NAME

public static final String MANAGED_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

DeployPackagesUIBean

public DeployPackagesUIBean()
Method Detail

deployPackages

public String deployPackages()
JSF action that will actually make the call to deploy the packages in the workflow.

Returns:
navigation outcome

getDataModel

public javax.faces.model.DataModel getDataModel()
Specified by:
getDataModel in class PagedDataTableUIBean

getPackagesToDeployData

public javax.faces.component.UIData getPackagesToDeployData()

setPackagesToDeployData

public void setPackagesToDeployData(javax.faces.component.UIData packagesToDeployData)

getNotes

public String getNotes()

setNotes

public void setNotes(String notes)

getSelectedPackageIds

public int[] getSelectedPackageIds()


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