public class FavoriteRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Class and Description |
|---|---|
class |
FavoriteRESTService.FavoriteNode |
class |
FavoriteRESTService.ListResultNode |
| Constructor and Description |
|---|
FavoriteRESTService(FavoriteService favoriteService,
ManageDriveService manageDriveService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getFavoriteByUser(String repoName,
String workspaceName,
String userName,
String showItems)
Returns a list of favorite documents of a given user.
|
public FavoriteRESTService(FavoriteService favoriteService, ManageDriveService manageDriveService)
public javax.ws.rs.core.Response getFavoriteByUser(String repoName, String workspaceName, String userName, String showItems) throws Exception
repoName - The repository name.workspaceName - The workspace name.userName - The username.showItems - Shows the number of items per page.ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.