Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obs.client.accounting.delegates
Class GeneralJournalDelegate  view GeneralJournalDelegate download GeneralJournalDelegate.java

java.lang.Object
  extended bycom.obs.client.accounting.delegates.GeneralJournalDelegate
All Implemented Interfaces:
com.obs.client.templates.EJBDelegate

public class GeneralJournalDelegate
extends java.lang.Object
implements com.obs.client.templates.EJBDelegate


Field Summary
private  com.obs.ejb.accounting.interfaces.GeneralJournal generalJournal
           
private  javax.ejb.Handle handle
           
private  javax.naming.InitialContext ictx
           
private  java.lang.String localJournaEntryDescription
           
private  java.util.Collection localJournalEntryLines
           
 
Constructor Summary
GeneralJournalDelegate()
           
 
Method Summary
 void activate()
           
 void addJournalLine(com.obs.common.accounting.views.JournalLineView jLineView)
           
 void commitJournalEntry()
           
 void destroy()
           
 boolean doesJournalEntryBalance()
           
 java.lang.String getJournalEntryDescription()
           
 java.util.Collection getJournalEntryLines()
           
 void passivate()
           
 void removeJournalLine(java.lang.String journalLineID)
           
 void setJournalEntryDescription(java.lang.String journalEntryDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ictx

private javax.naming.InitialContext ictx

generalJournal

private com.obs.ejb.accounting.interfaces.GeneralJournal generalJournal

handle

private javax.ejb.Handle handle

localJournaEntryDescription

private java.lang.String localJournaEntryDescription

localJournalEntryLines

private java.util.Collection localJournalEntryLines
Constructor Detail

GeneralJournalDelegate

public GeneralJournalDelegate()
                       throws com.obs.common.exceptions.ServerContactException
Method Detail

setJournalEntryDescription

public void setJournalEntryDescription(java.lang.String journalEntryDescription)
                                throws com.obs.common.exceptions.ServerContactException

getJournalEntryDescription

public java.lang.String getJournalEntryDescription()
                                            throws com.obs.common.exceptions.ServerContactException

addJournalLine

public void addJournalLine(com.obs.common.accounting.views.JournalLineView jLineView)
                    throws com.obs.common.exceptions.ServerContactException

removeJournalLine

public void removeJournalLine(java.lang.String journalLineID)
                       throws com.obs.common.exceptions.ServerContactException

getJournalEntryLines

public java.util.Collection getJournalEntryLines()
                                          throws com.obs.common.exceptions.ServerContactException

doesJournalEntryBalance

public boolean doesJournalEntryBalance()
                                throws com.obs.common.exceptions.ServerContactException

commitJournalEntry

public void commitJournalEntry()
                        throws com.obs.common.exceptions.ServerContactException,
                               com.obs.common.exceptions.EntryBalanceException,
                               com.obs.common.exceptions.EntryMalformedException

destroy

public void destroy()
             throws com.obs.common.exceptions.ServerContactException
Specified by:
destroy in interface com.obs.client.templates.EJBDelegate

passivate

public void passivate()
               throws com.obs.common.exceptions.ServerContactException
Specified by:
passivate in interface com.obs.client.templates.EJBDelegate

activate

public void activate()
              throws com.obs.common.exceptions.ServerContactException
Specified by:
activate in interface com.obs.client.templates.EJBDelegate