Ignore:
Timestamp:
08/11/14 16:07:55 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Added group service. Tested via the tomcat on loclahots (test URI and postman), old unit tests are adjusted and work well. Todo: retest on localhost tomcat, look at run-time exceptions, add new unit tests, adjust front-end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/RegistryClosure.java

    r4098 r5549  
    33import clarin.cmdi.componentregistry.ComponentRegistry;
    44import clarin.cmdi.componentregistry.ComponentRegistryException;
     5import clarin.cmdi.componentregistry.ItemNotFoundException;
     6import clarin.cmdi.componentregistry.UserUnauthorizedException;
    57import clarin.cmdi.componentregistry.model.BaseDescription;
    68
    79public interface RegistryClosure<T extends BaseDescription> {
    810   
    9     T getDescription(ComponentRegistry registry, String id) throws ComponentRegistryException;
     11    T getDescription(ComponentRegistry registry, String id) throws ComponentRegistryException,  UserUnauthorizedException, ItemNotFoundException;
    1012
    1113
Note: See TracChangeset for help on using the changeset viewer.