Package org.apache.unomi.api.services
Interface UserListService
-
- All Known Implementing Classes:
UserListServiceImpl
public interface UserListService
Created by amidani on 24/03/2017.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<UserList>
getAllUserLists()
PartialList<Metadata>
getUserListMetadatas(int offset, int size, String sortBy)
Retrieves user lists metadatas, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.
-
-
-
Method Detail
-
getUserListMetadatas
PartialList<Metadata> getUserListMetadatas(int offset, int size, String sortBy)
Retrieves user lists metadatas, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.- Parameters:
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
ordesc
.- Returns:
- a
PartialList
ofUserList
metadata
-
-