source: ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/RegisterAction.java @ 5549

Last change on this file since 5549 was 5549, checked in by olhsha@mpi.nl, 10 years ago

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 size: 624 bytes
Line 
1package clarin.cmdi.componentregistry.rest;
2
3import clarin.cmdi.componentregistry.ComponentRegistry;
4import clarin.cmdi.componentregistry.ItemNotFoundException;
5import clarin.cmdi.componentregistry.UserUnauthorizedException;
6import clarin.cmdi.componentregistry.components.CMDComponentSpec;
7import clarin.cmdi.componentregistry.model.BaseDescription;
8import clarin.cmdi.componentregistry.model.RegisterResponse;
9
10public interface RegisterAction {
11
12    int execute(BaseDescription desc, CMDComponentSpec spec, RegisterResponse response, ComponentRegistry registry) throws UserUnauthorizedException, ItemNotFoundException;
13
14}
Note: See TracBrowser for help on using the repository browser.