org.openmobileis.modules.crm.database.common.jdbc
Class JDBCRepresentantFactory

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

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

Title: OpenMobileIS Project Description:

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

Field Summary
protected  RepresentantJDBCQuery query
           
 
Constructor Summary
JDBCRepresentantFactory(RepresentantJDBCQuery q)
          Constructor for RepresentantManager.
 
Method Summary
 void addRepresentant(Representant rep)
          call by synchro server to create the representant DB
 Representant[] getAllRepresentants()
           
 Representant getInstallRepresentant()
           
 java.lang.String[] getRepIdsList()
           
 Representant getRepresentant(java.lang.String id)
           
 Representant getSelectedRepresentant()
           
abstract  void notifyRepresentantdelete(java.lang.String repId)
           
abstract  void notifyRepresentantUpdate(Representant rep)
           
 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
 

Field Detail

query

protected RepresentantJDBCQuery query
Constructor Detail

JDBCRepresentantFactory

public JDBCRepresentantFactory(RepresentantJDBCQuery q)
Constructor for RepresentantManager.
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 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 DatabaseException
Specified by:
removeRepresentant in interface RepresentantFactory

notifyRepresentantUpdate

public abstract void notifyRepresentantUpdate(Representant rep)
                                       throws SynchroException

notifyRepresentantdelete

public abstract void notifyRepresentantdelete(java.lang.String repId)
                                       throws SynchroException


Copyright 2005 e-Care. All Rights Reserved.