Class TenantManagementClientImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      TenantManagementClientImpl​(com.lexmark.saperion.administration.TenantManagementService tenantManagementService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.lexmark.saperion.administration.TenantReferenceType createTenant​(java.lang.String name, java.lang.String description, java.lang.String adminPassword)
      This method creates a new tenant with the given name and description and returns a reference to the new tenant.
      TenantClient resolve​(com.lexmark.saperion.administration.TenantReferenceType reference)
      This method returns a client capable to administrate the tenant with the given reference.
      TenantClient resolveName​(java.lang.String tenantName)
      This method returns a client capable to administrate the tenant with the given name.
      SearchClient<com.lexmark.saperion.administration.TenantType> searchDeleted()
      This method returns a new SearchClient that can be used to search for deleted tenants.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.lexmark.saperion.search.SearchExecutionService

        search
    • Constructor Detail

      • TenantManagementClientImpl

        public TenantManagementClientImpl​(com.lexmark.saperion.administration.TenantManagementService tenantManagementService)
    • Method Detail

      • resolve

        public TenantClient resolve​(com.lexmark.saperion.administration.TenantReferenceType reference)
                             throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: TenantManagementClient
        This method returns a client capable to administrate the tenant with the given reference.
        Specified by:
        resolve in interface TenantManagementClient
        Parameters:
        reference - a reference to the tenant to administrate
        Returns:
        a client capable to administrate the tenant with the given reference
        Throws:
        com.lexmark.saperion.exceptions.EcmException
      • resolveName

        public TenantClient resolveName​(java.lang.String tenantName)
                                 throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: TenantManagementClient
        This method returns a client capable to administrate the tenant with the given name.
        Specified by:
        resolveName in interface TenantManagementClient
        Parameters:
        tenantName - the name of the tenant to administrate
        Returns:
        a client capable to administrate the tenant with the given name
        Throws:
        com.lexmark.saperion.exceptions.EcmException
      • createTenant

        public com.lexmark.saperion.administration.TenantReferenceType createTenant​(java.lang.String name,
                                                                                    java.lang.String description,
                                                                                    java.lang.String adminPassword)
                                                                             throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: TenantManagementClient
        This method creates a new tenant with the given name and description and returns a reference to the new tenant. A tenant-administrator user with the given password will be created automatically.
        Specified by:
        createTenant in interface TenantManagementClient
        Parameters:
        name - the name of the tenant
        description - a description of the tenant
        adminPassword - the password for the tenant-administrator
        Returns:
        a reference to the newly created tenant
        Throws:
        com.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurred