org.alfresco.web.bean.content
Class ViewContentPropertiesDialog

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

public class ViewContentPropertiesDialog
extends BaseDialogBean

Bean implementation of the "View Content Properties" dialog.

See Also:
Serialized Form

Field Summary
protected static java.lang.String TEMP_PROP_ENCODING
           
protected static java.lang.String TEMP_PROP_MIMETYPE
           
protected  Node viewingNode
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
ViewContentPropertiesDialog()
           
 
Method Summary
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
 Node getViewingNode()
          Returns the node being viewed
 void init(java.util.Map parameters)
          Initialises the dialog bean
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, 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

TEMP_PROP_MIMETYPE

protected static final java.lang.String TEMP_PROP_MIMETYPE
See Also:
Constant Field Values

TEMP_PROP_ENCODING

protected static final java.lang.String TEMP_PROP_ENCODING
See Also:
Constant Field Values

viewingNode

protected Node viewingNode
Constructor Detail

ViewContentPropertiesDialog

public ViewContentPropertiesDialog()
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

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

getViewingNode

public Node getViewingNode()
Returns the node being viewed

Returns:
The node being viewed


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