org.alfresco.web.bean.wcm
Class ViewDeploymentReportDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wcm.ViewDeploymentReportDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class ViewDeploymentReportDialog
extends BaseDialogBean

Views the deployment reports created as a result of the last deployment attempt

See Also:
Serialized Form

Field Summary
protected  org.alfresco.service.cmr.repository.NodeRef attempt
           
protected  java.lang.String attemptDate
           
protected  java.lang.String dateFilter
           
protected  boolean panelExpanded
           
protected  java.lang.String store
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
ViewDeploymentReportDialog()
           
 
Method Summary
 void attemptSelected(javax.faces.event.ActionEvent event)
          Action handler called when a deployment attempt is selected
 void dateFilterChanged(javax.faces.event.ActionEvent event)
          Action handler called when the Date filter is changed by the user
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 org.alfresco.service.cmr.repository.NodeRef getAttempt()
           
 java.lang.String getCancelButtonLabel()
          Returns the label to use for the cancel button
 java.lang.String getContainerDescription()
          Returns the description to be used for the dialog
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 java.lang.String getDateFilter()
           
 boolean getPanelExpanded()
           
 java.lang.String getStore()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void panelToggled(javax.faces.event.ActionEvent event)
          Action handler called when the panel is expanded or collapsed
 void setDateFilter(java.lang.String dateFilter)
           
 void showLastReport(javax.faces.event.ActionEvent event)
          Action handler called when user wants to go back to the last report
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store

protected java.lang.String store

attempt

protected org.alfresco.service.cmr.repository.NodeRef attempt

attemptDate

protected java.lang.String attemptDate

panelExpanded

protected boolean panelExpanded

dateFilter

protected java.lang.String dateFilter
Constructor Detail

ViewDeploymentReportDialog

public ViewDeploymentReportDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseDialogBean
Parameters:
parameters - Map of parameters for the dialog

getCancelButtonLabel

public java.lang.String getCancelButtonLabel()
Description copied from interface: IDialogBean
Returns the label to use for the cancel button

Specified by:
getCancelButtonLabel in interface IDialogBean
Overrides:
getCancelButtonLabel in class BaseDialogBean
Returns:
The cancel button label

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getContainerDescription

public java.lang.String getContainerDescription()
Description copied from interface: IDialogBean
Returns the description to be used for the dialog

If this returns null the DialogManager will lookup the description via the dialog configuration

Specified by:
getContainerDescription in interface IDialogBean
Overrides:
getContainerDescription in class BaseDialogBean
Returns:
The title or null if the title is to be acquired via configuration

getContainerTitle

public java.lang.String getContainerTitle()
Description copied from interface: IDialogBean
Returns the title to be used for the dialog

If this returns null the DialogManager will lookup the title via the dialog configuration

Specified by:
getContainerTitle in interface IDialogBean
Overrides:
getContainerTitle in class BaseDialogBean
Returns:
The title or null if the title is to be acquired via configuration

dateFilterChanged

public void dateFilterChanged(javax.faces.event.ActionEvent event)
Action handler called when the Date filter is changed by the user


attemptSelected

public void attemptSelected(javax.faces.event.ActionEvent event)
Action handler called when a deployment attempt is selected


panelToggled

public void panelToggled(javax.faces.event.ActionEvent event)
Action handler called when the panel is expanded or collapsed


showLastReport

public void showLastReport(javax.faces.event.ActionEvent event)
Action handler called when user wants to go back to the last report


getStore

public java.lang.String getStore()

getDateFilter

public java.lang.String getDateFilter()

setDateFilter

public void setDateFilter(java.lang.String dateFilter)

getAttempt

public org.alfresco.service.cmr.repository.NodeRef getAttempt()

getPanelExpanded

public boolean getPanelExpanded()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.