org.alfresco.web.bean
Class LinkPropertiesDialog

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

public class LinkPropertiesDialog
extends BaseDialogBean

Backing bean for the edit link properties dialog

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
LinkPropertiesDialog()
           
 
Method Summary
protected  java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs any post commit processing subclasses may want to provide
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 java.lang.String getDestinationPath()
           
 Node getEditableNode()
          Returns the node being edited
 java.lang.String getFileLinkBookmarkUrl()
          Returns the URL to access the details page for the current document link object
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 java.util.Map getProperties()
           
 java.lang.String getSpaceLinkDestinationUrl()
          Returns the URL to access the details page for the current document link object
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setupFileLinkForAction(javax.faces.event.ActionEvent event)
          Event handler called to setup the link object for property editing
 void setupFolderLinkForAction(javax.faces.event.ActionEvent event)
          Event handler called to setup the link object for property editing
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, 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
 

Constructor Detail

LinkPropertiesDialog

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

getProperties

public java.util.Map getProperties()

getFinishButtonDisabled

public boolean getFinishButtonDisabled()
Description copied from interface: IDialogBean
Determines whether the finish button on the dialog should be disabled

Specified by:
getFinishButtonDisabled in interface IDialogBean
Overrides:
getFinishButtonDisabled in class BaseDialogBean
Returns:
true if the button should be disabled

getEditableNode

public Node getEditableNode()
Returns the node being edited

Returns:
The node being edited

setupFileLinkForAction

public void setupFileLinkForAction(javax.faces.event.ActionEvent event)
Event handler called to setup the link object for property editing

Parameters:
event - The event

setupFolderLinkForAction

public void setupFolderLinkForAction(javax.faces.event.ActionEvent event)
Event handler called to setup the link object for property editing

Parameters:
event - The event

getDestinationPath

public java.lang.String getDestinationPath()
Returns:
Human readable version of the Path to the destination object

getFileLinkBookmarkUrl

public java.lang.String getFileLinkBookmarkUrl()
Returns the URL to access the details page for the current document link object

Returns:
The bookmark URL

getSpaceLinkDestinationUrl

public java.lang.String getSpaceLinkDestinationUrl()
Returns the URL to access the details page for the current document link object

Returns:
The bookmark URL

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

doPostCommitProcessing

protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
                                                  java.lang.String outcome)
Description copied from class: BaseDialogBean
Performs any post commit processing subclasses may want to provide

Overrides:
doPostCommitProcessing in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome


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