public interface LookupEntryService
| Modifier and Type | Method and Description |
|---|---|
String |
createLookupEntry(String definitionName,
Map<String,Object> indexData)
Creates a new lookup entry with the given index data in the given definition.
|
void |
deleteLookupEntry(String definitionName,
String id)
Deletes the lookup entry give by its id.
|
void |
updateLookEntry(String definitionName,
String id,
Map<String,Object> indexDataChanges)
Updates the lookup entry given by the id in the given ddc with the given properties.
|
String createLookupEntry(String definitionName, Map<String,Object> indexData) throws SaRMIAuthenticationException, SaRMIDDCException, SaRMISystemException, SaRMIUniqueConstraintViolationException, SaRMIDBException, MandatoryConstraintViolation
definitionName - the definition to create the entry inindexData - the index data of the new lookup entrySaRMIAuthenticationExceptionSaRMIDDCExceptionSaRMISystemExceptionSaRMIUniqueConstraintViolationExceptionSaRMIDBExceptionMandatoryConstraintViolationvoid updateLookEntry(String definitionName, String id, Map<String,Object> indexDataChanges) throws SaRMIAuthenticationException, SaRMIDDCException, SaRMISystemException, SaRMIDBException, UnknownIdException, MandatoryConstraintViolation, SaRMIUniqueConstraintViolationException
definitionName - the name of the definition the document is in.id - the id of the document to updateindexDataChanges - the new index values. Only the changed values need to be specified. If a property should
be deleted set it to DeleteDocumentProperty.INSTANCESaRMIAuthenticationExceptionSaRMIDDCExceptionSaRMISystemExceptionSaRMIDBExceptionUnknownIdExceptionMandatoryConstraintViolationSaRMIUniqueConstraintViolationExceptionvoid deleteLookupEntry(String definitionName, String id) throws SaRMIAuthenticationException, SaRMIDDCException, SaRMISystemException
definitionName - the name of the definition to delete fromid - the id of the lookup entry to deleteSaRMIAuthenticationExceptionSaRMIDDCExceptionSaRMISystemExceptionCopyright © 2016 SAPERION AG. All rights reserved.