org.openmobileis.modules.crm.data.common
Interface RepresentantFactory

All Known Implementing Classes:
FODBRepresentantFactory, JDBCRepresentantFactory

public interface RepresentantFactory

Title: OpenMobileIS Project Description:

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

Method Summary
 void addRepresentant(Representant rep)
          called by synchro server to create the representant DB
 Representant[] getAllRepresentants()
           
 Representant getInstallRepresentant()
           
 java.lang.String[] getRepIdsList()
           
 Representant getRepresentant(java.lang.String id)
           
 Representant getSelectedRepresentant()
           
 void removeRepresentant(java.lang.String repId)
           
 void setInstallRepresentant(java.lang.String id)
           
 void setSelectedRepresentant(java.lang.String id)
           
 

Method Detail

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
called 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.