public interface FolderService
Modifier and Type | Method and Description |
---|---|
void |
addDocuments(FolderReferenceType folder,
List<DocumentReferenceType> documents)
This method adds the given documents to the given folder.
|
FolderReferenceType |
createFolder(ArchiveReferenceType archiveReference,
String folderName,
Map<String,PropertyType> index,
FolderReferenceType parent)
This method creates a new folder in the given folder archive.
|
FolderReferenceType |
createFolder(CreateFolderInputType properties)
This method creates a new folder in the given folder archive.
|
void |
delete(FolderReferenceType reference)
This method deletes the folder given by its reference.
|
List<AclReferenceType> |
getACLs(FolderReferenceType reference)
This method returns the ACLs of the referenced folder.
|
FolderListItemType |
getFolder(FolderReferenceType reference)
This method returns the folder given by its reference.
|
void |
moveFolder(FolderReferenceType reference,
FolderReferenceType target)
This method moves the given folder to the given target.
|
SearchExecutionService<DocumentRevisionListItemType> |
newContainedDocumentSearchService(FolderReferenceType folder)
This method returns a search execution service that lists the documents contained in the given folder.
|
SearchExecutionService<FolderListItemType> |
newContainedFolderSearchService(FolderReferenceType parent)
This method creates a new search execution service that lists the directly contained folders of the
folder given.
|
SearchExecutionService<FolderListItemType> |
newFolderSearchService(ArchiveReferenceType archive)
This method creates a new search execution service that all folders in a folder archive.
|
SearchExecutionService<PropertyType> |
newMultiValueFieldSearchService(FolderReferenceType folder,
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 folder.
|
void |
removeDocument(FolderReferenceType folder,
DocumentReferenceType document)
This method removes the given document from the given folder.
|
void |
updateFolder(FolderReferenceType reference,
Map<String,PropertyType> index)
This method updates a folder with the given index data.
|
void |
updateFolder(FolderReferenceType folderReference,
UpdateFolderInputType properties)
This method updates a folder with the given properties.
|
FolderReferenceType createFolder(ArchiveReferenceType archiveReference, String folderName, Map<String,PropertyType> index, FolderReferenceType parent) throws EcmException
archiveReference
- a reference to the folder archive to create the folder infolderName
- the name of the folderindex
- the index data for the folderparent
- a reference to the parent of the folder or null if the root folder should be the parentEcmException
FolderReferenceType createFolder(CreateFolderInputType properties) throws EcmException
properties
- the properties of the new folder containing the parent, the index-data, ACLs and the archiveEcmException
FolderListItemType getFolder(FolderReferenceType reference) throws EcmException
reference
- a reference to the folder to loadEcmException
void updateFolder(FolderReferenceType reference, Map<String,PropertyType> index) throws EcmException
reference
- a reference to the folder to updateindex
- the new index data of the folderEcmException
void updateFolder(FolderReferenceType folderReference, UpdateFolderInputType properties) throws EcmException
folderReference
- a reference to the folder to updateproperties
- the properties to updateEcmException
void delete(FolderReferenceType reference) throws EcmException
reference
- a reference to the folder to deleteEcmException
SearchExecutionService<FolderListItemType> newContainedFolderSearchService(FolderReferenceType parent) throws EcmException
parent
- a reference to the folder to get the directly contained folders forEcmException
SearchExecutionService<FolderListItemType> newFolderSearchService(ArchiveReferenceType archive) throws EcmException
archive
- a reference to the archive to obtain the search service forEcmException
void moveFolder(FolderReferenceType reference, FolderReferenceType target) throws EcmException
reference
- a reference to the folder to movetarget
- a reference to the new parent of the folderEcmException
SearchExecutionService<DocumentRevisionListItemType> newContainedDocumentSearchService(FolderReferenceType folder) throws EcmException
folder
- a reference to the folder to list the contained documents ofEcmException
void addDocuments(FolderReferenceType folder, List<DocumentReferenceType> documents) throws EcmException
folder
- a reference to the folder to file the documents indocuments
- a list with references to the documents to fileEcmException
void removeDocument(FolderReferenceType folder, DocumentReferenceType document) throws EcmException
folder
- a reference to the folder to remove the document fromdocument
- a reference to the document to remove from the folderEcmException
SearchExecutionService<PropertyType> newMultiValueFieldSearchService(FolderReferenceType folder, String fieldName) throws EcmException
folder
- the folder to search infieldName
- the multi value field to search inEcmException
List<AclReferenceType> getACLs(FolderReferenceType reference) throws EcmException
reference
- a reference to the folderEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.