org.alfresco.web.bean.ml
Class AddTranslationWithoutContentDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.ml.AddTranslationWithoutContentDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class AddTranslationWithoutContentDialog
- extends BaseDialogBean
Dialog bean to add a new translation without content. I means, a new node is created
but it doesn't content the propertie {http://www.alfresco.org/model/content/1.0}content
- See Also:
- Serialized Form
Field Summary |
protected org.alfresco.service.cmr.repository.NodeRef |
newTranslation
|
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 |
newTranslation
protected org.alfresco.service.cmr.repository.NodeRef newTranslation
AddTranslationWithoutContentDialog
public AddTranslationWithoutContentDialog()
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
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
setUserPreferencesBean
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
- Parameters:
userPreferencesBean
- the userPreferencesBean to set
setMultilingualContentService
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
- Parameters:
multilingualContentService
- the multilingualContentService to set
getAuthor
public java.lang.String getAuthor()
- Returns:
- the author
setAuthor
public void setAuthor(java.lang.String author)
- Parameters:
author
- the author to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
getLanguage
public java.lang.String getLanguage()
- Returns:
- the language
setLanguage
public void setLanguage(java.lang.String language)
- Parameters:
language
- the language to set
getTitle
public java.lang.String getTitle()
- Returns:
- the title
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- the title to set
getUnusedLanguages
public javax.faces.model.SelectItem[] getUnusedLanguages()
- Returns:
- the unusedLanguages
isShowOtherProperties
public boolean isShowOtherProperties()
- Returns:
- the showOtherProperties
setShowOtherProperties
public void setShowOtherProperties(boolean showOtherProperties)
- Parameters:
showOtherProperties
- the showOtherProperties to set
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.