Class GetDirectoryEntries
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.GetDirectoryEntries
-
public class GetDirectoryEntries extends Object
Return the content of aDirectory
as a JSON StringBlob- Author:
- Quentin Lamerand
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContext
ctx
protected String
directoryName
protected DirectoryService
directoryService
static String
ID
protected String
lang
protected SchemaManager
schemaManager
protected boolean
translateLabels
-
Constructor Summary
Constructors Constructor Description GetDirectoryEntries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Locale
getLocale()
Blob
run()
Blob
run(DocumentModel doc)
protected String
translate(String key)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
directoryService
protected DirectoryService directoryService
-
schemaManager
protected SchemaManager schemaManager
-
directoryName
protected String directoryName
-
translateLabels
protected boolean translateLabels
-
-
Constructor Detail
-
GetDirectoryEntries
public GetDirectoryEntries()
-
-
Method Detail
-
run
public Blob run(DocumentModel doc) throws IOException
- Throws:
IOException
-
run
public Blob run() throws IOException
- Throws:
IOException
-
-