Class RealmServiceImpl

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

@Service public class RealmServiceImpl extends AbstractService implements RealmService
  • Field Details

  • Constructor Details

    • RealmServiceImpl

      public RealmServiceImpl(RealmLogic logic)
  • Method Details

    • search

      public PagedResult<RealmTO> search(RealmQuery query)
      Description copied from interface: RealmService
      Returns a paged list of existing realms matching the given query.
      Specified by:
      search in interface RealmService
      Parameters:
      query - query conditions
      Returns:
      paged list of existing realms matching the given query
    • create

      public Response create(String parentPath, RealmTO realmTO)
      Description copied from interface: RealmService
      Creates a new realm under the given path.
      Specified by:
      create in interface RealmService
      Parameters:
      parentPath - full path of the parent realm
      realmTO - new realm
      Returns:
      Response object featuring Location header of created realm as well as the realm itself enriched with propagation status information
    • update

      public Response update(RealmTO realmTO)
      Description copied from interface: RealmService
      Updates the realm under the given path.
      Specified by:
      update in interface RealmService
      Parameters:
      realmTO - realm to be stored
      Returns:
      Response object featuring the updated realm enriched with propagation status information
    • delete

      public Response delete(String fullPath)
      Description copied from interface: RealmService
      Deletes the realm under the given path.
      Specified by:
      delete in interface RealmService
      Parameters:
      fullPath - realm path
      Returns:
      Response object featuring the deleted realm enriched with propagation status information