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/ComponentClosure.java

    r1352 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.ComponentDescription;
    68
     
    810
    911    @Override
    10     public ComponentDescription getDescription(ComponentRegistry registry, String id) throws ComponentRegistryException {
    11         return registry.getComponentDescription(id);
     12    public ComponentDescription getDescription(ComponentRegistry registry, String id) throws ComponentRegistryException, UserUnauthorizedException, ItemNotFoundException {
     13        return registry.getComponentDescriptionAccessControlled(id);
    1214    }
    1315
Note: See TracChangeset for help on using the changeset viewer.