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

Quick Search    Search Deep

com.obs.client.organizational.delegates
Class OrgMgmtDelegate  view OrgMgmtDelegate download OrgMgmtDelegate.java

java.lang.Object
  extended bycom.obs.client.templates.EJBDelegateHelper
      extended bycom.obs.client.organizational.delegates.OrgMgmtDelegate
All Implemented Interfaces:
com.obs.client.templates.IEJBDelegate

public class OrgMgmtDelegate
extends com.obs.client.templates.EJBDelegateHelper
implements com.obs.client.templates.IEJBDelegate


Field Summary
private  java.lang.String jndiREF
           
private  com.obs.ejb.organizational.interfaces.OrganizationalMgmt remote
           
 
Fields inherited from class com.obs.client.templates.EJBDelegateHelper
handle, ictx, inited
 
Constructor Summary
OrgMgmtDelegate()
           
OrgMgmtDelegate(javax.naming.InitialContext ctx)
           
OrgMgmtDelegate(java.util.Properties props)
           
 
Method Summary
 void activate()
           
 com.obs.common.organizational.views.CompanyView createCompany(com.obs.common.organizational.views.CompanyView companyView, com.obs.common.accounting.views.GLAccountView cashAccountView, com.obs.common.accounting.views.GLAccountView commonStockView)
           
 void destroy()
           
 java.util.Collection getCompanies()
           
 com.obs.common.organizational.views.CompanyView getCompany(java.lang.String id)
           
 com.obs.common.organizational.views.CompanyView getCompanyByName(java.lang.String companyName)
           
private  void init()
           
 void passivate()
           
 
Methods inherited from class com.obs.client.templates.EJBDelegateHelper
gActivate, gDestroy, gPassivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remote

private com.obs.ejb.organizational.interfaces.OrganizationalMgmt remote

jndiREF

private java.lang.String jndiREF
Constructor Detail

OrgMgmtDelegate

public OrgMgmtDelegate()
                throws com.obs.common.shared.exceptions.ServerContactException

OrgMgmtDelegate

public OrgMgmtDelegate(javax.naming.InitialContext ctx)
                throws com.obs.common.shared.exceptions.ServerContactException

OrgMgmtDelegate

public OrgMgmtDelegate(java.util.Properties props)
                throws com.obs.common.shared.exceptions.ServerContactException
Method Detail

passivate

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

activate

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

destroy

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

createCompany

public com.obs.common.organizational.views.CompanyView createCompany(com.obs.common.organizational.views.CompanyView companyView,
                                                                     com.obs.common.accounting.views.GLAccountView cashAccountView,
                                                                     com.obs.common.accounting.views.GLAccountView commonStockView)
                                                              throws com.obs.common.shared.exceptions.ServerContactException,
                                                                     javax.ejb.CreateException

getCompany

public com.obs.common.organizational.views.CompanyView getCompany(java.lang.String id)
                                                           throws com.obs.common.shared.exceptions.ServerContactException,
                                                                  com.obs.common.shared.exceptions.NoSuchObjectException

getCompanyByName

public com.obs.common.organizational.views.CompanyView getCompanyByName(java.lang.String companyName)
                                                                 throws com.obs.common.shared.exceptions.ServerContactException,
                                                                        com.obs.common.shared.exceptions.NoSuchObjectException

getCompanies

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

init

private void init()
           throws com.obs.common.shared.exceptions.ServerContactException