Class RealmServiceImpl

    • Constructor Detail

      • RealmServiceImpl

        public RealmServiceImpl​(RealmLogic logic)
    • Method Detail

      • 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 javax.ws.rs.core.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 javax.ws.rs.core.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 javax.ws.rs.core.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