dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15335
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5514: Add deleteProgramValidation methods in DeletionHandler.
------------------------------------------------------------
revno: 5514
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-12-21 11:38:18 +0700
message:
Add deleteProgramValidation methods in DeletionHandler.
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/deletion/DeletionHandler.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/deletion/DeletionHandler.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/deletion/DeletionHandler.java 2011-09-29 07:41:04 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/deletion/DeletionHandler.java 2011-12-21 04:38:18 +0000
@@ -74,6 +74,7 @@
import org.hisp.dhis.program.ProgramStage;
import org.hisp.dhis.program.ProgramStageDataElement;
import org.hisp.dhis.program.ProgramStageInstance;
+import org.hisp.dhis.program.ProgramValidation;
import org.hisp.dhis.programattributevalue.ProgramAttributeValue;
import org.hisp.dhis.relationship.Relationship;
import org.hisp.dhis.relationship.RelationshipType;
@@ -627,6 +628,15 @@
public void deletePatientDataValue( PatientDataValue patientDataValue )
{
}
+
+ public String allowDeleteProgramValidation( ProgramValidation programValidation )
+ {
+ return null;
+ }
+
+ public void deleteProgramValidation( ProgramValidation programValidation )
+ {
+ }
public String allowDeleteValidationCriteria( ValidationCriteria validationCriteria )
{