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:
469 bytes
|
Line | |
---|
1 | package clarin.cmdi.componentregistry.rest; |
---|
2 | |
---|
3 | import clarin.cmdi.componentregistry.UserUnauthorizedException; |
---|
4 | import java.util.List; |
---|
5 | |
---|
6 | public interface Validator { |
---|
7 | |
---|
8 | |
---|
9 | /** |
---|
10 | * |
---|
11 | * @return the errormessage that might have been created by the validate(). |
---|
12 | */ |
---|
13 | public List<String> getErrorMessages(); |
---|
14 | |
---|
15 | /** |
---|
16 | * Validate and create an error message when something is wrong. |
---|
17 | */ |
---|
18 | public boolean validate() throws UserUnauthorizedException; |
---|
19 | |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.