Package org.apache.unomi.lists.rest
Class UserListServiceEndPoint
- java.lang.Object
-
- org.apache.unomi.lists.rest.UserListServiceEndPoint
-
@Produces("application/json") @Path("/lists") public class UserListServiceEndPoint extends Object
- Author:
- Christophe Laprun
-
-
Constructor Summary
Constructors Constructor Description UserListServiceEndPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String listId)
PartialList<Metadata>
getListMetadatas()
PartialList<Metadata>
getListMetadatas(Query query)
UserList
load(String listId)
void
save(UserList list)
void
setUserListService(UserListService userListService)
-
-
-
Method Detail
-
setUserListService
public void setUserListService(UserListService userListService)
-
getListMetadatas
@GET @Path("/") public PartialList<Metadata> getListMetadatas()
-
getListMetadatas
@POST @Path("/query") public PartialList<Metadata> getListMetadatas(Query query)
-
save
@POST @Path("/") public void save(UserList list)
-
delete
@DELETE @Path("/{listId}") public void delete(@PathParam("listId") String listId)
-
-