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

Quick Search    Search Deep

com.obs.client.system.delegates
Class UGMgmtDelegate  view UGMgmtDelegate download UGMgmtDelegate.java

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

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


Field Summary
private  java.lang.String jndiREF
           
private  com.obs.ejb.system.interfaces.UGMgmt remote
           
 
Fields inherited from class com.obs.client.templates.EJBDelegateHelper
handle, ictx, inited
 
Constructor Summary
UGMgmtDelegate()
           
UGMgmtDelegate(javax.naming.InitialContext ctx)
           
UGMgmtDelegate(java.util.Properties props)
           
 
Method Summary
 void activate()
           
 com.obs.common.system.views.UserView createUser(com.obs.common.system.views.UserView userView, java.lang.String companyId)
           
 void destroy()
           
 java.util.Collection getCompanyUsers(java.lang.String companyID)
           
 com.obs.common.system.views.UserView getUserByID(java.lang.String userID)
           
 com.obs.common.system.views.UserView getUserByUsername(java.lang.String username, java.lang.String companyID)
           
private  void init()
           
 void passivate()
           
 com.obs.common.system.views.UserView setUserPassword(java.lang.String userID, java.lang.String password)
           
 
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.system.interfaces.UGMgmt remote

jndiREF

private java.lang.String jndiREF
Constructor Detail

UGMgmtDelegate

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

UGMgmtDelegate

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

UGMgmtDelegate

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

createUser

public com.obs.common.system.views.UserView createUser(com.obs.common.system.views.UserView userView,
                                                       java.lang.String companyId)
                                                throws com.obs.common.shared.exceptions.ServerContactException

setUserPassword

public com.obs.common.system.views.UserView setUserPassword(java.lang.String userID,
                                                            java.lang.String password)
                                                     throws com.obs.common.shared.exceptions.ServerContactException,
                                                            com.obs.common.shared.exceptions.NoSuchObjectException

getUserByID

public com.obs.common.system.views.UserView getUserByID(java.lang.String userID)
                                                 throws com.obs.common.shared.exceptions.ServerContactException,
                                                        com.obs.common.shared.exceptions.NoSuchObjectException

getUserByUsername

public com.obs.common.system.views.UserView getUserByUsername(java.lang.String username,
                                                              java.lang.String companyID)
                                                       throws com.obs.common.shared.exceptions.ServerContactException,
                                                              com.obs.common.shared.exceptions.NoSuchObjectException

getCompanyUsers

public java.util.Collection getCompanyUsers(java.lang.String companyID)
                                     throws com.obs.common.shared.exceptions.ServerContactException,
                                            com.obs.common.shared.exceptions.NoSuchObjectException

init

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

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