org.openmobileis.modules.crm.database.common.jdbc
Class JDBCLabelFactory
java.lang.Object
org.openmobileis.modules.crm.database.common.jdbc.JDBCLabelFactory
- All Implemented Interfaces:
- LabelFactory
- public abstract class JDBCLabelFactory
- extends java.lang.Object
- implements LabelFactory
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 LabelJDBCQuery query
JDBCLabelFactory
public JDBCLabelFactory(LabelJDBCQuery q)
- Constructor for LabelManager.
getLabelListForCategorie
public Array getLabelListForCategorie(java.lang.String categorie)
- Specified by:
getLabelListForCategorie
in interface LabelFactory
getDBLabelListForCategorie
protected Array getDBLabelListForCategorie(java.lang.String categorie)
getLabelWithIds
public Label getLabelWithIds(java.lang.String id,
java.lang.String category)
- Specified by:
getLabelWithIds
in interface LabelFactory
getDBLabelWithIds
protected Label getDBLabelWithIds(java.lang.String id,
java.lang.String category)
convertIdsToLabelObjectIds
public java.lang.String convertIdsToLabelObjectIds(java.lang.String labelid,
java.lang.String category)
storeLabel
public void storeLabel(Label label)
throws ServiceException,
DatabaseException
- call by synchro server to create the label DB
- Specified by:
storeLabel
in interface LabelFactory
- Throws:
ServiceException
DatabaseException
deleteLabel
public void deleteLabel(java.lang.String id,
java.lang.String category)
throws ServiceException,
DatabaseException
- Specified by:
deleteLabel
in interface LabelFactory
- Throws:
ServiceException
DatabaseException
getCategoriesList
public abstract java.lang.String[][] getCategoriesList()
- Specified by:
getCategoriesList
in interface LabelFactory
initLabelDB
public abstract void initLabelDB()
notifyLabelUpdate
public abstract void notifyLabelUpdate(Label label)
throws SynchroException
- Throws:
SynchroException
notifyLabeldelete
public abstract void notifyLabeldelete(java.lang.String labelId,
java.lang.String categoryId)
throws SynchroException
- Throws:
SynchroException
Copyright 2005 e-Care. All Rights Reserved.