| Constructor and Description |
|---|
LiferaySiManager()
Check if the tables exist
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSiEntry(SiEntry entry) |
boolean |
addSiLogEntry(Date logDate,
String logResult,
String logInfo) |
SiServerEntry |
getSiEndPoint() |
SiEntry |
getSiEntryById(long id) |
static SiServerEntry |
getSiTestEndPoint() |
static String |
getTomcatFolder() |
List<SiEntry> |
listSiEntries() |
static void |
log2SIFinish(String tables) |
static void |
log2SIStart(String tables) |
boolean |
updateSiEntry(SiEntry entry) |
public boolean addSiEntry(SiEntry entry) throws SQLException
addSiEntry in interface SiManagerentry - SiEntrySQLExceptionpublic boolean updateSiEntry(SiEntry entry) throws SQLException
updateSiEntry in interface SiManagerSQLExceptionpublic SiEntry getSiEntryById(long id) throws SQLException
getSiEntryById in interface SiManagerid - the id to look forSiEntry instance or null if not existSQLExceptionpublic List<SiEntry> listSiEntries() throws SQLException
listSiEntries in interface SiManagerSQLExceptionpublic boolean addSiLogEntry(Date logDate, String logResult, String logInfo) throws SQLException
addSiLogEntry in interface SiManagerlogDate - t_sistema_informativo_sync_log_datalogResult - t_sistema_informativo_sync_log_resultlogInfo - t_sistema_informativo_sync_log_infoSQLExceptionpublic static void log2SIStart(String tables) throws SQLException
tables - the tables affected by the operationSQLExceptionpublic static void log2SIFinish(String tables) throws SQLException
tables - the tables affected by the operationSQLExceptionpublic static String getTomcatFolder()
public SiServerEntry getSiEndPoint()
getSiEndPoint in interface SiManagerpublic static SiServerEntry getSiTestEndPoint()
Copyright © 2014. All Rights Reserved.