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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected RepresentantJDBCQuery query
JDBCRepresentantFactory
public JDBCRepresentantFactory(RepresentantJDBCQuery q)
- Constructor for RepresentantManager.
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
- Throws:
ServiceException
DatabaseException
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
- Throws:
ServiceException
DatabaseException
getAllRepresentants
public Representant[] getAllRepresentants()
throws DatabaseException
- Specified by:
getAllRepresentants
in interface RepresentantFactory
- Throws:
DatabaseException
addRepresentant
public void addRepresentant(Representant rep)
throws DatabaseException
- call by synchro server to create the representant DB
- Specified by:
addRepresentant
in interface RepresentantFactory
- Throws:
DatabaseException
removeRepresentant
public void removeRepresentant(java.lang.String repId)
throws DatabaseException
- Specified by:
removeRepresentant
in interface RepresentantFactory
- Throws:
DatabaseException
notifyRepresentantUpdate
public abstract void notifyRepresentantUpdate(Representant rep)
throws SynchroException
- Throws:
SynchroException
notifyRepresentantdelete
public abstract void notifyRepresentantdelete(java.lang.String repId)
throws SynchroException
- Throws:
SynchroException
Copyright 2005 e-Care. All Rights Reserved.