|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.ml.MakeMultilingualDialog
public class MakeMultilingualDialog
Dialog bean to make a node multilingual
Field Summary | |
---|---|
protected Node |
editableNode
|
static java.lang.String |
OPT_ADD_WITH_CONTENT
if needed, add a new translation with content after this dialog closed |
static java.lang.String |
OPT_ADD_WITHOUT_CONTENT
if needed, add a new translation without content after this dialog closed |
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
MakeMultilingualDialog()
|
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 |
getAddingMode()
|
java.lang.String |
getAuthor()
|
Node |
getEditableNode()
Returns the node being edited |
javax.faces.model.SelectItem[] |
getFilterLanguages()
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled |
java.lang.String |
getLanguage()
|
void |
init(java.util.Map parameters)
Initialises the dialog bean |
protected Node |
initEditableNode()
Init the editable Node |
boolean |
isAddTranslationAfter()
|
void |
setAddingMode(java.lang.String addingMode)
|
void |
setAddTranslationAfter(boolean addTranslationAfter)
|
void |
setAuthor(java.lang.String author)
|
void |
setEditableNode(Node editableNode)
|
void |
setLanguage(java.lang.String language)
|
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
|
void |
setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPT_ADD_WITH_CONTENT
public static final java.lang.String OPT_ADD_WITHOUT_CONTENT
protected Node editableNode
Constructor Detail |
---|
public MakeMultilingualDialog()
Method Detail |
---|
public void init(java.util.Map parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected Node initEditableNode()
protected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context, java.lang.String outcome)
BaseDialogBean
doPostCommitProcessing
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public Node getEditableNode()
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author
- the author of new created MLContainerpublic boolean isAddTranslationAfter()
public void setAddTranslationAfter(boolean addTranslationAfter)
addTranslationAfter
- set to true, a new translation will be added after this dialog closespublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- the language of the translationpublic void setEditableNode(Node editableNode)
editableNode
- the node will become a multilingualpublic java.lang.String getAddingMode()
public void setAddingMode(java.lang.String addingMode)
addingMode
- if the new translation must be added at the end of this dialog,
this mode defines if the translation will be an empty document or notpublic javax.faces.model.SelectItem[] getFilterLanguages()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
public void setUserPreferencesBean(UserPreferencesBean userPreferencesBean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |