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