Class FolderServiceClientImpl
- java.lang.Object
-
- com.lexmark.saperion.client.implementation.folder.FolderServiceClientImpl
-
- All Implemented Interfaces:
FolderServiceClient
public class FolderServiceClientImpl extends java.lang.Object implements FolderServiceClient
This is the default implementation ofFolderServiceClient.- Author:
- jschwarz
-
-
Constructor Summary
Constructors Constructor Description FolderServiceClientImpl(com.lexmark.saperion.folder.FolderService folderService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.lexmark.saperion.folder.FolderReferenceTypecreateFolder(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, java.lang.String folderName, java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> index)This method creates a new folder with the given input data.com.lexmark.saperion.folder.FolderReferenceTypecreateFolder(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, java.lang.String folderName, java.util.Map<java.lang.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.FolderReferenceTypecreateFolder(com.lexmark.saperion.folder.CreateFolderInputType properties)This method creates a new folder with the given input data.FolderClientresolve(com.lexmark.saperion.folder.FolderReferenceType reference)This method returns a client for the folder referenced.
-
-
-
Method Detail
-
resolve
public FolderClient resolve(com.lexmark.saperion.folder.FolderReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:FolderServiceClientThis method returns a client for the folder referenced.- Specified by:
resolvein 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, java.lang.String folderName, java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> index) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:FolderServiceClientThis method creates a new folder with the given input data.- Specified by:
createFolderin 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, java.lang.String folderName, java.util.Map<java.lang.String,com.lexmark.saperion.PropertyType> index, com.lexmark.saperion.folder.FolderReferenceType parent) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:FolderServiceClientThis method creates a new folder with the given input data.- Specified by:
createFolderin 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.EcmExceptionDescription copied from interface:FolderServiceClientThis method creates a new folder with the given input data.- Specified by:
createFolderin 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
-
-