@RolesAllowed(value="users") public class AddOnRestService extends org.exoplatform.wcm.connector.BaseConnector implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Class and Description |
|---|---|
class |
AddOnRestService.CommentMessage |
| Constructor and Description |
|---|
AddOnRestService(org.exoplatform.portal.config.UserACL userACL) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteComment(javax.ws.rs.core.SecurityContext sc,
javax.ws.rs.core.UriInfo uriInfo,
String jcrPath,
String commentId) |
javax.ws.rs.core.Response |
editComment(javax.ws.rs.core.SecurityContext sc,
javax.ws.rs.core.UriInfo uriInfo,
String jcrPath,
String commentId,
String newComment) |
javax.ws.rs.core.Response |
getComments(javax.ws.rs.core.SecurityContext sc,
javax.ws.rs.core.UriInfo uriInfo,
String jcrPath) |
protected String |
getContentStorageType() |
protected javax.jcr.Node |
getRootContentStorage(javax.jcr.Node parentNode) |
javax.ws.rs.core.Response |
migrate(javax.ws.rs.core.SecurityContext sc,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
migrateModel(javax.ws.rs.core.SecurityContext sc,
javax.ws.rs.core.UriInfo uriInfo) |
void |
registerNodeTypes(String nodeTypeFilesName,
int alreadyExistsBehaviour) |
boolean |
upgrade() |
buildXMLResponseCommon, buildXMLResponseForContentStorage, buildXMLResponseForPortal, buildXMLResponseForRoot, buildXMLResponseOnExpand, getContent, getContent, getCorrectContentStorage, getCurrentPortalNode, getResponse, getWebContentpublic AddOnRestService(org.exoplatform.portal.config.UserACL userACL)
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response migrateModel(@Context javax.ws.rs.core.SecurityContext sc, @Context javax.ws.rs.core.UriInfo uriInfo)
public void registerNodeTypes(String nodeTypeFilesName, int alreadyExistsBehaviour) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response migrate(@Context javax.ws.rs.core.SecurityContext sc, @Context javax.ws.rs.core.UriInfo uriInfo)
@RolesAllowed(value="users") public javax.ws.rs.core.Response editComment(@Context javax.ws.rs.core.SecurityContext sc, @Context javax.ws.rs.core.UriInfo uriInfo, String jcrPath, String commentId, String newComment) throws Exception
Exception@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteComment(@Context javax.ws.rs.core.SecurityContext sc, @Context javax.ws.rs.core.UriInfo uriInfo, String jcrPath, String commentId) throws Exception
Exceptionpublic javax.ws.rs.core.Response getComments(@Context
javax.ws.rs.core.SecurityContext sc,
@Context
javax.ws.rs.core.UriInfo uriInfo,
String jcrPath)
throws Exception
Exceptionprotected javax.jcr.Node getRootContentStorage(javax.jcr.Node parentNode)
throws Exception
getRootContentStorage in class org.exoplatform.wcm.connector.BaseConnectorExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.