public class MultilingualUtils
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
MultilingualUtils() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.