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 entrySaRMIAuthenticationException
SaRMIDDCException
SaRMISystemException
SaRMIUniqueConstraintViolationException
SaRMIDBException
MandatoryConstraintViolation
void 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.INSTANCE
SaRMIAuthenticationException
SaRMIDDCException
SaRMISystemException
SaRMIDBException
UnknownIdException
MandatoryConstraintViolation
SaRMIUniqueConstraintViolationException
void 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 deleteSaRMIAuthenticationException
SaRMIDDCException
SaRMISystemException
Copyright © 2016 SAPERION AG. All rights reserved.