|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.faq.service.FAQServiceUtils
public class FAQServiceUtils
Created by The eXo Platform SARL Author : Truong Nguyen truong.nguyen@exoplatform.com May 10, 2008, 4:26:37 PM
| Constructor Summary | |
|---|---|
FAQServiceUtils()
|
|
| Method Summary | |
|---|---|
static org.exoplatform.forum.common.jcr.SessionManager |
getSessionManager()
|
static List<String> |
getUserPermission(String[] userGroupMembership)
Find usernames matching user, group or membership expressions |
static boolean |
isGroupExpression(String expr)
Is the expression a group expression |
static boolean |
isMembershipExpression(String expr)
Is the expression a membership expression (MEMBERSHIPTYPE:GROUP) |
static void |
reparePermissions(javax.jcr.Node node,
String owner)
Repare permission of node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FAQServiceUtils()
| Method Detail |
|---|
public static boolean isGroupExpression(String expr)
expr -
public static boolean isMembershipExpression(String expr)
expr -
public static List<String> getUserPermission(String[] userGroupMembership)
throws Exception
userGroupMembership - list that may contain usernames or group names or membership expressions in the form MEMBERSHIPTYPE:GROUP
Exception
public static void reparePermissions(javax.jcr.Node node,
String owner)
throws Exception
node - Node which is repared permissionowner - permission will be added for this node
Exceptionpublic static org.exoplatform.forum.common.jcr.SessionManager getSessionManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||