public interface LookupEntryService
Modifier and Type | Method and Description |
---|---|
LookupEntryReferenceType |
createLookupEntry(ArchiveReferenceType archiveReference,
Map<String,PropertyType> properties)
Creates a new lookup entry with the given index data in the given definition.
|
LookupEntryReferenceType |
createLookupEntry(CreateLookupEntryInputType properties)
Creates a new lookup entry with the given index data in the given definition.
|
void |
deleteLookupEntry(LookupEntryReferenceType id)
Deletes the lookup entry give by its id.
|
List<AclReferenceType> |
getACLs(LookupEntryReferenceType id)
This method returns the ACLs currently set on the specified lookup entry.
|
LookupEntryListItemType |
getLookupEntry(LookupEntryReferenceType reference)
This method returns the lookup entry the given reference references.
|
SearchExecutionService<PropertyType> |
newMultiValueFieldSearchService(LookupEntryReferenceType lookupEntry,
String fieldName)
This method creates a new search service that searches in the values that are set on the given multi value field
for the given lookup entry.
|
SearchExecutionService<LookupEntryListItemType> |
newSearchService(ArchiveReferenceType archive)
This method creates a new search service that searches lookup entries in the given archive.
|
void |
updateLookupEntry(LookupEntryReferenceType id,
Map<String,PropertyType> properties)
Updates the lookup entry given by the id in the given ddc with the given properties.
|
void |
updateLookupEntry(LookupEntryReferenceType id,
UpdateLookupEntryInputType properties)
Updates the lookup entry given by the id in the given ddc with the given properties.
|
LookupEntryReferenceType createLookupEntry(ArchiveReferenceType archiveReference, Map<String,PropertyType> properties) throws EcmException
archiveReference
- the reference to the archive to create the entry inproperties
- the properties of the new lookup entryEcmException
LookupEntryReferenceType createLookupEntry(CreateLookupEntryInputType properties) throws EcmException
properties
- the properties of the new lookup entryEcmException
void updateLookupEntry(LookupEntryReferenceType id, UpdateLookupEntryInputType properties) throws EcmException
id
- the id of the document to updateproperties
- the new properties. For index-data, only the changed values need to be specified.
If a property should be deleted set it to an instance of PropertyType
whose value
is null. If the set of ACLs is not null, it will replace the set of ACLs currently set on
the lookup entry.EcmException
void updateLookupEntry(LookupEntryReferenceType id, Map<String,PropertyType> properties) throws EcmException
id
- the id of the document to updateproperties
- the new properties. For index-data, only the changed values need to be specified.
If a property should be deleted set it to an instance of PropertyType
whose value
is null.EcmException
List<AclReferenceType> getACLs(LookupEntryReferenceType id) throws EcmException
id
- the reference to the lookup entryEcmException
- when the ACLs could not be loadedvoid deleteLookupEntry(LookupEntryReferenceType id) throws EcmException
id
- the id of the lookup entry to deleteEcmException
LookupEntryListItemType getLookupEntry(LookupEntryReferenceType reference) throws EcmException
ResourceNotFoundException
if there is no lookup entry with
the given reference.reference
- a reference to the lookup entry to obtainEcmException
SearchExecutionService<LookupEntryListItemType> newSearchService(ArchiveReferenceType archive) throws EcmException
archive
- a reference to the archive to searchEcmException
SearchExecutionService<PropertyType> newMultiValueFieldSearchService(LookupEntryReferenceType lookupEntry, String fieldName) throws EcmException
lookupEntry
- the lookup entry to search infieldName
- the multi value field to search inEcmException
- signalizes a system errorCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.