[Castore-commits] Workflow.java 1.2.2.1 1.2.2.2 WorkflowStep.java
1.1.2.1 1.1.2.2 WorkflowParser.java 1.2.2.2 1.2.2.3
WorkflowManager.java 1.3.2.3 1.3.2.4 WorkflowException.java
1.1.2.2 1.1.2.3
Stéphane Bouchet
sbouchet at adullact1.hosting.cri74.org
Lun 6 Mar 17:10:54 CET 2006
Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow
In directory adullact1:/tmp/cvs-serv6300/src/java/fr/emn/castor/documents/metier/workflow
Modified Files:
Tag: v1_1_branch
Workflow.java WorkflowStep.java WorkflowParser.java
WorkflowManager.java WorkflowException.java
Log Message:
Mise en page
Index: WorkflowStep.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow/WorkflowStep.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** WorkflowStep.java 24 Nov 2005 14:29:57 -0000 1.1.2.1
--- WorkflowStep.java 6 Mar 2006 16:10:51 -0000 1.1.2.2
***************
*** 61,65 ****
* Constructeur.
*/
! public WorkflowStep() {
this.validateurs = new ArrayList();
this.validateursLink = new ArrayList();
--- 61,65 ----
* Constructeur.
*/
! public WorkflowStep () {
this.validateurs = new ArrayList();
this.validateursLink = new ArrayList();
Index: Workflow.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow/Workflow.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** Workflow.java 24 Nov 2005 14:29:57 -0000 1.2.2.1
--- Workflow.java 6 Mar 2006 16:10:51 -0000 1.2.2.2
***************
*** 109,113 ****
// ie qu'il n'existe pas 2 etapes "1"..
try {
! if (this.steps.get(stepNumber-1) != null) {
if (log.isErrorEnabled()) {
log.error("L'etape " + stepNumber
--- 109,113 ----
// ie qu'il n'existe pas 2 etapes "1"..
try {
! if (this.steps.get(stepNumber - 1) != null) {
if (log.isErrorEnabled()) {
log.error("L'etape " + stepNumber
***************
*** 120,124 ****
// donc ok, on peux rajouter une etape
}
! this.steps.add(stepNumber-1, step);
}
--- 120,124 ----
// donc ok, on peux rajouter une etape
}
! this.steps.add(stepNumber - 1, step);
}
***************
*** 131,139 ****
public WorkflowStep getStep(final int stepNumber) {
try {
! if (this.steps.get(stepNumber-1) != null) {
! return (WorkflowStep) this.steps.get(stepNumber-1);
}
if (log.isErrorEnabled()) {
! log.error("Pas d'étape correspondant au numero " + stepNumber);
}
} catch (IndexOutOfBoundsException ioobe) {
--- 131,140 ----
public WorkflowStep getStep(final int stepNumber) {
try {
! if (this.steps.get(stepNumber - 1) != null) {
! return (WorkflowStep) this.steps.get(stepNumber - 1);
}
if (log.isErrorEnabled()) {
! log.error("Pas d'étape correspondant au numero "
! + stepNumber);
}
} catch (IndexOutOfBoundsException ioobe) {
***************
*** 197,206 ****
this.steps.add(newStep);
}
!
/**
* Clonage du workflow.
* @return copie du workflow.
*/
! public Workflow cloneWorkflow(){
return new Workflow(this);
}
--- 198,207 ----
this.steps.add(newStep);
}
!
/**
* Clonage du workflow.
* @return copie du workflow.
*/
! public Workflow cloneWorkflow() {
return new Workflow(this);
}
Index: WorkflowException.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow/WorkflowException.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** WorkflowException.java 6 Mar 2006 11:11:30 -0000 1.1.2.2
--- WorkflowException.java 6 Mar 2006 16:10:51 -0000 1.1.2.3
***************
*** 58,61 ****
--- 58,62 ----
*/
public static final int BAD_LOGIN_FOR_VALIDATOR = 1;
+
/**
* le type d'erreur rencontre.
***************
*** 76,80 ****
* @param theErrorType le type d'erreur rencontre
*/
! public WorkflowException (final String message, final int theErrorType) {
super(message);
this.errorType = theErrorType;
--- 77,81 ----
* @param theErrorType le type d'erreur rencontre
*/
! public WorkflowException(final String message, final int theErrorType) {
super(message);
this.errorType = theErrorType;
***************
*** 85,89 ****
* @param theErrorType le type d'erreur rencontre
*/
! public WorkflowException (final int theErrorType) {
super();
this.errorType = theErrorType;
--- 86,90 ----
* @param theErrorType le type d'erreur rencontre
*/
! public WorkflowException(final int theErrorType) {
super();
this.errorType = theErrorType;
Index: WorkflowManager.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow/WorkflowManager.java,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.4
diff -C2 -d -r1.3.2.3 -r1.3.2.4
*** WorkflowManager.java 6 Mar 2006 11:11:30 -0000 1.3.2.3
--- WorkflowManager.java 6 Mar 2006 16:10:51 -0000 1.3.2.4
***************
*** 101,105 ****
* Prevents instantiation.
*/
! private WorkflowManager () {
this.jdoQuery = new JDOQuery();
this.fonds = Fonds.getInstance();
--- 101,105 ----
* Prevents instantiation.
*/
! private WorkflowManager() {
this.jdoQuery = new JDOQuery();
this.fonds = Fonds.getInstance();
Index: WorkflowParser.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/workflow/WorkflowParser.java,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -C2 -d -r1.2.2.2 -r1.2.2.3
*** WorkflowParser.java 6 Mar 2006 11:11:30 -0000 1.2.2.2
--- WorkflowParser.java 6 Mar 2006 16:10:51 -0000 1.2.2.3
***************
*** 96,100 ****
* @param workflowFiles les fichiers de configuration
*/
! public WorkflowParser (final String[] workflowFiles) {
this.workflows = new ArrayList();
try {
--- 96,100 ----
* @param workflowFiles les fichiers de configuration
*/
! public WorkflowParser(final String[] workflowFiles) {
this.workflows = new ArrayList();
try {
Plus d'informations sur la liste de diffusion Castore-commits