public class DocumentRestService extends Object
| Constructor and Description |
|---|
DocumentRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
backup(String query,
String filepath)
This method creates a backup of the result set form a JQPL query.
|
org.imixs.workflow.xml.XMLCount |
countEntitiesByQuery(String query)
Returns the size of a result set by Query
|
javax.ws.rs.core.Response |
deleteEntity(String uniqueid)
This method deletes an entity
|
org.imixs.workflow.xml.DocumentCollection |
findDocumentsByQuery(String query,
int pageSize,
int pageIndex,
String sortBy,
boolean sortReverse,
String items)
Returns a result set by lucene Search Query
|
org.imixs.workflow.xml.XMLItemCollection |
getConfiguration()
Returns the IndexFieldListNoAnalyse from the lucensUpdateService
|
org.imixs.workflow.xml.XMLItemCollection |
getDocument(String uniqueid,
String items)
returns a single document defined by $uniqueid
|
javax.ws.rs.core.StreamingOutput |
getHelpHTML() |
javax.ws.rs.core.Response |
putEntity(org.imixs.workflow.xml.XMLItemCollection xmlworkitem)
The method saves a document provided in xml format.
|
javax.ws.rs.core.Response |
restore(String filepath)
This method restores a backup from the fileSystem
|
public javax.ws.rs.core.StreamingOutput getHelpHTML()
public org.imixs.workflow.xml.XMLItemCollection getDocument(String uniqueid, String items)
uniqueid - public org.imixs.workflow.xml.DocumentCollection findDocumentsByQuery(String query, int pageSize, int pageIndex, String sortBy, boolean sortReverse, String items)
query - pageSize - pageIndex - items - public org.imixs.workflow.xml.XMLCount countEntitiesByQuery(String query)
query - public javax.ws.rs.core.Response putEntity(org.imixs.workflow.xml.XMLItemCollection xmlworkitem)
xmlworkitem - - entity to be savedpublic javax.ws.rs.core.Response deleteEntity(String uniqueid)
public javax.ws.rs.core.Response backup(String query, String filepath)
query - start - count - filepath - - path in server filesystempublic javax.ws.rs.core.Response restore(String filepath)
filepath - - path in server fileSystemCopyright © 2006–2016 Imixs Software Solutions GmbH. All rights reserved.