@@ -0,0 +1,2491 @@
+/*%0A * Copyright (c) 2005-2010 Grameen Foundation USA%0A * All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A * implied. See the License for the specific language governing%0A * permissions and limitations under the License.%0A *%0A * See also http://www.apache.org/licenses/LICENSE-2.0.html for an%0A * explanation of the license and how it is applied.%0A */%0A%0Apackage org.mifos.dto.screen;%0A%0Aimport java.io.Serializable;%0Aimport java.util.Date;%0Aimport java.util.Locale;%0A%0Apublic class CustomerRecentActivityDto implements Serializable %7B%0A%0A    public CustomerRecentActivityDto(java.util.Date activityDate, String description, String amount, String postedBy) %7B%0A        this.activityDate = new java.sql.Date(activityDate.getTime());%0A        this.description = description;%0A        this.amount = amount;%0A        this.postedBy = postedBy;%0A    %7D%0A%0A    public CustomerRecentActivityDto() %7B%0A    %7D%0A%0A    private Date activityDate;%0A    private String description;%0A    private String amount = %22-%22;%0A    private String postedBy = %22-%22;%0A    private Locale locale = null;%0A    private String userPrefferedDate = null;%0A%0A    public Date getActivityDate() %7B%0A        return activityDate;%0A    %7D%0A%0A    public void setActivityDate(Date activityDate) %7B%0A        this.activityDate = activityDate;%0A    %7D%0A%0A    public String getAmount() %7B%0A        return amount;%0A    %7D%0A%0A    public void setAmount(String amount) %7B%0A        this.amount = amount;%0A    %7D%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public void setDescription(String description) %7B%0A        this.description = description;%0A    %7D%0A%0A    public String getPostedBy() %7B%0A        return postedBy;%0A    %7D%0A%0A    public void setPostedBy(String postedBy) %7B%0A        this.postedBy = postedBy;%0A    %7D%0A%0A    public String getUserPrefferedDate() %7B%0A        return userPrefferedDate;%0A    %7D%0A%0A    public Locale getLocale() %7B%0A        return locale;%0A    %7D%0A%0A    public void setLocale(Locale locale) %7B%0A        this.locale = locale;%0A    %7D%0A%0A    public void setUserPrefferedDate(String userPrefferedDate) %7B%0A        this.userPrefferedDate = userPrefferedDate;%0A    %7D%0A%7D

add service facade around viewing recent activity for customer accounts