Class FolderServiceClientImpl

java.lang.Object
com.lexmark.saperion.client.implementation.folder.FolderServiceClientImpl
All Implemented Interfaces:
FolderServiceClient

public class FolderServiceClientImpl extends Object implements FolderServiceClient
This is the default implementation of FolderServiceClient.
Author:
jschwarz
  • Constructor Summary

    Constructors
    Constructor
    Description
    FolderServiceClientImpl(com.lexmark.saperion.folder.FolderService folderService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface FolderServiceClient
      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.EcmException
      Description copied from interface: FolderServiceClient
      This method creates a new folder with the given input data.
      Specified by:
      createFolder in interface FolderServiceClient
      Parameters:
      archiveReference - the archive in which the folder is stored
      folderName - the name of the folder
      index - 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.EcmException
      Description copied from interface: FolderServiceClient
      This method creates a new folder with the given input data.
      Specified by:
      createFolder in interface FolderServiceClient
      Parameters:
      archiveReference - the archive in which the folder is stored
      folderName - the name of the folder
      index - 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 interface FolderServiceClient
      Parameters:
      properties - the properties of the new folder
      Returns:
      a reference to the new folder
      Throws:
      com.lexmark.saperion.exceptions.EcmException - indicates an error