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
IOExceptionpublic static IndexingCommands fromJSON(CoreSession session, String json) throws ClientException
ClientExceptionpublic static IndexingCommands fromJSON(CoreSession session, org.codehaus.jackson.JsonParser jp) throws Exception
Exceptionpublic List<IndexingCommand> getCommands()
Copyright © 2014 Nuxeo SA. All rights reserved.