org.alfresco.web.bean.wcm
Class CreateFolderDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wcm.CreateFolderDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean
Direct Known Subclasses:
CreateLayeredFolderDialog, CreateWebappDialog

public class CreateFolderDialog
extends BaseDialogBean

Bean implementation for the AVM "Create Folder" dialog.

See Also:
Serialized Form

Field Summary
protected  AVMBrowseBean avmBrowseBean
           
protected  java.lang.String description
           
protected  java.lang.String name
           
protected  java.lang.String title
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
CreateFolderDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
protected  org.alfresco.wcm.asset.AssetService getAssetService()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getTitle()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAssetService(org.alfresco.wcm.asset.AssetService assetService)
           
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, 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

avmBrowseBean

protected AVMBrowseBean avmBrowseBean

name

protected java.lang.String name

title

protected java.lang.String title

description

protected java.lang.String description
Constructor Detail

CreateFolderDialog

public CreateFolderDialog()
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
See Also:
BaseDialogBean.init(java.util.Map)

setAvmBrowseBean

public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
Parameters:
avmBrowseBean - The avmBrowseBean to set.

setAssetService

public void setAssetService(org.alfresco.wcm.asset.AssetService assetService)
Parameters:
assetService - The assetService to set.

getAssetService

protected org.alfresco.wcm.asset.AssetService getAssetService()

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getTitle

public java.lang.String getTitle()
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - The title to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

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
See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)


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