Class FolderServiceClientImpl
java.lang.Object
com.lexmark.saperion.client.implementation.folder.FolderServiceClientImpl
- All Implemented Interfaces:
FolderServiceClient
This is the default implementation of
FolderServiceClient
.- Author:
- jschwarz
-
Constructor Summary
ConstructorsConstructorDescriptionFolderServiceClientImpl
(com.lexmark.saperion.folder.FolderService folderService) -
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.
-
Constructor Details
-
FolderServiceClientImpl
public FolderServiceClientImpl(com.lexmark.saperion.folder.FolderService folderService)
-
-
Method Details
-
resolve
public FolderClient resolve(com.lexmark.saperion.folder.FolderReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:FolderServiceClient
This method returns a client for the folder referenced.- Specified by:
resolve
in interfaceFolderServiceClient
- Parameters:
reference
- a reference to the folder- Returns:
- a client for the folder referenced
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
createFolder
public 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.EcmExceptionDescription copied from interface:FolderServiceClient
This method creates a new folder with the given input data.- Specified by:
createFolder
in interfaceFolderServiceClient
- 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
public 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.EcmExceptionDescription copied from interface:FolderServiceClient
This method creates a new folder with the given input data.- Specified by:
createFolder
in interfaceFolderServiceClient
- 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
public com.lexmark.saperion.folder.FolderReferenceType createFolder(com.lexmark.saperion.folder.CreateFolderInputType properties) throws com.lexmark.saperion.exceptions.EcmException Description copied from interface:FolderServiceClient
This method creates a new folder with the given input data.- Specified by:
createFolder
in interfaceFolderServiceClient
- Parameters:
properties
- the properties of the new folder- Returns:
- a reference to the new folder
- Throws:
com.lexmark.saperion.exceptions.EcmException
- indicates an error
-