Class ClientAppServiceImpl

java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.ClientAppServiceImpl
All Implemented Interfaces:
ClientAppService, JAXRSService

@Service public class ClientAppServiceImpl extends AbstractService implements ClientAppService
  • Field Details

  • Constructor Details

    • ClientAppServiceImpl

      public ClientAppServiceImpl(ClientAppLogic logic)
  • Method Details

    • create

      public Response create(ClientAppType type, ClientAppTO clientAppTO)
      Description copied from interface: ClientAppService
      Create a new client app.
      Specified by:
      create in interface ClientAppService
      Parameters:
      type - client app type
      clientAppTO - ClientApp to be created (needs to match type)
      Returns:
      Response object featuring Location header of created client app
    • list

      public <T extends ClientAppTO> List<T> list(ClientAppType type)
      Description copied from interface: ClientAppService
      Returns a list of client apps of the matching type.
      Specified by:
      list in interface ClientAppService
      Type Parameters:
      T - response type (extending ClientAppTO)
      Parameters:
      type - Type selector for requested client apps
      Returns:
      list of client apps with matching type
    • read

      public <T extends ClientAppTO> T read(ClientAppType type, String key)
      Description copied from interface: ClientAppService
      Returns the client app matching the given key.
      Specified by:
      read in interface ClientAppService
      Type Parameters:
      T - response type (extending ClientAppTO)
      Parameters:
      type - client app type
      key - key of requested client app
      Returns:
      client app with matching id
    • update

      public void update(ClientAppType type, ClientAppTO clientAppTO)
      Description copied from interface: ClientAppService
      Updates client app matching the given key.
      Specified by:
      update in interface ClientAppService
      Parameters:
      type - client app type
      clientAppTO - ClientApp to replace existing client app
    • delete

      public void delete(ClientAppType type, String key)
      Description copied from interface: ClientAppService
      Delete client app matching the given key.
      Specified by:
      delete in interface ClientAppService
      Parameters:
      type - client app type
      key - key of client app to be deleted