Platform Explorer / Nuxeo Platform 6.0

Operation Directory.SuggestEntries

Get directory entries

Description

Get the entries of a directory. This is returning a blob containing a serialized JSON array. The input document, if specified, is used as a context for a potential local configuration of the directory.
Operation id Directory.SuggestEntries
Category Services
Label Get directory entries
Requires
Since

Parameters

Name Description Type Required Default value
directoryName string yes  
absoluteLabelSeparator string no  
canSelectParent boolean no  
caseSensitive boolean no  
contains boolean no  
dbl10n boolean no  
displayObsoleteEntries boolean no  
filterParent boolean no  
keySeparator string no  
labelFieldName string no  
lang string no  
localize boolean no  
searchTerm string no  

Signature

Inputs void
Outputs blob

Implementation information

Implementation class org.nuxeo.ecm.platform.ui.select2.automation.SuggestDirectoryEntries
Contributing component org.nuxeo.ecm.platform.ui.select2.opertion.contrib

JSON definition

{
  "id" : "Directory.SuggestEntries",
  "label" : "Get suggested directory entries",
  "category" : "Services",
  "requires" : null,
  "description" : "Get the entries suggestions of a directory. This is returning a blob containing a serialized JSON array. Prefix parameter is used to filter the entries.",
  "url" : "Directory.SuggestEntries",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "directoryName",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "absoluteLabelSeparator",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "canSelectParent",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "caseSensitive",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "contains",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "dbl10n",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "displayObsoleteEntries",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "filterParent",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "filters",
    "description" : "",
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "keySeparator",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "labelFieldName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "lang",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "limit",
    "description" : "",
    "type" : "int",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "localize",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "searchTerm",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}