org.openmobileis.modules.crm.database.common.fodb
Class FODBRepresentantFactory

java.lang.Object
  |
  +--org.openmobileis.modules.crm.database.common.fodb.FODBRepresentantFactory
All Implemented Interfaces:
RepresentantFactory

public abstract class FODBRepresentantFactory
extends java.lang.Object
implements RepresentantFactory


Constructor Summary
FODBRepresentantFactory()
          Constructor for FODBRepresentantFactory.
 
Method Summary
 void addRepresentant(Representant rep)
          call by synchro server to create the representant DB
 Representant[] getAllRepresentants()
           
 java.lang.String getCollectionName()
           
protected abstract  java.lang.Class getDataType()
           
 Representant getInstallRepresentant()
           
protected abstract  int getMaxRepresentantIdLength()
           
 java.lang.String[] getRepIdsList()
           
 Representant getRepresentant(java.lang.String id)
           
 Representant getSelectedRepresentant()
           
protected  RepresentantSynchroFODBReturnListener getSynchroListener()
           
protected abstract  void initDB(FastObjectDB db)
           
 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

FODBRepresentantFactory

public FODBRepresentantFactory()
Constructor for FODBRepresentantFactory.
Method Detail

getRepIdsList

public java.lang.String[] getRepIdsList()
Specified by:
getRepIdsList in interface RepresentantFactory

getRepresentant

public Representant getRepresentant(java.lang.String id)
Specified by:
getRepresentant in interface RepresentantFactory

getSelectedRepresentant

public Representant getSelectedRepresentant()
Specified by:
getSelectedRepresentant in interface RepresentantFactory

setSelectedRepresentant

public void setSelectedRepresentant(java.lang.String id)
                             throws ServiceException,
                                    DatabaseException
Specified by:
setSelectedRepresentant in interface RepresentantFactory

getInstallRepresentant

public Representant getInstallRepresentant()
Specified by:
getInstallRepresentant in interface RepresentantFactory

setInstallRepresentant

public void setInstallRepresentant(java.lang.String id)
                            throws ServiceException,
                                   DatabaseException
Specified by:
setInstallRepresentant in interface RepresentantFactory

getAllRepresentants

public Representant[] getAllRepresentants()
                                   throws DatabaseException
Specified by:
getAllRepresentants in interface RepresentantFactory

addRepresentant

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

removeRepresentant

public void removeRepresentant(java.lang.String repId)
                        throws ServiceException,
                               DatabaseException
Specified by:
removeRepresentant in interface RepresentantFactory

getSynchroListener

protected RepresentantSynchroFODBReturnListener getSynchroListener()

getCollectionName

public java.lang.String getCollectionName()

getMaxRepresentantIdLength

protected abstract int getMaxRepresentantIdLength()

getDataType

protected abstract java.lang.Class getDataType()

initDB

protected abstract void initDB(FastObjectDB db)
                        throws FODBException,
                               BadDataFormatException


Copyright 2005 e-Care. All Rights Reserved.