public class FavoriteRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Class and Description |
|---|---|
class |
FavoriteRESTService.FavoriteNode |
class |
FavoriteRESTService.ListResultNode |
| Modifier and Type | Field and Description |
|---|---|
static String[] |
SPECIFIC_FOLDERS |
| Constructor and Description |
|---|
FavoriteRESTService() |
| Modifier and Type | Method and Description |
|---|---|
List<javax.jcr.Node> |
getAllFavoritesByUser(String workspace,
String repository,
javax.jcr.Node userNode) |
javax.ws.rs.core.Response |
getFavoriteByUser(String userName,
String showItems) |
javax.ws.rs.core.Response |
getFavoriteByUser(String repoName,
String wsName,
String userName,
String showItems) |
javax.ws.rs.core.Response |
getFavoriteNode(String userName) |
void |
getListDocument(javax.jcr.Node node,
List<javax.jcr.Node> listNodes) |
static String |
getNodeTypeIcon(javax.jcr.Node node,
String appended) |
public static final String[] SPECIFIC_FOLDERS
public javax.ws.rs.core.Response getFavoriteByUser(String userName, String showItems) throws Exception
Exceptionpublic javax.ws.rs.core.Response getFavoriteByUser(String repoName, String wsName, String userName, String showItems) throws Exception
Exceptionpublic javax.ws.rs.core.Response getFavoriteNode(String userName) throws Exception
Exceptionpublic static String getNodeTypeIcon(javax.jcr.Node node, String appended) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void getListDocument(javax.jcr.Node node,
List<javax.jcr.Node> listNodes)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.