Package org.jumpmind.symmetric.service
Interface IConfigurationService
- All Known Implementing Classes:
ConfigurationService
public interface IConfigurationService
Provides an API to configure data synchronizations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidvoidvoiddeleteChannel(Channel channel) voiddeleteNodeGroup(String nodeGroupId) voidgetChannel(String channelId) getChannels(boolean refreshCache) getDataEventActionByGroupLinkId(String sourceGroupId, String targetGroupId) getNodeChannel(String channelId, boolean refreshExtractMillis) getNodeChannel(String channelId, String nodeId, boolean refreshExtractMillis) getNodeChannels(boolean refreshExtractMillis) getNodeChannels(String nodeId, boolean refreshExtractMillis) getNodeChannelsFromDb(String nodeId) getNodeGroupChannelWindows(String nodeGroupId, String channelId) getNodeGroupLinkFor(String sourceNodeGroupId, String targetNodeGroupId, boolean refreshCache) getNodeGroupLinks(boolean refreshCache) getNodeGroupLinksFor(String sourceGroupId, boolean refreshCache) getSuspendIgnoreChannelLists(String nodeId) Returns two sets of channel names, one for suspended channels and one for ignored.voidbooleanbooleanisChannelInUse(String channelId) Check to see if the channel is currently being used in the system.booleanIndicates that this node participates in a master to master linkbooleanbooleanvoidrenameChannel(String oldId, Channel channel) voidrenameNodeGroupLink(String oldSourceId, String oldTargetId, NodeGroupLink link) voidsaveChannel(Channel channel, boolean reloadChannels) voidsaveChannel(NodeChannel channel, boolean reloadChannels) voidsaveChannelAsCopy(Channel channel, boolean reloadChannels) voidsaveNodeChannel(NodeChannel channel, boolean reloadChannels) voidsaveNodeChannelControl(NodeChannel channel, boolean reloadChannels) voidsaveNodeGroup(NodeGroup group) voidvoidupdateLastExtractTime(NodeChannel channel)
-
Method Details
-
refreshFromDatabase
boolean refreshFromDatabase() -
getNodeGroups
-
saveNodeGroup
-
saveNodeGroupLink
-
renameNodeGroupLink
-
deleteNodeGroup
-
deleteNodeGroupLink
-
deleteAllNodeGroupLinks
void deleteAllNodeGroupLinks() -
getNodeGroupLinks
-
getNodeGroupLinksFromDb
List<NodeGroupLink> getNodeGroupLinksFromDb() -
getNodeGroupLinksFor
-
getNodeGroupLinkFor
NodeGroupLink getNodeGroupLinkFor(String sourceNodeGroupId, String targetNodeGroupId, boolean refreshCache) -
isChannelInUse
Check to see if the channel is currently being used in the system. -
saveChannel
-
saveChannel
-
saveChannelAsCopy
-
renameChannel
-
saveNodeChannel
-
saveNodeChannelControl
-
updateLastExtractTime
-
deleteChannel
-
deleteAllChannels
void deleteAllChannels() -
getNodeGroupChannelWindows
-
getNodeGroupChannelWindowsFromDb
Map<String,List<NodeGroupChannelWindow>> getNodeGroupChannelWindowsFromDb() -
getDataEventActionByGroupLinkId
-
getNodeChannels
-
getNodeChannels
-
getNodeChannelsFromDb
-
getNodeChannel
-
getChannel
-
getFileSyncChannels
-
getChannels
-
getChannelsFromDb
-
getNodeChannel
-
clearCache
void clearCache() -
initDefaultChannels
void initDefaultChannels() -
getSuspendIgnoreChannelLists
Returns two sets of channel names, one for suspended channels and one for ignored.- Parameters:
nodeId-- Returns:
- A Map with two entries, the sets of which will always be defined but may be empty.
-
getSuspendIgnoreChannelLists
ChannelMap getSuspendIgnoreChannelLists() -
getRegistrationRedirectMap
- Returns:
- a map of nodes to redirect to that is keyed by a list of external_ids that should be redirected.
-
isBulkLoaderEnabled
boolean isBulkLoaderEnabled() -
isMasterToMaster
boolean isMasterToMaster()Indicates that this node participates in a master to master link- Returns:
-
containsMasterToMaster
boolean containsMasterToMaster() -
isMasterToMasterOnly
boolean isMasterToMasterOnly()
-