public interface LookupEntryService
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.LookupEntryReferenceType |
createLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionReference,
Map<String,Object> indexData)
Creates a new lookup entry with the given index data in the given definition.
|
com.lexmark.saperion.LookupEntryReferenceType |
createLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionReference,
Map<String,Object> indexData,
List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
Creates a new lookup entry with the given index data in the given definition with the given access control lists.
|
void |
deleteLookupEntry(com.lexmark.saperion.LookupEntryReferenceType id)
Deletes the lookup entry give by its id.
|
List<com.lexmark.saperion.administration.AclReferenceType> |
getAccessControlLists(com.lexmark.saperion.LookupEntryReferenceType reference)
This method returns the list of access control lists set on a given lookup entry.
|
Set<com.lexmark.saperion.administration.AccessRight> |
getAccessOnEntry(com.lexmark.saperion.LookupEntryReferenceType reference)
This method returns the current users rights on the given lookup entry.
|
com.lexmark.saperion.LookupEntryType |
getLookupEntry(com.lexmark.saperion.LookupEntryReferenceType reference)
This method returns the lookup entry the given reference references.
|
List<com.lexmark.saperion.LookupEntryType> |
searchLookupEntries(com.lexmark.saperion.document.DocumentDefinitionReferenceType documentDefinitionReference,
QueryExpression<Boolean> filter)
This method lists the lookup entries that meet a given filtering condition.
|
com.lexmark.saperion.LookupEntryType |
searchUniqueLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType documentDefinitionReference,
QueryExpression<Boolean> filter)
This method returns the single lookup entry from a given ddc that meets the given filtering condition.
|
void |
updateLookEntry(com.lexmark.saperion.LookupEntryReferenceType id,
Map<String,Object> indexDataChanges)
Updates the lookup entry given by the id in the given ddc with the given properties.
|
void |
updateLookEntry(com.lexmark.saperion.LookupEntryReferenceType id,
Map<String,Object> indexDataChanges,
List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
Updates the lookup entry given by the id in the given ddc with the given properties and the given access control
lists.
|
com.lexmark.saperion.LookupEntryReferenceType createLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionReference,
Map<String,Object> indexData,
List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
throws SaBasicException
definitionReference - the definition to create the entry inindexData - the index data of the new lookup entryaclReferences - the access control lists securing the new lookup entrySaBasicExceptioncom.lexmark.saperion.LookupEntryReferenceType createLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType definitionReference,
Map<String,Object> indexData)
throws SaBasicException
definitionReference - the definition to create the entry inindexData - the index data of the new lookup entrySaBasicExceptionvoid updateLookEntry(com.lexmark.saperion.LookupEntryReferenceType id,
Map<String,Object> indexDataChanges,
List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
throws SaBasicException
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.INSTANCEaclReferences - the new access control lists securing the lookup entry or null if no change in the access
control lists is intendedSaBasicExceptionvoid updateLookEntry(com.lexmark.saperion.LookupEntryReferenceType id,
Map<String,Object> indexDataChanges)
throws SaBasicException
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.INSTANCESaBasicExceptionvoid deleteLookupEntry(com.lexmark.saperion.LookupEntryReferenceType id)
throws SaBasicException
id - the id of the lookup entry to deleteSaBasicExceptioncom.lexmark.saperion.LookupEntryType searchUniqueLookupEntry(com.lexmark.saperion.document.DocumentDefinitionReferenceType documentDefinitionReference,
QueryExpression<Boolean> filter)
throws SaBasicException
documentDefinitionReference - a reference to a lookup ddc to search infilter - a filter defining which unique lookup entry to returnSaBasicExceptionList<com.lexmark.saperion.LookupEntryType> searchLookupEntries(com.lexmark.saperion.document.DocumentDefinitionReferenceType documentDefinitionReference, QueryExpression<Boolean> filter) throws SaBasicException
documentDefinitionReference - a reference to a lookup ddc to search infilter - a filter defining which lookup entries to returnSaBasicExceptioncom.lexmark.saperion.LookupEntryType getLookupEntry(com.lexmark.saperion.LookupEntryReferenceType reference)
throws SaBasicException
UnknownReferenceException if there is no lookup entry with the given reference.reference - a reference to the lookup entry to obtainSaBasicExceptionList<com.lexmark.saperion.administration.AclReferenceType> getAccessControlLists(com.lexmark.saperion.LookupEntryReferenceType reference) throws SaBasicException
reference - a reference to the lookup entry to obtain the access control lists forSaBasicExceptionSet<com.lexmark.saperion.administration.AccessRight> getAccessOnEntry(com.lexmark.saperion.LookupEntryReferenceType reference) throws SaBasicException
reference - the id of the lookup entry to evaluate the current users rights forSaBasicExceptionCopyright © 2016 SAPERION AG. All rights reserved.