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:
568 bytes
|
Line | |
---|
1 | package clarin.cmdi.componentregistry.rest; |
---|
2 | |
---|
3 | import clarin.cmdi.componentregistry.ComponentRegistry; |
---|
4 | import clarin.cmdi.componentregistry.ComponentRegistryException; |
---|
5 | import clarin.cmdi.componentregistry.ItemNotFoundException; |
---|
6 | import clarin.cmdi.componentregistry.UserUnauthorizedException; |
---|
7 | import clarin.cmdi.componentregistry.model.BaseDescription; |
---|
8 | |
---|
9 | public interface RegistryClosure<T extends BaseDescription> { |
---|
10 | |
---|
11 | T getDescription(ComponentRegistry registry, String id) throws ComponentRegistryException, UserUnauthorizedException, ItemNotFoundException; |
---|
12 | |
---|
13 | |
---|
14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.