dhis-mobile-devs team mailing list archive
-
dhis-mobile-devs team
-
Mailing list archive
-
Message #00295
[Branch ~dhis-mobile-devs/dhis-mobile/lwuit-tracking] Rev 156: add URL lost to follow up function
------------------------------------------------------------
revno: 156
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: lwuit-tracking
timestamp: Tue 2013-10-01 15:27:26 +0700
message:
add URL lost to follow up function
modified:
src/org/hisp/dhis/mobile/model/OrgUnit.java
src/org/hisp/dhis/mobile/view/FindBeneficiaryView.java
--
lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking
https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking
Your team DHIS mobile developers is subscribed to branch lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking/+edit-subscription
=== modified file 'src/org/hisp/dhis/mobile/model/OrgUnit.java'
--- src/org/hisp/dhis/mobile/model/OrgUnit.java 2013-09-07 13:31:02 +0000
+++ src/org/hisp/dhis/mobile/model/OrgUnit.java 2013-10-01 08:27:26 +0000
@@ -69,7 +69,9 @@
private String findLatestPersonUrl;
- private String findPatientInAdvanced;
+ private String findPatientInAdvancedUrl;
+
+ private String findLostToFollowUpUrl;
public static double serverVersion;
@@ -273,14 +275,24 @@
this.findLatestPersonUrl = findLatestPersonUrl;
}
- public String getFindPatientInAdvanced()
- {
- return findPatientInAdvanced;
- }
-
- public void setFindPatientInAdvanced( String findPatientInAdvanced )
- {
- this.findPatientInAdvanced = findPatientInAdvanced;
+ public String getFindPatientInAdvancedUrl()
+ {
+ return findPatientInAdvancedUrl;
+ }
+
+ public void setFindPatientInAdvancedUrl( String findPatientInAdvancedUrl )
+ {
+ this.findPatientInAdvancedUrl = findPatientInAdvancedUrl;
+ }
+
+ public String getFindLostToFollowUpUrl()
+ {
+ return findLostToFollowUpUrl;
+ }
+
+ public void setFindLostToFollowUpUrl( String findLostToFollowUpUrl )
+ {
+ this.findLostToFollowUpUrl = findLostToFollowUpUrl;
}
public void serialize( DataOutputStream dataOutputStream )
@@ -306,7 +318,8 @@
dataOutputStream.writeUTF( this.downloadAnonymousProgramUrl );
dataOutputStream.writeUTF( this.findProgramUrl );
dataOutputStream.writeUTF( this.findLatestPersonUrl );
- dataOutputStream.writeUTF( this.findPatientInAdvanced );
+ dataOutputStream.writeUTF( this.findPatientInAdvancedUrl );
+ dataOutputStream.writeUTF( this.findLostToFollowUpUrl );
}
public void deSerialize( DataInputStream dataInputStream )
@@ -332,7 +345,8 @@
this.downloadAnonymousProgramUrl = dataInputStream.readUTF();
this.findProgramUrl = dataInputStream.readUTF();
this.findLatestPersonUrl = dataInputStream.readUTF();
- this.findPatientInAdvanced = dataInputStream.readUTF();
+ this.findPatientInAdvancedUrl = dataInputStream.readUTF();
+ this.findLostToFollowUpUrl = dataInputStream.readUTF();
}
public boolean checkNewVersion( double serverVersion )
=== modified file 'src/org/hisp/dhis/mobile/view/FindBeneficiaryView.java'
--- src/org/hisp/dhis/mobile/view/FindBeneficiaryView.java 2013-09-07 13:31:02 +0000
+++ src/org/hisp/dhis/mobile/view/FindBeneficiaryView.java 2013-10-01 08:27:26 +0000
@@ -202,7 +202,7 @@
{
nameBasedMIDlet.setCurrentOrgUnit( (OrgUnit) orgUnitVector.elementAt( 0 ) );
- String tempURL = nameBasedMIDlet.getCurrentOrgUnit().getFindPatientInAdvanced();
+ String tempURL = nameBasedMIDlet.getCurrentOrgUnit().getFindPatientInAdvancedUrl();
ConnectionManager.setUrl( TrackingUtils.getUrlForSelectionAll( tempURL ) );
@@ -220,7 +220,7 @@
{
nameBasedMIDlet.setCurrentOrgUnit( (OrgUnit) orgUnitVector.elementAt( i ) );
ConnectionManager.setUrl( nameBasedMIDlet.getCurrentOrgUnit()
- .getFindPatientInAdvanced() );
+ .getFindPatientInAdvancedUrl() );
orgUnitIndex = i + 1;
break;
}