Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation NuxeoDrive.CanMove

Nuxeo Drive: Can move

Description

Operation id NuxeoDrive.CanMove
Category Services
Label Nuxeo Drive: Can move
Requires
Since

Parameters

Name Description Type Required Default value
destId string yes  
srcId string yes  

Signature

Inputs void
Outputs blob

Implementation information

Implementation class org.nuxeo.drive.operations.NuxeoDriveCanMove
Contributing component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON definition

{
  "id" : "NuxeoDrive.CanMove",
  "label" : "Nuxeo Drive: Can move",
  "category" : "Services",
  "requires" : null,
  "description" : "Check if the document backing the file system item with the given source id can be moved to the document backing the file system item with the given destination id. Return the result as a JSON blob.",
  "url" : "NuxeoDrive.CanMove",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "destId",
    "description" : "Id of the destination file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "srcId",
    "description" : "Id of the source file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}