public class ExternalUserService extends java.lang.Object implements IInCoreExternalUser
Constructor and Description |
---|
ExternalUserService(BmContext context,
ItemValue<Domain> domain,
Container externalUserContainer) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
ExternalUser externalUser)
Create an external user
|
void |
delete(java.lang.String externalUserUid)
Delete an external user
|
ItemValue<ExternalUser> |
getComplete(java.lang.String uid)
Retrieve an existing external user
|
java.util.List<ItemValue<Group>> |
memberOf(java.lang.String uid)
Returns the list of
Group an external user is in |
java.util.List<java.lang.String> |
memberOfGroups(java.lang.String uid)
Returns the list of
Group an external user is in |
void |
update(java.lang.String uid,
ExternalUser externalUser)
Modify an existing external user
|
ValidationResult |
validate(java.lang.String[] externalUserUids)
Check that every uid corresponds to an existing group member
|
public void create(java.lang.String uid, ExternalUser externalUser) throws ServerFault
IExternalUser
create
in interface IExternalUser
ServerFault
public void update(java.lang.String uid, ExternalUser externalUser) throws ServerFault
IExternalUser
update
in interface IExternalUser
ServerFault
public void delete(java.lang.String externalUserUid) throws ServerFault
IExternalUser
delete
in interface IExternalUser
ServerFault
public ItemValue<ExternalUser> getComplete(java.lang.String uid) throws ServerFault
IExternalUser
getComplete
in interface IExternalUser
ServerFault
public ValidationResult validate(java.lang.String[] externalUserUids) throws ServerFault
IInCoreGroupMember
validate
in interface IInCoreGroupMember
ServerFault
public java.util.List<ItemValue<Group>> memberOf(java.lang.String uid) throws ServerFault
IExternalUser
Group
an external user is inmemberOf
in interface IExternalUser
ServerFault
public java.util.List<java.lang.String> memberOfGroups(java.lang.String uid) throws ServerFault
IExternalUser
Group
an external user is inmemberOfGroups
in interface IExternalUser
ServerFault
Copyright © 2021. All Rights Reserved.