Package com.lexmark.saperion.client.spi
Interface ServiceFactory
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface ServiceFactory extends java.lang.AutoCloseable
This factory is an entry point for the low level service api. It basically creates the low level services used by the sdk.- Author:
- jschwarz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
This method closes the factory.com.lexmark.saperion.administration.AclManagementService
newAclManagementService()
This method creates a new acl management service.com.lexmark.saperion.archive.ArchiveService
newArchiveService()
This method creates a new archive service.com.lexmark.saperion.share.CloudShareService
newCloudShareService()
com.lexmark.saperion.document.DocumentService
newDocumentService()
This method creates a new document service.com.lexmark.saperion.folder.FolderService
newFolderService()
This method create a new folder service.com.lexmark.saperion.administration.GroupManagementService
newGroupManagementService()
This method creates a new group management service.com.lexmark.saperion.lookup.LookupEntryService
newLookupEntryService()
This method creates a new lookup entry service.com.lexmark.saperion.folder.RecordService
newRecordService()
This method creates a new record service.com.lexmark.saperion.administration.RoleManagementService
newRoleManagementService()
This method creates a new role management service.ServiceInformationService
newServiceInformationService()
This method creates a new system info service.com.lexmark.saperion.administration.TenantManagementService
newTenantManagementService()
This method creates a new tenant management service.com.lexmark.saperion.administration.UserManagementService
newUserManagementService()
This method creates a new user management service.WorkflowDefinitionService
newWorkflowDefinitionService()
This method creates a new workflow definition service.WorkflowInboxService
newWorkflowInboxService()
This method creates a new workflow inbox service.WorkflowProcessService
newWorkflowProcessService()
This method create a new workflow process service.WorkflowTaskService
newWorkflowTaskService()
This method creates a new workflow task service.
-
-
-
Method Detail
-
newArchiveService
com.lexmark.saperion.archive.ArchiveService newArchiveService()
This method creates a new archive service.- Returns:
- a new archive service
-
newDocumentService
com.lexmark.saperion.document.DocumentService newDocumentService()
This method creates a new document service.- Returns:
- a new document service
-
newFolderService
com.lexmark.saperion.folder.FolderService newFolderService()
This method create a new folder service.- Returns:
- a new folder service
-
newRecordService
com.lexmark.saperion.folder.RecordService newRecordService()
This method creates a new record service.- Returns:
- a new record service
-
newLookupEntryService
com.lexmark.saperion.lookup.LookupEntryService newLookupEntryService()
This method creates a new lookup entry service.- Returns:
- a new lookup entry service
-
newWorkflowDefinitionService
WorkflowDefinitionService newWorkflowDefinitionService()
This method creates a new workflow definition service.- Returns:
- a new workflow definition service
-
newWorkflowInboxService
WorkflowInboxService newWorkflowInboxService()
This method creates a new workflow inbox service.- Returns:
- a new workflow inbox service
-
newWorkflowProcessService
WorkflowProcessService newWorkflowProcessService()
This method create a new workflow process service.- Returns:
- a new workflow process service
-
newWorkflowTaskService
WorkflowTaskService newWorkflowTaskService()
This method creates a new workflow task service.- Returns:
- a new workflow task service
-
newGroupManagementService
com.lexmark.saperion.administration.GroupManagementService newGroupManagementService()
This method creates a new group management service.- Returns:
- a new group management service
-
newTenantManagementService
com.lexmark.saperion.administration.TenantManagementService newTenantManagementService()
This method creates a new tenant management service.- Returns:
- a new tenant management service
-
newUserManagementService
com.lexmark.saperion.administration.UserManagementService newUserManagementService()
This method creates a new user management service.- Returns:
- a new user management service
-
newRoleManagementService
com.lexmark.saperion.administration.RoleManagementService newRoleManagementService()
This method creates a new role management service.- Returns:
- a new role management service
-
newAclManagementService
com.lexmark.saperion.administration.AclManagementService newAclManagementService()
This method creates a new acl management service.- Returns:
- a new acl management service
-
newServiceInformationService
ServiceInformationService newServiceInformationService()
This method creates a new system info service.- Returns:
- a new system info service
-
newCloudShareService
com.lexmark.saperion.share.CloudShareService newCloudShareService()
-
close
void close() throws com.lexmark.saperion.exceptions.EcmException
This method closes the factory. 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
- Throws:
com.lexmark.saperion.exceptions.EcmException
-
-