[Castore-commits] DocumentsProxy.java 1.25 1.26

Céline BENOIT cbenoit at adullact1.hosting.cri74.org
Ven 4 Aou 16:29:07 CEST 2006


Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents
In directory adullact1:/tmp/cvs-serv8474/src/java/fr/emn/castor/documents

Modified Files:
	DocumentsProxy.java 
Log Message:
suppression de méthodes non utilisées
ajout de méthode sur le WF

Index: DocumentsProxy.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/DocumentsProxy.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** DocumentsProxy.java	17 Jul 2006 13:36:06 -0000	1.25
--- DocumentsProxy.java	4 Aug 2006 14:29:05 -0000	1.26
***************
*** 39,43 ****
  package fr.emn.castor.documents;
  
- import java.io.IOException;
  import java.io.InputStream;
  import java.io.OutputStream;
--- 39,42 ----
***************
*** 51,57 ****
  import fr.emn.castor.common.Constants.VraiFauxEnum;
  import fr.emn.castor.documents.DocumentsConstants.StateEnum;
- import fr.emn.castor.documents.metier.docGenerique.ADocument;
  import fr.emn.castor.documents.metier.docGenerique.visualisation.DocTransException;
- import fr.emn.castor.documents.metier.docGenerique.workflow.Workflow;
  import fr.emn.castor.documents.metier.docGenerique.workflow.WorkflowException;
  import fr.emn.castor.users.UsersException;
--- 50,54 ----
***************
*** 183,187 ****
       * @see fr.emn.castor.documents.IDocuments#getAvis(java.lang.String)
       */
!     public final Map getAvis(final String docId) {
          return this.documentsFac.getAvis(docId);
      }
--- 180,184 ----
       * @see fr.emn.castor.documents.IDocuments#getAvis(java.lang.String)
       */
!     public final Map<String, String> getAvis(final String docId) {
          return this.documentsFac.getAvis(docId);
      }
***************
*** 190,194 ****
       * @see fr.emn.castor.documents.IDocuments#getCollections(java.lang.String)
       */
!     public final Map getCollections(final String idDoc) {
          return this.documentsFac.getCollections(idDoc);
      }
--- 187,191 ----
       * @see fr.emn.castor.documents.IDocuments#getCollections(java.lang.String)
       */
!     public final Map<String, String> getCollections(final String idDoc) {
          return this.documentsFac.getCollections(idDoc);
      }
***************
*** 250,254 ****
       * getNoticeValues(java.lang.String, java.lang.String)
       */
!     public final Map getNoticeValues(final String id, final String key) {
          return this.documentsFac.getNoticeValues(id, key);
      }
--- 247,252 ----
       * getNoticeValues(java.lang.String, java.lang.String)
       */
!     public final Map<String, String> getNoticeValues(
!             final String id, final String key) {
          return this.documentsFac.getNoticeValues(id, key);
      }
***************
*** 287,306 ****
  
      /**
-      * @see fr.emn.castor.documents.IDocuments#getPathSource(java.lang.String)
-      */
-     public final String getPathSource(
-             final String idDoc, final String nomComplet) {
-         String path = null;
-         try {
-             this.documentsFac.getPathSource(idDoc, nomComplet);
-         } catch (UsersException e) {
-             if (log.isErrorEnabled()) {
-                 log.error("chemin introuvable : ", e);
-             }
-         }
-         return path;
-     }
- 
-     /**
       * @see fr.emn.castor.documents.IDocuments#getRechercheAvanceeMap()
       */
--- 285,288 ----
***************
*** 333,343 ****
  
      /**
-      * @see fr.emn.castor.documents.IDocuments#getSource(java.lang.String)
-      */
-     public final String getSource(final String id) throws IOException {
-         return this.documentsFac.getSource(id);
-     }
- 
-     /**
       * @see fr.emn.castor.documents.IDocuments#getStateOfDoc(java.lang.String)
       */
--- 315,318 ----
***************
*** 351,355 ****
       * getSubmittedCollections(java.lang.String)
       */
!     public final Map getSubmittedCollections(final String idDoc) {
          return this.documentsFac.getSubmittedCollections(idDoc);
      }
--- 326,331 ----
       * getSubmittedCollections(java.lang.String)
       */
!     public final Map<String, String> getSubmittedCollections(
!             final String idDoc) {
          return this.documentsFac.getSubmittedCollections(idDoc);
      }
***************
*** 359,363 ****
       * getSubmittedGroupes(java.lang.String)
       */
!     public final Map getSubmittedGroupes(final String idDoc) {
          return this.documentsFac.getSubmittedGroupes(idDoc);
      }
--- 335,339 ----
       * getSubmittedGroupes(java.lang.String)
       */
!     public final Map<String, String> getSubmittedGroupes(final String idDoc) {
          return this.documentsFac.getSubmittedGroupes(idDoc);
      }
***************
*** 371,381 ****
  
      /**
-      * @see fr.emn.castor.documents.IDocuments#getTransFiles()
-      */
-     public final List<Map<String, Object>> getTransFiles() {
-         return this.documentsFac.getTransFiles();
-     }
- 
-     /**
       * @see fr.emn.castor.documents.IDocuments#
       * getValidationMapForUserType(java.lang.String, java.lang.String)
--- 347,350 ----
***************
*** 397,411 ****
      /**
       * @see fr.emn.castor.documents.IDocuments#
-      * getValidatorsListForDocumentAndForAStep(java.lang.String,
-      * java.lang.String)
-      */
-     public final String getValidatorsListForDocumentAndForAStep(
-             final String idDoc, final String step) {
-         return this.documentsFac.getValidatorsListForDocumentAndForAStep(
-             idDoc, step);
-     }
- 
-     /**
-      * @see fr.emn.castor.documents.IDocuments#
       * isValideForOAIExt(java.lang.String)
       */
--- 366,369 ----
***************
*** 570,577 ****
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#docExist(java.lang.String)
       */
!     public final VraiFauxEnum docExist(final String idDoc) {
!         return this.documentsFac.docExist(idDoc);
      }
  
--- 528,535 ----
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#isDocExist(java.lang.String)
       */
!     public final VraiFauxEnum isDocExist(final String idDoc) {
!         return this.documentsFac.isDocExist(idDoc);
      }
  
***************
*** 588,592 ****
       * java.lang.String)
       */
!     public final Map getInfosFichier(final String idDoc) {
          return this.documentsFac.getInfosFichier(idDoc);
      }
--- 546,550 ----
       * java.lang.String)
       */
!     public final Map<String, String> getInfosFichier(final String idDoc) {
          return this.documentsFac.getInfosFichier(idDoc);
      }
***************
*** 644,648 ****
       * @see fr.emn.castor.documents.IDocuments#getElementsDocGroupe(java.lang.String)
       */
!     public List<Map<String, String>> getElementsDocGroupe(
              final String idDocGroupe) {
          return this.documentsFac.getElementsDocGroupe(idDocGroupe);
--- 602,606 ----
       * @see fr.emn.castor.documents.IDocuments#getElementsDocGroupe(java.lang.String)
       */
!     public final List<Map<String, String>> getElementsDocGroupe(
              final String idDocGroupe) {
          return this.documentsFac.getElementsDocGroupe(idDocGroupe);
***************
*** 650,669 ****
  
      /**
-      * @see fr.emn.castor.documents.IDocuments#setInfosFichier
-      * (fr.emn.castor.documents.metier.docGenerique.ADocument, java.lang.String, 
-      * java.lang.String, java.lang.String)
-      */
-     public void setInfosFichier(
-             final ADocument doc, final String typeMime, final String nomFic,
-             final String extensionFic) {
-         this.documentsFac.setInfosFichier(
-             doc, typeMime, nomFic, extensionFic);
-     }
- 
-     /**
       * @see fr.emn.castor.documents.IDocuments#getPathDest(java.lang.String, 
       * java.lang.String)
       */
!     public String getPathDest(final String idDoc, final String nomFic) {
          return this.documentsFac.getPathDest(idDoc, nomFic);
      }
--- 608,615 ----
  
      /**
       * @see fr.emn.castor.documents.IDocuments#getPathDest(java.lang.String, 
       * java.lang.String)
       */
!     public final String getPathDest(final String idDoc, final String nomFic) {
          return this.documentsFac.getPathDest(idDoc, nomFic);
      }
***************
*** 690,716 ****
       * @see fr.emn.castor.documents.IDocuments#initWorkflow()
       */
!     public void initWorkflow() {
          this.documentsFac.initWorkflow();
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#getInfoWorkflow(java.lang.String)
       */
!     public Workflow getInfoWorkflow(String id) {
!         return this.documentsFac.getInfoWorkflow(id);
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#listeWorkflows()
       */
!     public Map<String, String> listeWorkflows() {
!         return this.documentsFac.listeWorkflows();
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#tailleDocWf()
       */
!     public int tailleDocWf() {
!         return this.documentsFac.tailleDocWf();
      }
  
--- 636,691 ----
       * @see fr.emn.castor.documents.IDocuments#initWorkflow()
       */
!     public final void initWorkflow() {
          this.documentsFac.initWorkflow();
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#getListeWorkflows()
       */
!     public final Map<String, String> getListeWorkflows() {
!         return this.documentsFac.getListeWorkflows();
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#isWorkflowInUse(java.lang.String)
       */
!     public final VraiFauxEnum isWorkflowInUse(String id) {
!         return this.documentsFac.isWorkflowInUse(id);
      }
  
      /**
!      * @see fr.emn.castor.documents.IDocuments#getNumberOfSteps(java.lang.String)
       */
!     public final String getNumberOfSteps(String id) {
!         return this.documentsFac.getNumberOfSteps(id);
!     }
! 
!     /**
!      * @see fr.emn.castor.documents.IDocuments#getInfosValidation(java.lang.String, int)
!      */
!     public final Map<String, String> getInfosValidation(String id, int indice) {
!         return this.documentsFac.getInfosValidation(id, indice);
!     }
! 
!     /**
!      * @see fr.emn.castor.documents.IDocuments#getInfosSoumission(java.lang.String)
!      */
!     public final Map<String, String> getInfosSoumission(String id) {
!         return this.documentsFac.getInfosSoumission(id);
!     }
! 
!     /**
!      * @see fr.emn.castor.documents.IDocuments#getWorkflow(java.lang.String)
!      */
!     public final String getWorkflow(final String idDoc)
!             throws WorkflowException {
!         return this.documentsFac.getWorkflow(idDoc);
!     }
! 
!     /**
!      * @see fr.emn.castor.documents.IDocuments#getCurrentValidationStep(java.lang.String)
!      */
!     public final String getCurrentValidationStep(final String idDoc) {
!         return this.documentsFac.getCurrentValidationStep(idDoc);
      }
  




Plus d'informations sur la liste de diffusion Castore-commits