Interface FolderServiceClient
- All Known Implementing Classes:
FolderServiceClientImpl
public interface FolderServiceClient
This client provides functionality concerning folders.
- Author:
- jschwarz
-
Method Summary
Modifier and TypeMethodDescriptioncom.lexmark.saperion.folder.FolderReferenceType
createFolder
(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, String folderName, Map<String, com.lexmark.saperion.PropertyType> index) This method creates a new folder with the given input data.com.lexmark.saperion.folder.FolderReferenceType
createFolder
(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, String folderName, Map<String, com.lexmark.saperion.PropertyType> index, com.lexmark.saperion.folder.FolderReferenceType parent) This method creates a new folder with the given input data.com.lexmark.saperion.folder.FolderReferenceType
createFolder
(com.lexmark.saperion.folder.CreateFolderInputType properties) This method creates a new folder with the given input data.resolve
(com.lexmark.saperion.folder.FolderReferenceType reference) This method returns a client for the folder referenced.
-
Method Details
-
resolve
FolderClient resolve(com.lexmark.saperion.folder.FolderReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException This method returns a client for the folder referenced.- Parameters:
reference
- a reference to the folder- Returns:
- a client for the folder referenced
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
createFolder
com.lexmark.saperion.folder.FolderReferenceType createFolder(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, String folderName, Map<String, com.lexmark.saperion.PropertyType> index) throws com.lexmark.saperion.exceptions.EcmExceptionThis method creates a new folder with the given input data.- Parameters:
archiveReference
- the archive in which the folder is storedfolderName
- the name of the folderindex
- the folder index data- Returns:
- a reference to the new folder
- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates an error
-
createFolder
com.lexmark.saperion.folder.FolderReferenceType createFolder(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, String folderName, Map<String, com.lexmark.saperion.PropertyType> index, com.lexmark.saperion.folder.FolderReferenceType parent) throws com.lexmark.saperion.exceptions.EcmExceptionThis method creates a new folder with the given input data.- Parameters:
archiveReference
- the archive in which the folder is storedfolderName
- the name of the folderindex
- the folder index data- Returns:
- a reference to the new folder
- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates an error
-
createFolder
com.lexmark.saperion.folder.FolderReferenceType createFolder(com.lexmark.saperion.folder.CreateFolderInputType properties) throws com.lexmark.saperion.exceptions.EcmException This method creates a new folder with the given input data.- Parameters:
properties
- the properties of the new folder- Returns:
- a reference to the new folder
- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates an error
-