|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.storage.db.DatabaseStatements
public class DatabaseStatements
Title: DatabaseStatements
Description: Statements for Mysql
Copyright: Copyright (c) 2005
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DatabaseStatements getInstance()
public void initialize(Connection connection,
DataAccessObject storageDao)
public void initializeUpdateStatements()
public void initializeInsertIntoStatements()
public void initializeDeleteAndUpdateStatements()
public void initializeSelectStatements()
public void executeUpdateInventoryLightStatusStmt(int status)
throws ServiceException
ServiceException
public void executeInsertIntoEntityStmt(String entityId)
throws ServiceException
ServiceException
public void executeInsertIntoEntityInventoryStmt(String sequenceNumber,
String destAddr)
throws ServiceException
ServiceException
public void executeInsertIntoEntityTemplateStmt(String templateId,
String entityId)
throws ServiceException
ServiceException
public void executeInsertIntoInventoryFullStmt(String sequenceNumber,
String previousSequenceNumber,
String eventID,
byte[] eventString,
String templateId)
throws ServiceException
ServiceException
public void executeInsertIntoInventoryLightStmt(String sequenceNumber,
String previousSequenceNumber,
String templateId,
String catenation,
String status)
throws ServiceException
ServiceException
public void executeInsertIntoProfileStmt(String profileId,
String profileType,
byte[] subscription,
String templateId,
String destinationAddress)
throws ServiceException
ServiceException
public void executeInsertIntoTemplateStmt(String templateID,
String templateType,
byte[] templateInfo)
throws ServiceException
ServiceException
public void executeInsertIntoTimestampInfoStmt(String sequenceNumber,
String timestamp,
String templateId)
throws ServiceException
ServiceException
public void executeDeleteFromEntity13Stmt(String entityId)
throws ServiceException
ServiceException
public void executeDeleteFromEntityInventory13Stmt(String sequenceNumber)
throws ServiceException
ServiceException
public void executeDeleteFromEntityInventory25Stmt(String sequenceNumber,
String entityId)
throws ServiceException
ServiceException
public void executeDeleteFromEntityTemplate15Stmt(String entityId,
String templateId)
throws ServiceException
ServiceException
public void executeDeleteFromInventoryFull13Stmt(String sequenceNumber)
throws ServiceException
ServiceException
public void executeDeleteFromInventoryLight13(String sequenceNumber)
throws ServiceException
ServiceException
public void executeDeleteFromProfile15Stmt(String templateId,
String profileId)
throws ServiceException
ServiceException
public void executeDeleteFromTemplate13Stmt(String templateId)
throws ServiceException
ServiceException
public void executeDeleteFromTimestampInfo13Stmt(String sequenceNumber)
throws ServiceException
ServiceException
public void executeUpdateEntityTemplate16Stmt(String syncpoint,
String templateId,
String entityId)
throws ServiceException
ServiceException
public void executeUpdateEntityTemplate26Stmt(String catenation,
String templateId,
String entityId)
throws ServiceException
ServiceException
public void executeUpdateEntityInventory16Stmt(String entityId1,
String sequenceNumber,
String entityId2)
throws ServiceException
ServiceException
public ResultSet executeSelectTemplateBytesFromTemplateStmt()
throws ServiceException
ServiceException
public ResultSet executeSelectAllFromEntity9Stmt()
throws ServiceException
ServiceException
public ResultSet executeSelectMAXSeqNumberFromInventoryFullStmt()
throws ServiceException
ServiceException
public ResultSet executeSelectMAXSeqNumberFromInventoryLight1Stmt()
throws ServiceException
ServiceException
public ResultSet executeSelectMAXSeqNumberFromEntityInventoryStmt()
throws ServiceException
ServiceException
public ResultSet executeSelectEntityIdFromEntityTemplateStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectEventFromInventoryFullStmt(String sequenceNumber)
throws ServiceException
ServiceException
public ResultSet executeSelectMAXSeqNumberFromInventoryLight2Stmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectProfileTypeSubscriptionFromProfileStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberTimestampFromTimestampInfo15Stmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberFromInventoryLight15Stmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectMINSeqNumberTimestampFromTimestampInfoStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectMAXSeqNumberTimestampFromTimestampInfoStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectSyncpointFromEntityTemplateStmt(String templateId,
String entityId)
throws ServiceException
ServiceException
public ResultSet executeSelectCatenationFromEntityTemplateStmt(String templateId,
String entityId)
throws ServiceException
ServiceException
public ResultSet executeSelectAllFromEntityInventoryStmt(String sequenceNumber)
throws ServiceException
ServiceException
public ResultSet executeSelectTimestampFromTimestampInfoStmt(String templateId,
String sequenceNumber)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberFromTimestampInfoStmt(String templateId,
String timestamp1,
String timestamp2)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberTimestampFromTimestampInfo29Stmt(String templateId,
String timestamp1,
String timestamp2)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberTimestampFromTimestampInfo39Stmt(String templateId,
String sequenceNumber,
String timestamp)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberFromInventoryLight29Stmt(String seqNumber1,
String seqNumber2,
String templateId)
throws ServiceException
ServiceException
public ResultSet executeSelectSeqNumberFromEntityInventoryInventoryLightStmt(String seqNumber1,
String seqNumber2,
String entityId,
String templateId)
throws ServiceException
ServiceException
public ResultSet executeTimestampInfoCompleteRowStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeTimestampInfoCompleteRowDESCStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeInventoryLightCompleteRowStmt(String templateId)
throws ServiceException
ServiceException
public ResultSet executeInventoryLightCompleteRowDESCStmt(String templateId)
throws ServiceException
ServiceExceptionpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||