org.alfresco.web.bean.forums
Class ForumsDetailsDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.BaseDetailsBean
          extended by org.alfresco.web.bean.forums.ForumsDetailsDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean, NavigationSupport

public class ForumsDetailsDialog
extends BaseDetailsBean
implements NavigationSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.BaseDetailsBean
imageResolver, panels, template, workflowProperties
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
ForumsDetailsDialog()
           
 
Method Summary
 java.lang.String cancel()
          Action handler to clear the current Space properties before returning to the browse screen, as the user may have modified the properties!
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 java.lang.String getCancelButtonLabel()
          Returns the label to use for the cancel button
 java.lang.String getContainerSubTitle()
          Returns the subtitle to be used for the dialog
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 java.lang.String getCurrentItemId()
           
protected  Node getLinkResolvedNode()
          Resolve the actual Node from any Link object that may be proxying it
 Node getNode()
          Returns the Node this bean is currently representing
 java.lang.String getOutcome()
           
protected  java.lang.String getPropertiesPanelId()
           
 Node getSpace()
          Returns the Space this bean is currently representing
 java.util.Map getTemplateModel()
          Returns a model for use by a template on the Details page.
 void nextItem(javax.faces.event.ActionEvent event)
           
 void previousItem(javax.faces.event.ActionEvent event)
           
 
Methods inherited from class org.alfresco.web.bean.BaseDetailsBean
applyTemplate, approve, cancelWorkflowEdit, expandPanel, getApproveStepName, getBookmarkUrl, getCifsPath, getCopyService, getHasCustomView, getHasTemplateView, getHasWebscriptView, getId, getName, getNodeRefUrl, getOwnableService, getPanels, getPermissionService, getRejectStepName, getTemplate, getTemplateRef, getWebdavUrl, getWebscriptUrl, getWorkflowProperties, reject, removeTemplate, saveWorkflow, setCopyService, setOwnableService, setPanels, setPermissionService, setTemplate, takeOwnership
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, 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
 

Constructor Detail

ForumsDetailsDialog

public ForumsDetailsDialog()
Method Detail

getSpace

public Node getSpace()
Returns the Space this bean is currently representing

Returns:
The Space Node

getLinkResolvedNode

protected Node getLinkResolvedNode()
Description copied from class: BaseDetailsBean
Resolve the actual Node from any Link object that may be proxying it

Specified by:
getLinkResolvedNode in class BaseDetailsBean
Returns:
current Node or Node resolved from any Link object

getNode

public Node getNode()
Description copied from class: BaseDetailsBean
Returns the Node this bean is currently representing

Specified by:
getNode in class BaseDetailsBean
Returns:
The Node

getPropertiesPanelId

protected java.lang.String getPropertiesPanelId()
Specified by:
getPropertiesPanelId in class BaseDetailsBean
Returns:
id of the properties panel component

getTemplateModel

public java.util.Map getTemplateModel()
Description copied from class: BaseDetailsBean
Returns a model for use by a template on the Details page.

Specified by:
getTemplateModel in class BaseDetailsBean
Returns:
model containing current current node info.

cancel

public java.lang.String cancel()
Action handler to clear the current Space properties before returning to the browse screen, as the user may have modified the properties!

Specified by:
cancel in interface IDialogBean
Overrides:
cancel in class BaseDialogBean
Returns:
The outcome to return

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

getCurrentItemId

public java.lang.String getCurrentItemId()
Specified by:
getCurrentItemId in interface NavigationSupport

getOutcome

public java.lang.String getOutcome()
Specified by:
getOutcome in interface NavigationSupport

nextItem

public void nextItem(javax.faces.event.ActionEvent event)
Specified by:
nextItem in interface NavigationSupport

previousItem

public void previousItem(javax.faces.event.ActionEvent event)
Specified by:
previousItem in interface NavigationSupport

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

getContainerSubTitle

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

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

Specified by:
getContainerSubTitle in interface IDialogBean
Overrides:
getContainerSubTitle in class BaseDialogBean
Returns:
The subtitle or null if the subtitle 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


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