Class AnyTypeServiceImpl

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

public class AnyTypeServiceImpl extends AbstractService implements AnyTypeService
  • Field Details

  • Constructor Details

    • AnyTypeServiceImpl

      public AnyTypeServiceImpl(AnyTypeLogic logic)
  • Method Details

    • list

      public List<AnyTypeTO> list()
      Description copied from interface: AnyTypeService
      Returns a list of all anyTypes.
      Specified by:
      list in interface AnyTypeService
      Returns:
      list of all anyTypes.
    • read

      public AnyTypeTO read(String key)
      Description copied from interface: AnyTypeService
      Returns anyType with matching key.
      Specified by:
      read in interface AnyTypeService
      Parameters:
      key - anyType key to be read
      Returns:
      anyType with matching key
    • create

      public Response create(AnyTypeTO anyTypeTO)
      Description copied from interface: AnyTypeService
      Creates a new anyType.
      Specified by:
      create in interface AnyTypeService
      Parameters:
      anyTypeTO - anyType to be created
      Returns:
      Response object featuring Location header of created anyType
    • update

      public void update(AnyTypeTO anyTypeTO)
      Description copied from interface: AnyTypeService
      Updates the anyType matching the provided key.
      Specified by:
      update in interface AnyTypeService
      Parameters:
      anyTypeTO - anyType to be stored
    • delete

      public void delete(String key)
      Description copied from interface: AnyTypeService
      Deletes the anyType matching the provided key.
      Specified by:
      delete in interface AnyTypeService
      Parameters:
      key - anyType key to be deleted