org.alfresco.web.ui.wcm.component
Class UIDeploymentReports
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
org.alfresco.web.ui.wcm.component.UIDeploymentReports
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class UIDeploymentReports
- extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
JSF component that displays the latest deployment reports for a web project.
Method Summary |
protected UIActionLink |
aquireViewAttemptAction(javax.faces.context.FacesContext context,
org.alfresco.web.ui.wcm.component.UIDeploymentReports.DeploymentAttempt attempt)
|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
org.alfresco.service.cmr.repository.NodeRef |
getAttempt()
|
java.lang.String |
getDateFilter()
|
java.lang.String |
getFamily()
|
boolean |
getShowPrevious()
|
java.lang.String |
getValue()
|
protected void |
renderAttempt(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
|
protected void |
renderPreviousReports(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
|
protected void |
renderReport(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeRef deploymentReport,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.ContentService contentService)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAttempt(org.alfresco.service.cmr.repository.NodeRef value)
|
void |
setDateFilter(java.lang.String value)
|
void |
setShowPrevious(boolean showPrevious)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent |
outputAttribute |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILTER_DATE_TODAY
public static final java.lang.String FILTER_DATE_TODAY
- See Also:
- Constant Field Values
FILTER_DATE_YESTERDAY
public static final java.lang.String FILTER_DATE_YESTERDAY
- See Also:
- Constant Field Values
FILTER_DATE_WEEK
public static final java.lang.String FILTER_DATE_WEEK
- See Also:
- Constant Field Values
FILTER_DATE_MONTH
public static final java.lang.String FILTER_DATE_MONTH
- See Also:
- Constant Field Values
FILTER_DATE_ALL
public static final java.lang.String FILTER_DATE_ALL
- See Also:
- Constant Field Values
store
protected java.lang.String store
dateFilter
protected java.lang.String dateFilter
showPrevious
protected java.lang.Boolean showPrevious
attempt
protected org.alfresco.service.cmr.repository.NodeRef attempt
UIDeploymentReports
public UIDeploymentReports()
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class javax.faces.component.UIComponent
- See Also:
UIComponent.getFamily()
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIComponentBase
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIComponentBase
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
- Overrides:
encodeBegin
in class javax.faces.component.UIComponentBase
- Throws:
java.io.IOException
- See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
getValue
public java.lang.String getValue()
- Returns:
- The store to show the deployment reports for
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- The store to show the deployment reports for
getDateFilter
public java.lang.String getDateFilter()
- Returns:
- The current dateFilter if previous reports are being shown
setDateFilter
public void setDateFilter(java.lang.String value)
- Parameters:
value
- The dateFilter to use when previous reports are being shown
getShowPrevious
public boolean getShowPrevious()
- Returns:
- true if the component should show previous reports
setShowPrevious
public void setShowPrevious(boolean showPrevious)
- Parameters:
showPrevious
- Determines whether previous reports are shown
getAttempt
public org.alfresco.service.cmr.repository.NodeRef getAttempt()
- Returns:
- NodeRef of the deploymentattempt to show the details for
setAttempt
public void setAttempt(org.alfresco.service.cmr.repository.NodeRef value)
- Parameters:
value
- The NodeRef of the deploymentattempt to show the details for
renderPreviousReports
protected void renderPreviousReports(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
throws java.io.IOException
- Throws:
java.io.IOException
renderAttempt
protected void renderAttempt(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
throws java.io.IOException
- Throws:
java.io.IOException
renderReport
protected void renderReport(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeRef deploymentReport,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.repository.ContentService contentService)
throws java.io.IOException
- Throws:
java.io.IOException
aquireViewAttemptAction
protected UIActionLink aquireViewAttemptAction(javax.faces.context.FacesContext context,
org.alfresco.web.ui.wcm.component.UIDeploymentReports.DeploymentAttempt attempt)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.