org.openmobileis.modules.crm.data.common
Class RepresentantManager

java.lang.Object
  extended byorg.openmobileis.modules.crm.data.common.RepresentantManager

public class RepresentantManager
extends java.lang.Object

Title: OpenMobileIS Project Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
RepresentantManager(RepresentantFactory factory)
          Constructor for RepresentantManager.
 
Method Summary
 void addRepresentant(Representant rep)
          call by synchro server to create the representant DB
 Representant[] getAllRepresentants()
           
 RepresentantFactory getFactory()
           
 Representant getInstallRepresentant()
           
static RepresentantManager getManager()
           
 java.lang.String[] getRepIdsList()
           
 Representant getRepresentant(java.lang.String id)
           
 Representant getSelectedRepresentant()
           
static void registerManager(RepresentantManager m)
           
static void removeManager()
           
 void removeRepresentant(java.lang.String repId)
           
 void setInstallRepresentant(java.lang.String id)
           
 void setSelectedRepresentant(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepresentantManager

public RepresentantManager(RepresentantFactory factory)
Constructor for RepresentantManager.

Method Detail

registerManager

public static void registerManager(RepresentantManager m)

removeManager

public static void removeManager()

getManager

public static RepresentantManager getManager()

getFactory

public RepresentantFactory getFactory()

getRepIdsList

public java.lang.String[] getRepIdsList()

getRepresentant

public Representant getRepresentant(java.lang.String id)

getSelectedRepresentant

public Representant getSelectedRepresentant()

setSelectedRepresentant

public void setSelectedRepresentant(java.lang.String id)
                             throws ServiceException,
                                    DatabaseException
Throws:
ServiceException
DatabaseException

getInstallRepresentant

public Representant getInstallRepresentant()

setInstallRepresentant

public void setInstallRepresentant(java.lang.String id)
                            throws ServiceException,
                                   DatabaseException
Throws:
ServiceException
DatabaseException

getAllRepresentants

public Representant[] getAllRepresentants()
                                   throws DatabaseException
Throws:
DatabaseException

addRepresentant

public void addRepresentant(Representant rep)
                     throws ServiceException,
                            DatabaseException
call by synchro server to create the representant DB

Throws:
ServiceException
DatabaseException

removeRepresentant

public void removeRepresentant(java.lang.String repId)
                        throws ServiceException,
                               DatabaseException
Throws:
ServiceException
DatabaseException


Copyright 2005 e-Care. All Rights Reserved.