org.wso2.carbon.registry.rest.api
Class Move

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.RegistryRestSuper
      extended by org.wso2.carbon.registry.rest.api.Move

public class Move
extends RegistryRestSuper

This class is to handle resource move operation according to the REST verb POST.


Constructor Summary
Move()
           
 
Method Summary
 javax.ws.rs.core.Response moveResource(String resourcePath, String destinationPath, String JWTToken)
          This method to move the registry resource.
 
Methods inherited from class org.wso2.carbon.registry.rest.api.RegistryRestSuper
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Move

public Move()
Method Detail

moveResource

public javax.ws.rs.core.Response moveResource(String resourcePath,
                                              String destinationPath,
                                              @HeaderParam(value="X-JWT-Assertion")
                                              String JWTToken)
This method to move the registry resource.

Parameters:
resourcePath - - Source path of the resource.
destinationPath - - Destination path of the resource.
JWTToken - - Access token.
Returns:
- HTTP 204 No Content


Copyright © 2015 WSO2. All rights reserved.