public interface DatabaseSession
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getCompleteDocumentById(DDC definition,
String id)
Gets the database properties of the document given by its SysRowId.
|
Map<String,Object> |
getDocumentById(DDC definition,
String id)
Gets the database properties of the document given by its SysRowId.
|
Map<String,Object> |
getUniqueDocument(DDC definition,
QueryExpression<Boolean> condition)
Gets the database properties of the unique document that fulfill the given condition.
|
List<Map<String,Object>> |
rawSearch(DDC definition,
QueryExpression<Boolean> filter)
Gets the list of database properties of the documents that match the given filter.
|
List<Map<String,Object>> |
searchDocuments(DDC definition,
QueryExpression<Boolean> filter)
Gets the list of database properties of the documents that match the given filter.
|
Map<String,Object> getDocumentById(DDC definition, String id) throws SaRMIDBException
definition
- the definition to search inid
- the sysrowid to search forSaRMIDBException
Map<String,Object> getCompleteDocumentById(DDC definition, String id) throws SaRMIDBException
getDocumentById(com.saperion.intf.DDC, String)
this call will also return system fields for internal use.definition
- the definition to search inid
- the sysrowid to search forSaRMIDBException
Map<String,Object> getUniqueDocument(DDC definition, QueryExpression<Boolean> condition) throws SaRMIDBException
definition
- the definition to search incondition
- the search filterSaRMIDBException
List<Map<String,Object>> searchDocuments(DDC definition, QueryExpression<Boolean> filter) throws SaRMIDBException
definition
- the definition to search infilter
- the search filterSaRMIDBException
List<Map<String,Object>> rawSearch(DDC definition, QueryExpression<Boolean> filter) throws SaRMIDBException
definition
- the definition to search infilter
- the search filterSaRMIDBException
Copyright © 2016 SAPERION AG. All rights reserved.