Package net.bluemind.user.api
Interface IUserSettings
@Path("/users/{containerUid}")
public interface IUserSettings
-
Method Details
-
set
@POST @Path("{uid}/_settings") void set(@PathParam("uid") String uid, Map<String, String> settings) throws ServerFaultSetUser
settings- Parameters:
uid
- uid of the usersettings
- settings values- Throws:
ServerFault
-
get
@GET @Path("{uid}/_settings") Map<String,String> get(@PathParam("uid") String uid) throws ServerFault GetUser
settings- Parameters:
uid
- uid of the user- Returns:
- <Map<String, String>> user settings
- Throws:
ServerFault
-
setOne
@POST @Path("{uid}/_setting/{name}") void setOne(@PathParam("uid") String uid, @PathParam("name") String name, String value) throws ServerFault Create or update oneUser
setting- Parameters:
uid
- uid of the username
- setting namevalue
- setting value- Throws:
ServerFault
-
getOne
@GET @Path("{uid}/_setting/{name}") String getOne(@PathParam("uid") String uid, @PathParam("name") String name) throws ServerFault Get oneUser
setting value- Parameters:
uid
- uid of the username
- setting name- Returns:
- String setting value
- Throws:
ServerFault
-