|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.process.SvrProcess
org.compiere.process.ReplicationLocal
public class ReplicationLocal
Local (Central) Data Replication. Note: requires migration technology
| Field Summary | |
|---|---|
protected static String |
START
|
| Fields inherited from class org.compiere.process.SvrProcess |
|---|
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound |
| Constructor Summary | |
|---|---|
ReplicationLocal()
|
|
| Method Summary | |
|---|---|
String |
doIt()
Perrform process. |
String[] |
getKeyColumns(int AD_Table_ID)
Get Key Columns (PK or FK) of Table |
static RowSet |
getRowSet(String sql,
Object[] args)
Get RowSet of Local Connection |
static boolean |
isReplicated(Object result)
Is data successful replicated |
void |
prepare()
Prepare - e.g., get Parameters. |
| Methods inherited from class org.compiere.process.SvrProcess |
|---|
addLog, addLog, commit, doIt, get_Trx, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, rollback, startProcess, unlockObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String START
| Constructor Detail |
|---|
public ReplicationLocal()
| Method Detail |
|---|
public void prepare()
prepare in class SvrProcess
public String doIt()
throws Exception
doIt in class SvrProcessException - if not successfulpublic String[] getKeyColumns(int AD_Table_ID)
AD_Table_ID - id
public static RowSet getRowSet(String sql,
Object[] args)
sql - sqlargs - optional argument array - supported: Integer, Timestamp, BigDecimal - rest is concerted to String
public static boolean isReplicated(Object result)
result - sync return value
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||