|
|||||||||
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.MultilingualManageDialog
public class MultilingualManageDialog
Field Summary | |
---|---|
protected java.util.Map |
panels
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
MultilingualManageDialog()
|
Method Summary | |
---|---|
void |
expandPanel(javax.faces.event.ActionEvent event)
Save the state of the panel that was expanded/collapsed |
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 |
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog |
protected org.alfresco.service.cmr.ml.ContentFilterLanguagesService |
getContentFilterLanguagesService()
|
SingleEditionBean |
getCurrentSingleEditionBean()
For the client side iteration on the edition hitories list, return the current edition history. |
protected java.lang.String |
getDefaultCancelOutcome()
Returns the default cancel outcome |
Node |
getDocument()
Returns the document this bean is currently representing |
Node |
getDocumentMlContainer()
Returns the ml container of the document this bean is currently representing |
protected org.alfresco.service.cmr.ml.EditionService |
getEditionService()
|
int |
getEditionSize()
For the client side iteration on the edition hitories list, returns the number of editions. |
java.util.List |
getEmptyListAndInitEditions()
Init the mlContainer histories and returns an empty list to fill a rich list value without content. |
protected org.alfresco.service.cmr.ml.MultilingualContentService |
getMultilingualContentService()
|
SingleEditionBean |
getNextSingleEditionBean()
For the client side iteration on the edition hitories list, return the next edition history. |
Node |
getNode()
Returns the Node this bean is currently representing |
java.util.Map |
getPanels()
|
java.util.List |
getTranslations()
Returns a list of objects representing the translations of the current document |
protected org.alfresco.service.cmr.version.VersionService |
getVersionService()
|
void |
removeTemplate(javax.faces.event.ActionEvent event)
Action handler to remove a custom view template from the current node |
void |
resetMLDocument(javax.faces.event.ActionEvent event)
Restore the translationf from which the ml container details dialog comes. |
void |
setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService)
|
void |
setEditionService(org.alfresco.service.cmr.ml.EditionService editionService)
|
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
|
void |
setTranslationDocument(Node node)
Before opening the ml container details, remeber the translation from which the action comes. |
void |
setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
Sets the version service instance the bean should use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map panels
Constructor Detail |
---|
public MultilingualManageDialog()
Method Detail |
---|
public Node getDocument()
public Node getNode()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
multilingualContentService
- the multilingual ContentService to setprotected org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()
public void setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService)
contentFilterLanguagesService
- The Content Filter Languages Service to set.protected org.alfresco.service.cmr.ml.ContentFilterLanguagesService getContentFilterLanguagesService()
public void setEditionService(org.alfresco.service.cmr.ml.EditionService editionService)
EditionService
- The Edition Service to set.protected org.alfresco.service.cmr.ml.EditionService getEditionService()
public void setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
versionService
- The VersionServiceprotected org.alfresco.service.cmr.version.VersionService getVersionService()
public void setTranslationDocument(Node node)
node
- public java.util.Map getPanels()
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
public java.lang.String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public java.util.List getTranslations()
public java.util.List getEmptyListAndInitEditions()
public int getEditionSize()
public SingleEditionBean getNextSingleEditionBean()
public SingleEditionBean getCurrentSingleEditionBean()
public void resetMLDocument(javax.faces.event.ActionEvent event)
public void removeTemplate(javax.faces.event.ActionEvent event)
public void expandPanel(javax.faces.event.ActionEvent event)
public Node getDocumentMlContainer()
protected java.lang.String getDefaultCancelOutcome()
BaseDialogBean
getDefaultCancelOutcome
in class BaseDialogBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |