Constructor and Description |
---|
UserListServiceEndPoint() |
Modifier and Type | Method and Description |
---|---|
List<Metadata> |
getUserListsMetadatas(int offset,
int size,
String sortBy)
Retrieves the 50 first
UserList metadatas. |
void |
setUserListService(UserListService userListService) |
public void setUserListService(UserListService userListService)
@GET @Path(value="/") public List<Metadata> getUserListsMetadatas(@QueryParam(value="offset") @DefaultValue(value="0") int offset, @QueryParam(value="size") @DefaultValue(value="50") int size, @QueryParam(value="sort") String sortBy)
UserList
metadatas.offset
- zero or a positive integer specifying the position of the first element in the total ordered collection of matching elementssize
- a positive integer specifying how many matching elements should be retrieved or -1
if all of them should be retrievedsortBy
- an optional (null
if no sorting is required) String of comma (,
) separated property names on which ordering should be performed, ordering
elements according to the property order in the
String, considering each in turn and moving on to the next one in case of equality of all preceding ones. Each property name is optionally followed by
a column (:
) and an order specifier: asc
or desc
.UserList
metadataCopyright © 2014–2022 Apache Software Foundation. All rights reserved.