public class DeleteDirectoryEntries extends AbstractDirectoryOperation
Directory
.
Entries ids to delete are sent through a JSON array.
Instead of being deleted, the entries can be marked as obsolete using the markObsolete
parameter.
Returns deleted, or marked as obsolete, entries id as a JSON array.
Modifier and Type | Field and Description |
---|---|
protected OperationContext |
ctx |
protected String |
directoryName |
protected DirectoryService |
directoryService |
static String |
ID |
protected String |
jsonEntries |
protected boolean |
markObsolete |
protected SchemaManager |
schemaManager |
Constructor and Description |
---|
DeleteDirectoryEntries() |
Modifier and Type | Method and Description |
---|---|
protected void |
markObsoleteOrDelete(Session session,
String id) |
Blob |
run() |
canManageDirectories, createActionContext, validateCanManageDirectories
public static final String ID
protected OperationContext ctx
protected DirectoryService directoryService
protected SchemaManager schemaManager
protected String directoryName
protected String jsonEntries
protected boolean markObsolete
public DeleteDirectoryEntries()
public Blob run() throws IOException
IOException
protected void markObsoleteOrDelete(Session session, String id)
Copyright © 2015 Nuxeo SA. All rights reserved.