Class AttrRepoServiceImpl

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

@Service public class AttrRepoServiceImpl extends AbstractService implements AttrRepoService
  • Field Details

  • Constructor Details

    • AttrRepoServiceImpl

      public AttrRepoServiceImpl(AttrRepoLogic logic)
  • Method Details

    • create

      public Response create(AttrRepoTO attrRepoTO)
      Description copied from interface: AttrRepoService
      Create a new attribute repository.
      Specified by:
      create in interface AttrRepoService
      Parameters:
      attrRepoTO - AttrRepo to be created.
      Returns:
      Response object featuring Location header of created attribute repository
    • delete

      public void delete(String key)
      Description copied from interface: AttrRepoService
      Delete attribute repository matching the given key.
      Specified by:
      delete in interface AttrRepoService
      Parameters:
      key - key of attribute repository to be deleted
    • list

      public List<AttrRepoTO> list()
      Description copied from interface: AttrRepoService
      Returns a list of attribute repositories.
      Specified by:
      list in interface AttrRepoService
      Returns:
      list of attribute repositories
    • read

      public AttrRepoTO read(String key)
      Description copied from interface: AttrRepoService
      Returns the attribute repository matching the given key.
      Specified by:
      read in interface AttrRepoService
      Parameters:
      key - key of requested attribute repository
      Returns:
      attribute repository with matching id
    • update

      public void update(AttrRepoTO attrRepoTO)
      Description copied from interface: AttrRepoService
      Updates attribute repository matching the given key.
      Specified by:
      update in interface AttrRepoService
      Parameters:
      attrRepoTO - AttrRepo to replace existing attribute repository