org.chorem.lima.ui.account
Class AccountViewHandler

java.lang.Object
  extended by org.chorem.lima.ui.account.AccountViewHandler
All Implemented Interfaces:
ServiceListener

public class AccountViewHandler
extends Object
implements ServiceListener

Handler associated with account view.

Version:
$Revision: 3258 $ Last update : $Date: 2011-08-10 15:27:34 +0200 (Wed, 10 Aug 2011) $ By : $Author: vsalaun $
Author:
chatellier

Field Summary
protected  AccountServiceMonitorable accountService
           
protected  AccountView view
           
 
Constructor Summary
protected AccountViewHandler(AccountView view)
           
 
Method Summary
 void addAccount()
          Add new account with account form.
 void addSubLedger()
           
 void importAccountsChart()
           
 void notifyMethod(String serviceName, String methodeName)
           
 void refresh()
           
 void removeAccount()
          Ask for user to remove for selected account, and remove it if confirmed.
 void updateAccount()
          Open account form with selected account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

protected AccountView view

accountService

protected AccountServiceMonitorable accountService
Constructor Detail

AccountViewHandler

protected AccountViewHandler(AccountView view)
Method Detail

addAccount

public void addAccount()
Add new account with account form.

Throws:
LimaException

addSubLedger

public void addSubLedger()

updateAccount

public void updateAccount()
Open account form with selected account. Verifiy if it's an account or a subledger


removeAccount

public void removeAccount()
Ask for user to remove for selected account, and remove it if confirmed.


refresh

public void refresh()

importAccountsChart

public void importAccountsChart()

notifyMethod

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


Copyright © 2008-2011 CodeLutin. All Rights Reserved.