public class UIDeploymentReports
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
attempt |
protected java.lang.String |
dateFilter |
static java.lang.String |
FILTER_DATE_ALL |
static java.lang.String |
FILTER_DATE_MONTH |
static java.lang.String |
FILTER_DATE_TODAY |
static java.lang.String |
FILTER_DATE_WEEK |
static java.lang.String |
FILTER_DATE_YESTERDAY |
protected java.lang.Boolean |
showPrevious |
protected java.lang.String |
store |
| Constructor and Description |
|---|
UIDeploymentReports() |
| Modifier and Type | Method and Description |
|---|---|
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) |
outputAttributeaddFacesListener, 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, setValueBindingpublic static final java.lang.String FILTER_DATE_TODAY
public static final java.lang.String FILTER_DATE_YESTERDAY
public static final java.lang.String FILTER_DATE_WEEK
public static final java.lang.String FILTER_DATE_MONTH
public static final java.lang.String FILTER_DATE_ALL
protected java.lang.String store
protected java.lang.String dateFilter
protected java.lang.Boolean showPrevious
protected org.alfresco.service.cmr.repository.NodeRef attempt
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasepublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasepublic void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)public java.lang.String getValue()
public void setValue(java.lang.String value)
value - The store to show the deployment reports forpublic java.lang.String getDateFilter()
public void setDateFilter(java.lang.String value)
value - The dateFilter to use when previous reports are being shownpublic boolean getShowPrevious()
public void setShowPrevious(boolean showPrevious)
showPrevious - Determines whether previous reports are shownpublic org.alfresco.service.cmr.repository.NodeRef getAttempt()
public void setAttempt(org.alfresco.service.cmr.repository.NodeRef value)
value - The NodeRef of the deploymentattempt to show the details forprotected void renderPreviousReports(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
throws java.io.IOException
java.io.IOExceptionprotected void renderAttempt(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
java.lang.String store)
throws java.io.IOException
java.io.IOExceptionprotected 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
java.io.IOExceptionprotected 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.