@Path(value="users") public interface UserService extends AnyService<UserTO,UserPatch>
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(UserTO userTO,
boolean storePassword)
Creates a new user.
|
javax.ws.rs.core.Response |
status(StatusPatch statusPatch)
Performs a status update on given.
|
@POST
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response create(@NotNull
UserTO userTO,
@DefaultValue(value="true") @QueryParam(value="storePassword")
boolean storePassword)
userTO - user to be createdstorePassword - whether password shall be stored internally@POST
@Path(value="{key}/status")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response status(@NotNull
StatusPatch statusPatch)
statusPatch - status update detailsCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.