org.alfresco.web.bean.wcm
Class FolderDetailsBean

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

public class FolderDetailsBean
extends AVMDetailsBean

Backing bean for Folder Details page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.wcm.AVMDetailsBean
avmBrowseBean, panels
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
FolderDetailsBean()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 AVMNode getAvmNode()
           
 java.lang.String getCancelButtonLabel()
          Returns the label to use for the cancel button
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 java.lang.String getCurrentItemId()
           
 Node getFolder()
           
 boolean getIsPrimaryLayeredFolder()
           
protected  java.util.List getNodes()
           
 java.lang.String getOutcome()
           
 java.lang.String getPreviewUrl()
          Returns the virtualisation server URL to the content for the current document
 
Methods inherited from class org.alfresco.web.bean.wcm.AVMDetailsBean
expandPanel, getAvmService, getIsBrowseList, getName, getNodeRefUrl, getNodeService, getPanels, getPath, nextItem, previousItem, setAvmBrowseBean, setAvmService, setNodeService, setPanels
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderDetailsBean

public FolderDetailsBean()
Method Detail

getAvmNode

public AVMNode getAvmNode()
Specified by:
getAvmNode in class AVMDetailsBean
Returns:
the AVM node to display the details for
See Also:
AVMDetailsBean.getAvmNode()

getFolder

public Node getFolder()
Returns:
a Node wrapper of the AVM Folder Node - for property sheet support

getPreviewUrl

public java.lang.String getPreviewUrl()
Returns the virtualisation server URL to the content for the current document

Returns:
Preview url for the current document

getIsPrimaryLayeredFolder

public boolean getIsPrimaryLayeredFolder()
Returns:
true if the folder is a layered folder with a primary indirection

getNodes

protected java.util.List getNodes()
Specified by:
getNodes in class AVMDetailsBean
Returns:
the sibling nodes for this item
See Also:
AVMDetailsBean.getNodes()

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

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

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

getCurrentItemId

public java.lang.String getCurrentItemId()

getOutcome

public java.lang.String getOutcome()


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