]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
fb42e5cb18b9be6520954d464abc8be98ed7a0d4
[tmp/jakarta-migration.git] /
1 package org.collectionspace.services.article.nuxeo;
2
3 import org.collectionspace.services.common.context.ServiceContext;
4 import org.collectionspace.services.common.document.InvalidDocumentException;
5 import org.collectionspace.services.common.document.ValidatorHandler;
6 import org.collectionspace.services.common.document.DocumentHandler.Action;
7 import org.collectionspace.services.client.PoxPayloadIn;
8 import org.collectionspace.services.client.PoxPayloadOut;
9
10 public class ArticleValidatorHandler implements ValidatorHandler<PoxPayloadIn, PoxPayloadOut> {
11
12         @Override
13         public void validate(Action action, ServiceContext<PoxPayloadIn, PoxPayloadOut> ctx)
14                         throws InvalidDocumentException {
15                 // TODO Auto-generated method stub
16                 System.out.println("ArticleValidatorHandler executed.");
17
18         }
19
20 }