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 voidclose()This method closes the client.ArchiveServiceClientgetArchiveService()This method returns a client to search for specific archives.DocumentServiceClientgetDocumentService()This method returns a client offering document operations.FolderServiceClientgetFolderService()This method returns a client offering folder operations.LookupEntryServiceClientgetLookupEntryService()This method returns a client offering lookup entry functionality.RecordServiceClientgetRecordService()This method returns the client offering record operations.ServiceInformationClientgetServiceInformationClient()This method returns a client that provides information about the service itself.UserAdministrationClientgetUserAdministrationService()This method returns a client offering tenant, user and group management functionality.WorkflowServiceClientgetWorkflowService()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:SaperionClientThis method returns a client offering workflow functionality.- Specified by:
getWorkflowServicein interfaceSaperionClient- Returns:
- a workflow service client instance
-
getDocumentService
public DocumentServiceClient getDocumentService()
Description copied from interface:SaperionClientThis method returns a client offering document operations.- Specified by:
getDocumentServicein interfaceSaperionClient- Returns:
- a document service client instance
-
getFolderService
public FolderServiceClient getFolderService()
Description copied from interface:SaperionClientThis method returns a client offering folder operations.- Specified by:
getFolderServicein interfaceSaperionClient- Returns:
- a folder service client instance
-
getRecordService
public RecordServiceClient getRecordService()
Description copied from interface:SaperionClientThis method returns the client offering record operations.- Specified by:
getRecordServicein interfaceSaperionClient- Returns:
- a record service client instance
-
getArchiveService
public ArchiveServiceClient getArchiveService()
Description copied from interface:SaperionClientThis method returns a client to search for specific archives.- Specified by:
getArchiveServicein interfaceSaperionClient- Returns:
- an archive search client instance
-
getUserAdministrationService
public UserAdministrationClient getUserAdministrationService()
Description copied from interface:SaperionClientThis method returns a client offering tenant, user and group management functionality.- Specified by:
getUserAdministrationServicein interfaceSaperionClient- Returns:
- a user management service client instance
-
getLookupEntryService
public LookupEntryServiceClient getLookupEntryService()
Description copied from interface:SaperionClientThis method returns a client offering lookup entry functionality.- Specified by:
getLookupEntryServicein interfaceSaperionClient- Returns:
- a lookup entry service client instance
-
getServiceInformationClient
public ServiceInformationClient getServiceInformationClient()
Description copied from interface:SaperionClientThis method returns a client that provides information about the service itself.- Specified by:
getServiceInformationClientin interfaceSaperionClient- Returns:
- a client that returns information about the service
-
close
public void close() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:SaperionClientThis 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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceSaperionClient- Throws:
com.lexmark.saperion.exceptions.EcmException
-
-