|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.ml.MultilingualUtils
public class MultilingualUtils
Util class for the management of multilingual documents on the web client side
Constructor Summary | |
---|---|
MultilingualUtils()
|
Method Summary | |
---|---|
static boolean |
canAddChildrenToPivotSpace(Node multlingualDocument,
javax.faces.context.FacesContext fc)
Returns true if the current user has enough right to add a content to the space where the pivot translation is located in. |
static boolean |
canDeleteEachTranslation(Node multlingualDocument,
javax.faces.context.FacesContext fc)
Returns true if the current user can delete each translation of the mlContainer of the given node |
static boolean |
canMoveEachTranslation(Node multlingualDocument,
javax.faces.context.FacesContext fc)
Returns true if the current user can move each translation of the mlContainer of the given node |
static boolean |
canStartNewEditon(Node multlingualDocument,
javax.faces.context.FacesContext fc)
Returns true if the current user can delete each translation and create * a new content in the space |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultilingualUtils()
Method Detail |
---|
public static boolean canAddChildrenToPivotSpace(Node multlingualDocument, javax.faces.context.FacesContext fc)
multlingualDocument
- fc
-
public static boolean canDeleteEachTranslation(Node multlingualDocument, javax.faces.context.FacesContext fc)
multlingualDocument
- fc
-
public static boolean canMoveEachTranslation(Node multlingualDocument, javax.faces.context.FacesContext fc)
multlingualDocument
- fc
-
public static boolean canStartNewEditon(Node multlingualDocument, javax.faces.context.FacesContext fc)
multlingualDocument
- fc
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |