dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25866
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12840: minor
------------------------------------------------------------
revno: 12840
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-10-31 11:02:42 +0700
message:
minor
modified:
dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.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-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java 2013-10-30 09:29:07 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java 2013-10-31 04:02:42 +0000
@@ -158,14 +158,21 @@
private MessageService messageService;
private SmsSender smsSender;
+
+ private PatientAttributeService patientAttributeService;
+
+ private Collection<PatientIdentifierType> patientIdentifierTypes;
+ private Collection<org.hisp.dhis.patient.PatientAttribute> patientAttributes;
+
+ private Integer patientId;
+
@Autowired
private OrganisationUnitService organisationUnitService;
-
- public PatientAttributeService getPatientAttributeService()
- {
- return patientAttributeService;
- }
+
+ // -------------------------------------------------------------------------
+ // Setters
+ // -------------------------------------------------------------------------
public void setPatientIdentifierTypeService( PatientIdentifierTypeService patientIdentifierTypeService )
{
@@ -189,51 +196,12 @@
this.smsSender = smsSender;
}
- private Collection<PatientIdentifierType> patientIdentifierTypes;
-
- public Collection<PatientIdentifierType> getPatientIdentifierTypes()
- {
- return patientIdentifierTypes;
- }
-
- public void setPatientIdentifierTypes( Collection<PatientIdentifierType> patientIdentifierTypes )
- {
- this.patientIdentifierTypes = patientIdentifierTypes;
- }
-
- private Collection<org.hisp.dhis.patient.PatientAttribute> patientAttributes;
-
- public Collection<org.hisp.dhis.patient.PatientAttribute> getPatientAttributes()
- {
- return patientAttributes;
- }
-
- public void setPatientAttributes( Collection<org.hisp.dhis.patient.PatientAttribute> patientAttributes )
- {
- this.patientAttributes = patientAttributes;
- }
-
- private PatientAttributeService patientAttributeService;
-
public void setPatientAttributeService( PatientAttributeService patientAttributeService )
{
this.patientAttributeService = patientAttributeService;
}
- private Integer patientId;
-
- public Integer getPatientId()
- {
- return patientId;
- }
-
- public void setPatientId( Integer patientId )
- {
- this.patientId = patientId;
- }
-
- public void setProgramStageInstanceService(
- org.hisp.dhis.program.ProgramStageInstanceService programStageInstanceService )
+ public void setProgramStageInstanceService( ProgramStageInstanceService programStageInstanceService )
{
this.programStageInstanceService = programStageInstanceService;
}
@@ -268,21 +236,11 @@
this.modelMapping = modelMapping;
}
- public PatientMobileSetting getSetting()
- {
- return setting;
- }
-
public void setSetting( PatientMobileSetting setting )
{
this.setting = setting;
}
- public org.hisp.dhis.patient.PatientAttribute getGroupByAttribute()
- {
- return groupByAttribute;
- }
-
public void setGroupByAttribute( org.hisp.dhis.patient.PatientAttribute groupByAttribute )
{
this.groupByAttribute = groupByAttribute;
@@ -1817,6 +1775,7 @@
String programIdText )
throws NotAllowedException
{
+ System.out.println("program IDDDDDDDDDDDDDDDDDDdd: "+programIdText);
org.hisp.dhis.patient.Patient patientWeb = new org.hisp.dhis.patient.Patient();
patientWeb.setName( patient.getName() );