Package org.jumpmind.symmetric.model
Class Trigger
java.lang.Object
org.jumpmind.symmetric.model.Trigger
- All Implemented Interfaces:
Serializable
,Cloneable
,IModelObject
Defines the trigger via which a table will be synchronized.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
Column[]
Column[]
filterExcludedColumns
(Column[] src) Column[]
filterIncludedColumns
(Column[] src) Column[]
getSyncKeysColumnsForTable
(Table table) boolean
hasChangedSinceLastTriggerBuild
(Date lastTriggerBuildTime) int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
protected boolean
boolean
boolean
boolean
matchesCatalogName
(String catalogName, boolean ignoreCase) boolean
matchesSchemaName
(String schemaName, boolean ignoreCase) void
Column[]
orderColumnsForTable
(Table table) When dealing with columns, always use this method to order the columns so that the primary keys are first.final String
final String
void
setChannelExpression
(String channelExpression) void
setChannelId
(String channelId) void
setCreateTime
(Date createdOn) void
setCustomBeforeDeleteText
(String customBeforeDeleteText) void
setCustomBeforeInsertText
(String customBeforeInsertText) void
setCustomBeforeUpdateText
(String customBeforeUpdateText) void
setCustomOnDeleteText
(String customOnDeleteText) void
setCustomOnInsertText
(String customOnInsertText) void
setCustomOnUpdateText
(String customOnUpdateText) void
setExcludedColumnNames
(String excludedColumnNames) void
setExternalSelect
(String externalSelect) void
setIncludedColumnNames
(String includedColumnNames) void
setLastUpdateBy
(String updatedBy) void
setLastUpdateTime
(Date lastModifiedOn) void
setNameForDeleteTrigger
(String nameForDeleteTrigger) void
setNameForInsertTrigger
(String nameForInsertTrigger) void
setNameForUpdateTrigger
(String nameForUpdateTrigger) void
setReloadChannelId
(String reloadChannelId) void
setSourceCatalogName
(String sourceCatalogName) void
setSourceSchemaName
(String sourceSchemaName) void
setSourceTableName
(String sourceTableName) void
setSourceTableNameExpanded
(boolean isSourceTableNameExpanded) void
setStreamRow
(boolean streamRow) void
setSyncKeyNames
(String syncKeys) void
setSyncOnDelete
(boolean syncOnDelete) void
setSyncOnDeleteCondition
(String syncOnDeleteCondition) void
setSyncOnIncomingBatch
(boolean syncOnIncomingBatch) void
setSyncOnInsert
(boolean syncOnInsert) void
setSyncOnInsertCondition
(String syncOnInsertCondition) void
setSyncOnUpdate
(boolean syncOnUpdate) void
setSyncOnUpdateCondition
(String syncOnUpdateCondition) void
setTimeBasedCaptureColumn
(String timeBasedCaptureColumn) void
setTriggerId
(String triggerId) void
setTxIdExpression
(String txIdExpression) void
setUseCaptureLobs
(boolean useCaptureLobs) void
setUseCaptureOldData
(boolean useCaptureOldData) void
setUseHandleKeyUpdates
(boolean useHandleKeyUpdates) void
setUseStreamLobs
(boolean useStreamLobs) long
toString()
-
Constructor Details
-
Trigger
public Trigger() -
Trigger
-
Trigger
-
-
Method Details
-
qualifiedSourceTableName
-
qualifiedSourceTablePrefix
-
nullOutBlankFields
public void nullOutBlankFields() -
filterExcludedAndIncludedColumns
-
filterExcludedColumns
-
filterIncludedColumns
-
getSyncKeysColumnsForTable
-
orderColumnsForTable
When dealing with columns, always use this method to order the columns so that the primary keys are first. -
hasChangedSinceLastTriggerBuild
-
getTriggerId
-
setTriggerId
-
getSourceTableName
-
getSourceTableNameLowerCase
-
getSourceTableNameUnescaped
-
isSourceWildCarded
public boolean isSourceWildCarded() -
isSourceTableNameWildCarded
public boolean isSourceTableNameWildCarded() -
isSourceTableNameExpanded
public boolean isSourceTableNameExpanded() -
setSourceTableNameExpanded
public void setSourceTableNameExpanded(boolean isSourceTableNameExpanded) -
isSourceCatalogNameWildCarded
public boolean isSourceCatalogNameWildCarded() -
isSourceSchemaNameWildCarded
public boolean isSourceSchemaNameWildCarded() -
getChannelExpression
-
setChannelExpression
-
setSourceTableName
-
getSourceSchemaName
-
getSourceSchemaNameUnescaped
-
setSourceSchemaName
-
getSourceCatalogName
-
getSourceCatalogNameUnescaped
-
setSourceCatalogName
-
getChannelId
-
setChannelId
-
getReloadChannelId
-
setReloadChannelId
-
isSyncOnUpdate
public boolean isSyncOnUpdate() -
setSyncOnUpdate
public void setSyncOnUpdate(boolean syncOnUpdate) -
isSyncOnInsert
public boolean isSyncOnInsert() -
setSyncOnInsert
public void setSyncOnInsert(boolean syncOnInsert) -
isSyncOnDelete
public boolean isSyncOnDelete() -
setSyncOnDelete
public void setSyncOnDelete(boolean syncOnDelete) -
isSyncOnIncomingBatch
public boolean isSyncOnIncomingBatch() -
setSyncOnIncomingBatch
public void setSyncOnIncomingBatch(boolean syncOnIncomingBatch) -
getNameForInsertTrigger
-
setNameForInsertTrigger
-
getNameForUpdateTrigger
-
setNameForUpdateTrigger
-
getNameForDeleteTrigger
-
setNameForDeleteTrigger
-
getSyncOnUpdateCondition
-
setSyncOnUpdateCondition
-
getSyncOnInsertCondition
-
setSyncOnInsertCondition
-
getSyncOnDeleteCondition
-
setSyncOnDeleteCondition
-
getCustomBeforeUpdateText
-
setCustomBeforeUpdateText
-
getCustomBeforeInsertText
-
setCustomBeforeInsertText
-
getCustomBeforeDeleteText
-
setCustomBeforeDeleteText
-
getCustomOnUpdateText
-
setCustomOnUpdateText
-
getCustomOnInsertText
-
setCustomOnInsertText
-
getCustomOnDeleteText
-
setCustomOnDeleteText
-
getExcludedColumnNames
-
setExcludedColumnNames
-
getIncludedColumnNames
-
setIncludedColumnNames
-
getTxIdExpression
-
setTxIdExpression
-
getExternalSelect
-
setExternalSelect
-
setLastUpdateBy
- Specified by:
setLastUpdateBy
in interfaceIModelObject
-
getLastUpdateBy
- Specified by:
getLastUpdateBy
in interfaceIModelObject
-
getLastUpdateTime
- Specified by:
getLastUpdateTime
in interfaceIModelObject
-
setLastUpdateTime
- Specified by:
setLastUpdateTime
in interfaceIModelObject
-
getCreateTime
- Specified by:
getCreateTime
in interfaceIModelObject
-
setCreateTime
- Specified by:
setCreateTime
in interfaceIModelObject
-
setUseStreamLobs
public void setUseStreamLobs(boolean useStreamLobs) -
isUseStreamLobs
public boolean isUseStreamLobs() -
setUseCaptureLobs
public void setUseCaptureLobs(boolean useCaptureLobs) -
isUseCaptureLobs
public boolean isUseCaptureLobs() -
isUseHandleKeyUpdates
public boolean isUseHandleKeyUpdates() -
setUseHandleKeyUpdates
public void setUseHandleKeyUpdates(boolean useHandleKeyUpdates) -
setUseCaptureOldData
public void setUseCaptureOldData(boolean useCaptureOldData) -
isUseCaptureOldData
public boolean isUseCaptureOldData() -
setSyncKeyNames
-
getSyncKeyNames
-
isStreamRow
public boolean isStreamRow() -
setStreamRow
public void setStreamRow(boolean streamRow) -
getTimeBasedCaptureColumn
-
setTimeBasedCaptureColumn
-
getFullyQualifiedSourceTableName
-
toHashedValue
public long toHashedValue() -
matchesCatalogName
-
matchesSchemaName
-
matches
-
matches
-
matches
-
equals
-
hashCode
public int hashCode() -
toString
-
copy
-