public class IndexingCommands extends Object
Constructor and Description |
---|
IndexingCommands(DocumentModel targetDocument) |
Modifier and Type | Method and Description |
---|---|
IndexingCommand |
add(IndexingCommand command) |
IndexingCommand |
add(String command,
boolean sync,
boolean recurse) |
boolean |
contains(String command) |
static IndexingCommands |
fromJSON(CoreSession session,
org.codehaus.jackson.JsonParser jp) |
static IndexingCommands |
fromJSON(CoreSession session,
String json) |
List<IndexingCommand> |
getCommands() |
DocumentModel |
getTargetDocument() |
String |
toJSON() |
public IndexingCommands(DocumentModel targetDocument)
public IndexingCommand add(String command, boolean sync, boolean recurse)
public IndexingCommand add(IndexingCommand command)
public DocumentModel getTargetDocument()
public boolean contains(String command)
public String toJSON() throws IOException
IOException
public static IndexingCommands fromJSON(CoreSession session, String json) throws ClientException
ClientException
public static IndexingCommands fromJSON(CoreSession session, org.codehaus.jackson.JsonParser jp) throws IOException
IOException
public List<IndexingCommand> getCommands()
Copyright © 2015 Nuxeo SA. All rights reserved.