public class RenameConnector extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
RenameConnector() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getObjectId(String nodePath)
Gets _objectid_ of the renamed node.
|
javax.ws.rs.core.Response |
rename(String oldPath,
String newTitle)
Calls RenameConnector REST service to execute the "_rename_" process.
|
public javax.ws.rs.core.Response getObjectId(String nodePath) throws Exception
nodePath - The node pathException - The exception@RolesAllowed(value="users") public javax.ws.rs.core.Response rename(String oldPath, String newTitle) throws Exception
oldPath - The old path of the renamed node with syntax: [workspace:node path]newTitle - The new title of the node.Exception - The exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.