source: ComponentRegistry/branches/jeaferversion/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/RegisterAction.java @ 1633

Last change on this file since 1633 was 1633, checked in by jeafer, 13 years ago

Jean-Charles branch commit2,
Changes regarding comment on the ComponentRegistry service.
Delete_comment from RestService? to Database access (CommentsDao?) implemented.
Post_comment from RestService? to Database access (CommentsDao?) implemented. (Not yet tested)
Comment class updated
TestComment? class updated
DataBase? : Table comment updated, Corrections of fkey references
Validate classes implemented to validate comment

File size: 611 bytes
Line 
1package clarin.cmdi.componentregistry.rest;
2
3import clarin.cmdi.componentregistry.ComponentRegistry;
4import clarin.cmdi.componentregistry.components.CMDComponentSpec;
5import clarin.cmdi.componentregistry.model.AbstractDescription;
6import clarin.cmdi.componentregistry.model.Comment;
7import clarin.cmdi.componentregistry.model.RegisterResponse;
8
9public interface RegisterAction {
10
11    int execute(AbstractDescription desc, CMDComponentSpec spec, RegisterResponse response, ComponentRegistry registry);
12
13    int executeComment(Comment com, Comment spec, RegisterResponse response, ComponentRegistry registry);
14
15}
Note: See TracBrowser for help on using the repository browser.