public class MemberService_JAXWS extends Object
Constructor and Description |
---|
MemberService_JAXWS() |
Modifier and Type | Method and Description |
---|---|
void |
addListOfMembersToGroup(long groupID,
long[] memberIDs)
Adds a list of members to a group.
|
void |
addMemberToGroup(long groupID,
long memberID)
Adds a member to a group.
|
void |
convertExternalUserToUser(long userID,
long groupID,
MemberPrivileges memberPrivileges)
Converts an external user to a regular Content Server user.
|
long |
createDomain(String name)
Creates a new domain.
|
long |
createExternalGroup(String name,
Long leaderID)
Creates a new external group.
|
long |
createExternalUser(User user)
Creates a new external user.
|
long |
createGroup(String name,
Long leaderID)
Creates a new group.
|
long |
createGroupInDomain(String name,
Long leaderID,
long domainID)
Creates a new group in a domain.
|
Member |
createMember(Member member)
Deprecated.
This method has been deprecated and the other Create* methods should be used instead.
|
long |
createUser(User user)
Creates a new user.
|
long |
createUserInDomain(User user,
long domainID)
Creates a new user in a domain.
|
void |
deleteListOfMembers(long[] memberIDs)
Deletes a list of members.
|
void |
deleteMember(long memberID)
Deletes a member.
|
User |
getAuthenticatedUser()
Gets the user that is authenticated.
|
Group |
getGroupByName(String name)
Gets a group by its name.
|
Group |
getGroupByNameInDomain(String name,
long domainID)
Gets a group in a specified domain by its name.
|
Member |
getMemberById(long memberID)
Gets a member by their ID.
|
Member |
getMemberByLoginName(String loginName)
Gets a member by their login name.
|
Member[] |
getMembersByID(long[] memberIDs)
Gets a list of members by their IDs.
|
String |
getMetadataLanguage()
Gets the current user's preferred metadata language.
|
MemberSearchResults |
getSearchResults(PageHandle pageHandle)
Gets the results of searching for members.
|
User |
getUserByLoginName(String loginName)
Gets a user by their login name.
|
User |
getUserByLoginNameInDomain(String loginName,
long domainID)
Gets a user in a specified domain by their login name.
|
Group[] |
listMemberOf(long memberID)
Gets the groups a member belongs to.
|
Member[] |
listMembers(long groupID)
Gets the members of a group.
|
MemberRight[] |
listRightsByID(long id)
Gets the rights for a member.
|
void |
removeListOfMembersFromGroup(long groupID,
long[] memberIDs)
Removes a list of members from a group.
|
void |
removeMemberFromGroup(long groupID,
long memberID)
Removes a member from a group.
|
PageHandle |
searchForMembers(MemberSearchOptions options)
Searches for members.
|
void |
setMetadataLanguage(String languageCode)
Sets the current user's preferred metadata language.
|
Member |
updateMember(Member member)
Updates a member.
|
void |
updatePassword(long memberID,
String newPassword,
String oldPassword)
Updates a user's password.
|
public void addListOfMembersToGroup(long groupID, long[] memberIDs)
groupID
- The ID of the group to add members to.memberIDs
- The IDs of the members to add to the group.SoapFaultException
- with fault codes:public void addMemberToGroup(long groupID, long memberID)
groupID
- The ID of the group to add a member to.memberID
- The ID of the member to add.SoapFaultException
- with fault codes:public void convertExternalUserToUser(long userID, long groupID, MemberPrivileges memberPrivileges)
userID
- The ID of the external user.groupID
- The ID of the group to add the user to.memberPrivileges
- The user's new privileges in the system.SoapFaultException
- with fault codes:public long createDomain(String name)
name
- The domain name.SoapFaultException
- with fault codes:public long createExternalGroup(String name, Long leaderID)
name
- The name of the group.leaderID
- The ID of the leader of the group.SoapFaultException
- with fault codes:public long createExternalUser(User user)
user
- The creation information for the user.SoapFaultException
- with fault codes:public long createGroup(String name, Long leaderID)
name
- The name of the group.leaderID
- The ID of the leader of the group.SoapFaultException
- with fault codes:public long createGroupInDomain(String name, Long leaderID, long domainID)
name
- The name of the group.leaderID
- The ID of the leader of the group.domainID
- The ID of the domain.SoapFaultException
- with fault codes:public Member createMember(Member member)
member
- The creation information for the member.SoapFaultException
- with fault codes:public long createUser(User user)
user
- The creation information for the user.SoapFaultException
- with fault codes:public long createUserInDomain(User user, long domainID)
user
- The creation information for the user.domainID
- The ID of the domain.SoapFaultException
- with fault codes:public void deleteListOfMembers(long[] memberIDs)
memberIDs
- The IDs of the members to delete.SoapFaultException
- with fault codes:public void deleteMember(long memberID)
memberID
- The ID of the member to delete.SoapFaultException
- with fault codes:public User getAuthenticatedUser()
SoapFaultException
- with fault codes:public Group getGroupByName(String name)
name
- The name of the group.SoapFaultException
- with fault codes:public Group getGroupByNameInDomain(String name, long domainID)
name
- The name of the group.domainID
- The ID of the domain.public Member getMemberById(long memberID)
memberID
- The ID of the member.SoapFaultException
- with fault codes:public Member getMemberByLoginName(String loginName)
loginName
- The login name of the member.SoapFaultException
- with fault codes:public Member[] getMembersByID(long[] memberIDs)
memberIDs
- The IDs of the members.SoapFaultException
- with fault codes:public String getMetadataLanguage()
SoapFaultException
- with fault codes:public MemberSearchResults getSearchResults(PageHandle pageHandle)
pageHandle
- The page handle of the search results.SoapFaultException
- with fault codes:public User getUserByLoginName(String loginName)
loginName
- The login name of the user.SoapFaultException
- with fault codes:public User getUserByLoginNameInDomain(String loginName, long domainID)
loginName
- The login name of the user.domainID
- The ID of the domain.public Group[] listMemberOf(long memberID)
memberID
- The ID of the member.SoapFaultException
- with fault codes:public Member[] listMembers(long groupID)
groupID
- The ID of the group.SoapFaultException
- with fault codes:public MemberRight[] listRightsByID(long id)
id
- The ID of memberSoapFaultException
- with fault codes:public void removeListOfMembersFromGroup(long groupID, long[] memberIDs)
groupID
- The ID of the group to remove members from.memberIDs
- The IDs of the members to remove.SoapFaultException
- with fault codes:public void removeMemberFromGroup(long groupID, long memberID)
groupID
- The ID of the group to remove a member from.memberID
- The ID of the member to remove.SoapFaultException
- with fault codes:public PageHandle searchForMembers(MemberSearchOptions options)
options
- The options used to search.SoapFaultException
- with fault codes:public void setMetadataLanguage(String languageCode)
languageCode
- The language code of the language to set to. If null, sets to the system default language.SoapFaultException
- with fault codes:public Member updateMember(Member member)
member
- The member's updated information.SoapFaultException
- with fault codes:public void updatePassword(long memberID, String newPassword, String oldPassword)
memberID
- The ID of the member to update the password for.newPassword
- The user's new password.oldPassword
- The user's old password (optional if user can administer users).SoapFaultException
- with fault codes:© Copyright 2017 OpenText Corp. All Rights Reserved.