[Castore-commits] ConsultationDocumentAspect.aj 1.4 1.5
Arnaud Thimel
thimel at adullact1.hosting.cri74.org
Ven 28 Avr 18:48:44 CEST 2006
Update of /cvsroot/castore/castore-core/src/aspects/fr/emn/castor/documents/aspects
In directory adullact1:/tmp/cvs-serv6610/src/aspects/fr/emn/castor/documents/aspects
Modified Files:
ConsultationDocumentAspect.aj
Log Message:
- Modification de la gestion des OutputStream
- Ajout d'un nouveau type d'exception propre aux transformations
Index: ConsultationDocumentAspect.aj
===================================================================
RCS file: /cvsroot/castore/castore-core/src/aspects/fr/emn/castor/documents/aspects/ConsultationDocumentAspect.aj,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ConsultationDocumentAspect.aj 19 Apr 2006 11:54:56 -0000 1.4
--- ConsultationDocumentAspect.aj 28 Apr 2006 16:48:42 -0000 1.5
***************
*** 47,50 ****
--- 47,51 ----
import fr.emn.castor.documents.DocumentsConstants;
import fr.emn.castor.documents.DocumentsProxy;
+ import fr.emn.castor.documents.metier.docGenerique.visualisation.DocTransException;
import fr.emn.castor.statistiques.StatistiquesConstants;
***************
*** 59,68 ****
public aspect ConsultationDocumentAspect {
! pointcut consultDoc(DocumentsProxy proxy, String idDoc, String format) : execution(
! OutputStream DocumentsProxy.transformeDocument(String, String))
&& target(proxy)
! && args(idDoc, format);
! after(DocumentsProxy proxy, String idDoc, String format) : consultDoc(proxy, idDoc, format) {
HashMap<String, String> userRow = new HashMap<String, String>();
HashMap statRow = new HashMap();
--- 60,69 ----
public aspect ConsultationDocumentAspect {
! pointcut consultDoc(DocumentsProxy proxy, String idDoc, String format, OutputStream output) : execution(
! void DocumentsProxy.transformeDocument(String, String, OutputStream) throws DocTransException)
&& target(proxy)
! && args(idDoc, format, output);
! after(DocumentsProxy proxy, String idDoc, String format, OutputStream output) : consultDoc(proxy, idDoc, format, output) {
HashMap<String, String> userRow = new HashMap<String, String>();
HashMap statRow = new HashMap();
Plus d'informations sur la liste de diffusion Castore-commits