public class MultilingualUtils extends Object implements Serializable
Constructor and Description |
---|
MultilingualUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canAddChildrenToPivotSpace(Node multlingualDocument,
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,
FacesContext fc)
Returns true if the current user can delete each translation of the mlContainer of the given node
|
static boolean |
canMoveEachTranslation(Node multlingualDocument,
FacesContext fc)
Returns true if the current user can move each translation of the mlContainer of the given node
|
static boolean |
canStartNewEditon(Node multlingualDocument,
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, FacesContext fc)
multlingualDocument
- Nodefc
- FacesContextpublic static boolean canDeleteEachTranslation(Node multlingualDocument, FacesContext fc)
multlingualDocument
- Nodefc
- FacesContextpublic static boolean canMoveEachTranslation(Node multlingualDocument, FacesContext fc)
multlingualDocument
- Nodefc
- FacesContextpublic static boolean canStartNewEditon(Node multlingualDocument, FacesContext fc)
multlingualDocument
- Nodefc
- FacesContextCopyright © 2005–2017 Alfresco Software. All rights reserved.