dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18087
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7479: local vn - Fixed bug changing UserStore -> UserService
------------------------------------------------------------
revno: 7479
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-07-02 16:36:27 +0700
message:
local vn - Fixed bug changing UserStore -> UserService
modified:
local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java
local/vn/dhis-service-spreadsheet-reporting/src/main/resources/META-INF/dhis/beans.xml
--
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 'local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java'
--- local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java 2012-06-25 06:46:16 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java 2012-07-02 09:36:27 +0000
@@ -52,11 +52,7 @@
import org.hisp.dhis.indicator.IndicatorService;
import org.hisp.dhis.organisationunit.OrganisationUnit;
import org.hisp.dhis.period.DailyPeriodType;
-import org.hisp.dhis.period.MonthlyPeriodType;
import org.hisp.dhis.period.Period;
-import org.hisp.dhis.period.QuarterlyPeriodType;
-import org.hisp.dhis.period.SixMonthlyPeriodType;
-import org.hisp.dhis.period.YearlyPeriodType;
import org.hisp.dhis.reportsheet.AttributeValueGroupOrder;
import org.hisp.dhis.reportsheet.CategoryOptionGroupOrder;
import org.hisp.dhis.reportsheet.DataElementGroupOrder;
@@ -71,7 +67,7 @@
import org.hisp.dhis.reportsheet.status.DataEntryStatus;
import org.hisp.dhis.user.User;
import org.hisp.dhis.user.UserAuthorityGroup;
-import org.hisp.dhis.user.UserStore;
+import org.hisp.dhis.user.UserService;
import org.springframework.transaction.annotation.Transactional;
/**
@@ -122,11 +118,11 @@
this.expressionService = expressionService;
}
- private UserStore userStore;
+ private UserService userService;
- public void setUserStore( UserStore userStore )
+ public void setUserService( UserService userService )
{
- this.userStore = userStore;
+ this.userService = userService;
}
private IndicatorService indicatorService;
@@ -195,7 +191,7 @@
else
{
- Set<UserAuthorityGroup> userRoles = userStore.getUserCredentials( user ).getUserAuthorityGroups();
+ Set<UserAuthorityGroup> userRoles = userService.getUserCredentials( user ).getUserAuthorityGroups();
Collection<ExportReport> reports = new ArrayList<ExportReport>();
=== modified file 'local/vn/dhis-service-spreadsheet-reporting/src/main/resources/META-INF/dhis/beans.xml'
--- local/vn/dhis-service-spreadsheet-reporting/src/main/resources/META-INF/dhis/beans.xml 2012-05-11 19:42:32 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/resources/META-INF/dhis/beans.xml 2012-07-02 09:36:27 +0000
@@ -22,7 +22,7 @@
<property name="expressionService" ref="org.hisp.dhis.expression.ExpressionService" />
<property name="indicatorService" ref="org.hisp.dhis.indicator.IndicatorService" />
<property name="exportReportStore" ref="org.hisp.dhis.reportsheet.ExportReportStore" />
- <property name="userStore" ref="org.hisp.dhis.user.UserStore" />
+ <property name="userService" ref="org.hisp.dhis.user.UserService" />
<property name="i18nService" ref="org.hisp.dhis.i18n.I18nService" />
</bean>