Class RoleManagementServiceClientImpl

java.lang.Object
com.lexmark.saperion.client.implementation.administration.RoleManagementServiceClientImpl
All Implemented Interfaces:
RoleManagementServiceClient

public class RoleManagementServiceClientImpl extends Object implements RoleManagementServiceClient
This is the default implementation of RoleManagementServiceClient.
Author:
tfrisch
  • Constructor Summary

    Constructors
    Constructor
    Description
    RoleManagementServiceClientImpl(com.lexmark.saperion.administration.RoleManagementService roleManagementService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.lexmark.saperion.administration.RoleReferenceType
    createRole(com.lexmark.saperion.administration.RolePropertiesType properties)
    This method creates a new role with the given properties and returns a reference to it.
    resolve(com.lexmark.saperion.administration.RoleReferenceType reference)
    This method returns an administration client for the role with the given reference.
    resolveName(String roleName)
    This method returns an administration client for the role with the given name.
    SearchClient<com.lexmark.saperion.administration.RoleType>
    This method returns a search client for searching roles.
    SearchClient<com.lexmark.saperion.administration.RoleType>
    This method returns a search client for searching deleted roles.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoleManagementServiceClientImpl

      public RoleManagementServiceClientImpl(com.lexmark.saperion.administration.RoleManagementService roleManagementService)
  • Method Details

    • resolve

      public RoleClient resolve(com.lexmark.saperion.administration.RoleReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: RoleManagementServiceClient
      This method returns an administration client for the role with the given reference.
      Specified by:
      resolve in interface RoleManagementServiceClient
      Parameters:
      reference - a reference to the role to administrate
      Returns:
      an administration client for the role with the given reference
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • resolveName

      public RoleClient resolveName(String roleName) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: RoleManagementServiceClient
      This method returns an administration client for the role with the given name.
      Specified by:
      resolveName in interface RoleManagementServiceClient
      Parameters:
      roleName - the name of the role to administrate
      Returns:
      an administration client for the role with the given name
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • search

      public SearchClient<com.lexmark.saperion.administration.RoleType> search() throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: RoleManagementServiceClient
      This method returns a search client for searching roles.
      Specified by:
      search in interface RoleManagementServiceClient
      Returns:
      a search client for searching roles
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • searchDeleted

      public SearchClient<com.lexmark.saperion.administration.RoleType> searchDeleted() throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: RoleManagementServiceClient
      This method returns a search client for searching deleted roles.
      Specified by:
      searchDeleted in interface RoleManagementServiceClient
      Returns:
      a search client for searching deleted roles
      Throws:
      com.lexmark.saperion.exceptions.EcmException
    • createRole

      public com.lexmark.saperion.administration.RoleReferenceType createRole(com.lexmark.saperion.administration.RolePropertiesType properties) throws com.lexmark.saperion.exceptions.EcmException
      Description copied from interface: RoleManagementServiceClient
      This method creates a new role with the given properties and returns a reference to it.
      Specified by:
      createRole in interface RoleManagementServiceClient
      Parameters:
      properties - the properties of the new role
      Returns:
      a reference to role created
      Throws:
      com.lexmark.saperion.exceptions.EcmException