Class SaperionClientImpl
- java.lang.Object
-
- com.lexmark.saperion.client.implementation.SaperionClientImpl
-
- All Implemented Interfaces:
SaperionClient
,java.lang.AutoCloseable
public class SaperionClientImpl extends java.lang.Object implements SaperionClient
This is the default implementation ofSaperionClient
.- Author:
- jschwarz
-
-
Constructor Summary
Constructors Constructor Description SaperionClientImpl(ServiceFactory serviceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
This method closes the client.ArchiveServiceClient
getArchiveService()
This method returns a client to search for specific archives.DocumentServiceClient
getDocumentService()
This method returns a client offering document operations.FolderServiceClient
getFolderService()
This method returns a client offering folder operations.LookupEntryServiceClient
getLookupEntryService()
This method returns a client offering lookup entry functionality.RecordServiceClient
getRecordService()
This method returns the client offering record operations.ServiceInformationClient
getServiceInformationClient()
This method returns a client that provides information about the service itself.UserAdministrationClient
getUserAdministrationService()
This method returns a client offering tenant, user and group management functionality.WorkflowServiceClient
getWorkflowService()
This method returns a client offering workflow functionality.
-
-
-
Constructor Detail
-
SaperionClientImpl
public SaperionClientImpl(ServiceFactory serviceFactory)
-
-
Method Detail
-
getWorkflowService
public WorkflowServiceClient getWorkflowService()
Description copied from interface:SaperionClient
This method returns a client offering workflow functionality.- Specified by:
getWorkflowService
in interfaceSaperionClient
- Returns:
- a workflow service client instance
-
getDocumentService
public DocumentServiceClient getDocumentService()
Description copied from interface:SaperionClient
This method returns a client offering document operations.- Specified by:
getDocumentService
in interfaceSaperionClient
- Returns:
- a document service client instance
-
getFolderService
public FolderServiceClient getFolderService()
Description copied from interface:SaperionClient
This method returns a client offering folder operations.- Specified by:
getFolderService
in interfaceSaperionClient
- Returns:
- a folder service client instance
-
getRecordService
public RecordServiceClient getRecordService()
Description copied from interface:SaperionClient
This method returns the client offering record operations.- Specified by:
getRecordService
in interfaceSaperionClient
- Returns:
- a record service client instance
-
getArchiveService
public ArchiveServiceClient getArchiveService()
Description copied from interface:SaperionClient
This method returns a client to search for specific archives.- Specified by:
getArchiveService
in interfaceSaperionClient
- Returns:
- an archive search client instance
-
getUserAdministrationService
public UserAdministrationClient getUserAdministrationService()
Description copied from interface:SaperionClient
This method returns a client offering tenant, user and group management functionality.- Specified by:
getUserAdministrationService
in interfaceSaperionClient
- Returns:
- a user management service client instance
-
getLookupEntryService
public LookupEntryServiceClient getLookupEntryService()
Description copied from interface:SaperionClient
This method returns a client offering lookup entry functionality.- Specified by:
getLookupEntryService
in interfaceSaperionClient
- Returns:
- a lookup entry service client instance
-
getServiceInformationClient
public ServiceInformationClient getServiceInformationClient()
Description copied from interface:SaperionClient
This method returns a client that provides information about the service itself.- Specified by:
getServiceInformationClient
in interfaceSaperionClient
- Returns:
- a client that returns information about the service
-
close
public void close() throws com.lexmark.saperion.exceptions.EcmException
Description copied from interface:SaperionClient
This method closes the client. It logs out the user and removes the underlying session. The result of calls to any other method after close has been called is undefined.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceSaperionClient
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
-