org.chorem.lima.ui.ledger
Class LedgerViewHandler

java.lang.Object
  extended by org.chorem.lima.ui.ledger.LedgerViewHandler
All Implemented Interfaces:
ServiceListener

public class LedgerViewHandler
extends Object
implements ServiceListener

Handler associated with accounts reports view. By : $Author: vsalaun $


Field Summary
protected  BalanceTrial balanceTrialCache
           
protected  List<Object> cachedatasList
           
protected  DocumentServiceMonitorable documentService
           
protected  FiscalPeriodServiceMonitorable fiscalPeriodService
           
protected  LedgerTableModel model
           
protected  int port
           
protected  ReportServiceMonitorable reportService
          Services.
protected  String selectedAccounts
          Text field Accounts
protected  Date selectedBeginDate
          Begin Date.
protected  Date selectedEndDate
          EndDate.
protected  LedgerView view
           
 
Constructor Summary
protected LedgerViewHandler(LedgerView view)
           
 
Method Summary
 void createDocument()
           
 List<Object> getDataList()
          get all account fot the selected period
 void notifyMethod(String serviceName, String methodeName)
           
 void refresh()
           
 void setAccountFilter(String accounts)
           
 void setBeginDate(Date date)
           
 void setEndDate(Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

protected LedgerView view

model

protected LedgerTableModel model

reportService

protected ReportServiceMonitorable reportService
Services.


documentService

protected DocumentServiceMonitorable documentService

fiscalPeriodService

protected FiscalPeriodServiceMonitorable fiscalPeriodService

selectedBeginDate

protected Date selectedBeginDate
Begin Date.


selectedEndDate

protected Date selectedEndDate
EndDate.


selectedAccounts

protected String selectedAccounts
Text field Accounts


balanceTrialCache

protected BalanceTrial balanceTrialCache

port

protected int port

cachedatasList

protected List<Object> cachedatasList
Constructor Detail

LedgerViewHandler

protected LedgerViewHandler(LedgerView view)
Method Detail

setBeginDate

public void setBeginDate(Date date)

setEndDate

public void setEndDate(Date date)

setAccountFilter

public void setAccountFilter(String accounts)

getDataList

public List<Object> getDataList()
get all account fot the selected period

Returns:

refresh

public void refresh()

createDocument

public void createDocument()

notifyMethod

public void notifyMethod(String serviceName,
                         String methodeName)
Specified by:
notifyMethod in interface ServiceListener


Copyright © 2008-2011 CodeLutin. All Rights Reserved.