|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.bastille.pageseeder.PSServices
public final class PSServices
A utility class for PageSeeder Services.
Provides useful constants for Services used in this project.
Method Summary | |
---|---|
static String |
toActivateMember(String username)
Returns the URL to invoke the group member activation service. |
static String |
toCreateComment(String group)
Returns the URL to invoke the group member creation service. |
static String |
toCreateGroupMember(String group)
Returns the URL to invoke the group member creation service. |
static String |
toEditGroupMember(String group,
String username)
Returns the URL to invoke the group member edit service. |
static String |
toFindGroupMember(String group)
Returns the URL to invoke the group member search service. |
static String |
toGetDiscussions(String group)
Returns the URL to invoke the service that returns the list of discussions for a group. |
static String |
toGroupMemberDetails(String group,
String username)
Returns the URL to invoke the group member details service. |
static String |
toGroupMemberInvite(String group)
Returns the URL to invoke the group member invitation service. |
static String |
toGroupMemberRegistration(String group,
String username)
Returns the URL to invoke the group member registration service. |
static String |
toMemberCreateComment(String user,
String group)
Returns the URL to invoke the group member creation service. |
static String |
toMemberProjects(String username)
Returns the URL to invoke the group member registration service. |
static String |
toMemberReplyToComment(String user,
String group,
String id)
Returns the URL to invoke the service to reply to a comment. |
static String |
toMemberships(String username)
Returns the URL to invoke the memberships service. |
static String |
toReplyToComment(String group,
String id)
Returns the URL to invoke the service to reply to a comment. |
static String |
toResetSession()
Returns the URL to reset the session of the current user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String toGetDiscussions(String group)
group
- The name of the group
/groups/[group]/discussions
.public static String toReplyToComment(String group, String id)
group
- The name of the groupid
- The ID of the discussion to reply to
/groups/[group]/comments/[id]/reply
.public static String toCreateComment(String group)
group
- The name of the group
/groups/[group]/comments
.public static String toMemberCreateComment(String user, String group)
user
- The username or user IDgroup
- The name of the group
/groups/[group]/comments
.public static String toMemberReplyToComment(String user, String group, String id)
user
- The username or user IDgroup
- The name of the groupid
- The ID of the discussion to reply to
/members/[user]/groups/[group]/discussions/[id]
.public static String toCreateGroupMember(String group)
group
- The name of the group
/groups/[group]/members/create
.public static String toFindGroupMember(String group)
group
- The name of the group
/groups/[groupname]/members/find
.public static String toActivateMember(String username)
username
- The user name
/members/[username]/activate
.public static String toGroupMemberDetails(String group, String username)
group
- The name of the groupusername
- The user name
/groups/[groupname]/members/[username]/details
.public static String toEditGroupMember(String group, String username)
group
- The name of the groupusername
- The user name
/groups/[groupname]/members/[username]/edit
.public static String toGroupMemberRegistration(String group, String username)
group
- The name of the groupusername
- The user name
/groups/[groupname]/members/[username]/registration
.public static String toGroupMemberInvite(String group)
group
- The name of the group to register
/groups/[groupname]/members/invite
.public static String toMemberProjects(String username)
username
- The user name
/members/[username]/projects
.public static String toMemberships(String username)
username
- The user name
/members/[username]/memberships
.public static String toResetSession()
/resetsession
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |