|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangelogInterface
The interface object which all ChangelogConnectors should implement.
ChangelogConnector
Field Summary | |
---|---|
static String |
CONN_PARAM_STATE_KEY_PERSISTENCE
The name of the parameter which value specifies the method, used for storing the StateKey. |
static String |
PARAM_MERGE_BOTH_NOT_MERGED
Possible String value of the
ChangelogConnector.PARAM_MERGE_MODE parameter. |
static String |
PARAM_MERGE_CHANGELOG_AND_DATA
Possible String value of the
ChangelogConnector.PARAM_MERGE_MODE parameter. |
static String |
PARAM_MERGE_ONLY_CHANGED_DATA
Possible String value of the
ChangelogConnector.PARAM_MERGE_MODE parameter. |
static String |
PARAM_VAL_AFTER_READ
Possible String value of the
CONN_PARAM_STATE_KEY_PERSISTENCE parameter. |
static String |
PARAM_VAL_END_OF_CYCLE
Possible String value of the
CONN_PARAM_STATE_KEY_PERSISTENCE parameter. |
static String |
PARAM_VAL_MANUAL
Possible String value of the
CONN_PARAM_STATE_KEY_PERSISTENCE parameter. |
static int |
SAVE_STATE_AFTER_READ
This constant is usually used to specify that the StateKey should be persisted after each received entry. |
static int |
SAVE_STATE_END_OF_CYCLE
This constant is usually used to specify that the StatKey should be persisted after each AL cycle ends. |
static int |
SAVE_STATE_MANUAL
This constant is usually used to specify that the StatKey persistence is not done automatically by the TDI Server. |
Method Summary | |
---|---|
Object |
getStateKeyObject()
Retrieves state key. |
int |
getStateKeySaveMethod()
Retrieves the method for storing StateKey. |
void |
saveStateKey()
Stores the USN values for the next synchronization. |
Field Detail |
---|
static final String CONN_PARAM_STATE_KEY_PERSISTENCE
static final String PARAM_VAL_AFTER_READ
String
value of the
CONN_PARAM_STATE_KEY_PERSISTENCE
parameter. If that parameter
have this value then the getStateKeySaveMethod()
will return
SAVE_STATE_AFTER_READ
(0)
static final String PARAM_VAL_END_OF_CYCLE
String
value of the
CONN_PARAM_STATE_KEY_PERSISTENCE
parameter. If that parameter
have this value then the getStateKeySaveMethod()
will return
SAVE_STATE_END_OF_CYCLE
(1)
static final String PARAM_VAL_MANUAL
String
value of the
CONN_PARAM_STATE_KEY_PERSISTENCE
parameter. If that parameter
have this value then the getStateKeySaveMethod()
will return
SAVE_STATE_MANUAL
(2)
static final String PARAM_MERGE_CHANGELOG_AND_DATA
String
value of the
ChangelogConnector.PARAM_MERGE_MODE
parameter. If that parameter
have this value then the ChangelogConnector.defaultMerge
will
have a value of true
.
static final String PARAM_MERGE_ONLY_CHANGED_DATA
String
value of the
ChangelogConnector.PARAM_MERGE_MODE
parameter. If that parameter
have this value then the ChangelogConnector.onlyChanges
will have
a value of true
.
static final String PARAM_MERGE_BOTH_NOT_MERGED
String
value of the
ChangelogConnector.PARAM_MERGE_MODE
parameter. If that parameter
have this value then the ChangelogConnector.bothSeparated
will
have a value of true
.
static final int SAVE_STATE_AFTER_READ
static final int SAVE_STATE_END_OF_CYCLE
static final int SAVE_STATE_MANUAL
saveStateKey()
method in order to store the StateKey.
Method Detail |
---|
int getStateKeySaveMethod() throws Exception
Exception
- -
neverSAVE_STATE_AFTER_READ
,
SAVE_STATE_END_OF_CYCLE
,
SAVE_STATE_MANUAL
void saveStateKey() throws Exception
SAVE_STATE_AFTER_READ
Exception
- -
neverObject getStateKeyObject() throws Exception
Exception
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |