org.rhq.enterprise.gui.content
Class ListPackageHistoryUIBean
java.lang.Object
org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean
org.rhq.enterprise.gui.content.ListPackageHistoryUIBean
public class ListPackageHistoryUIBean
- extends PagedDataTableUIBean
Bean used to handle artifact revision requests.
- Author:
- Jason Dobies
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListPackageHistoryUIBean
public ListPackageHistoryUIBean()
getCurrentPackage
public org.rhq.core.domain.content.InstalledPackage getCurrentPackage()
getPackageValues
public List<ListPackageHistoryUIBean.PackageTableDataValue> getPackageValues()
- Wraps the package values side by side with an older package if one was selected so they can be displayed in the
same table.
We no longer support comparing old and new packages since
InstalledPackage no longer keeps any form
of historical data. This still remains in case we decide to port it later to support comparing versions.
- Returns:
getDataModel
public javax.faces.model.DataModel getDataModel()
- Specified by:
getDataModel in class PagedDataTableUIBean
loadCurrentPackage
public void loadCurrentPackage()
- Lazily loads the current package referenced in the request into this instance of the bean.
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.