Defines Collab Application API
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright statement |
Method Summary | |
---|---|
boolean |
addCollabWorkspace(
CollabWorkspaceInfo csbean) Creates a collaborative workspace |
int |
addMember(java.lang.String cwId, java.lang.String memberDN,
java.lang.String role) Adds Group members to the collaborative workspace documents according to their access level |
int |
addMembers(
CollabWorkspaceInfo csbean) Adds Group members to the collaborative workspace documents according to their access level |
int |
addMembers(java.lang.String cwId, java.util.Vector memberDNs,
java.lang.String role) Adds Group members to the collaborative workspace documents according to their access level |
java.lang.String |
getCollabWorkspaceURL(java.lang.String cwId) Returns the URL for a collaborative workspace |
java.util.Vector |
listTemplates() Lists all the templates that are available on the collaborative application server |
boolean |
removeCollabWorkspace(java.lang.String cwId) Removes a specific collaborative workspace |
int |
removeMember(java.lang.String cwId,
java.lang.String memberDN) Deletes Group members from the collaborative workspace |
int |
removeMembers(java.lang.String cwId,
java.util.Vector memberDNs) Deletes Group members from the collaborative workspace |
int |
setMemberRole(java.lang.String cwId, java.lang.String memberDN,
java.lang.String role) Changes the role of a member |
int |
setMembersRole(java.lang.String cwId, java.util.Vector memberDNs,
java.lang.String role)
Changes the role of members |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public boolean addCollabWorkspace(CollabWorkspaceInfo csbean) throws ECException
csbean
- Collaborative workspace informationjava.lang.Exception
- thrown by WebSphereCommerceECException
public int addMembers(CollabWorkspaceInfo csbean) throws ECException
csbean
- Collaborative workspace informationjava.lang.Exception
- thrown by WebSphereCommerceECException
public int addMembers(java.lang.String cwId, java.util.Vector memberDNs, java.lang.String role) throws ECException
cwId
- The collaborative workspace IDrole
- Role of the members, can be CollabManager.ROLE_MANAGER,
CollabManager.ROLE_AUTHOR or CollabManager.ROLE_READERjava.lang.Exception
- thrown by WebSphereCommerceECException
public int addMember(java.lang.String cwId, java.lang.String memberDN, java.lang.String role) throws ECException
cwId
- The collaborative workspace IDrole
- Role of the members, can be CollabManager.ROLE_MANAGER,
CollabManager.ROLE_AUTHOR or CollabManager.ROLE_READERjava.lang.Exception
- thrown by WebSphereCommerceECException
public int removeMembers(java.lang.String cwId, java.util.Vector memberDNs) throws ECException
cwId
- The collaborative workspace IDmemberDNs
- Vector of member distinguished name (DN)java.lang.Exception
- thrown by WebSphereCommerceECException
public int removeMember(java.lang.String cwId, java.lang.String memberDN) throws ECException
cwId
- The collaborative workspace IDmemberDN
- distinguished name (DN) of the memberjava.lang.Exception
- thrown by WebSphereCommerceECException
public int setMembersRole(java.lang.String cwId, java.util.Vector memberDNs, java.lang.String role) throws ECException
cwId
- The collaborative workspace IDmemberDNs
- Vector of the member distinguished name (DN)role
- Role of the members, can be CollabManager.ROLE_MANAGER,
CollabManager.ROLE_AUTHOR or CollabManager.ROLE_READERjava.lang.Exception
- thrown by WebSphereCommerceECException
public int setMemberRole(java.lang.String cwId, java.lang.String memberDN, java.lang.String role) throws ECException
cwId
- The collaborative workspace IDmemberDN
- distinguished name (DN) of the memberrole
- Role of the members, can be CollabManager.ROLE_MANAGER,
CollabManager.ROLE_AUTHOR or CollabManager.ROLE_READERjava.lang.Exception
- thrown by WebSphereCommerceECException
public java.util.Vector listTemplates()
public boolean removeCollabWorkspace(java.lang.String cwId) throws ECException
cwId
- The collaborative workspace IDjava.lang.Exception
- thrown by WebSphereCommerceECException
public java.lang.String getCollabWorkspaceURL(java.lang.String cwId)
cwId
- The collaborative workspace ID