| Package | Description |
|---|---|
| org.bedework.synch.shared | |
| org.bedework.synch.shared.cnctrs | |
| org.bedework.synch.shared.exception | |
| org.bedework.synch.shared.filters |
| Modifier and Type | Method and Description |
|---|---|
void |
SynchEngine.addSubscription(Subscription sub) |
String |
SynchEngine.decrypt(String val) |
void |
SynchEngine.deleteSubscription(Subscription sub) |
Subscription |
SynchEngine.find(Subscription sub)
Find any subscription that matches this one.
|
org.bedework.synch.wsmessages.CalProcessingType |
SubscriptionInfo.getAlarmsProcessing()
AlarmsProcessing - CalProcessingType
|
org.bedework.synch.wsmessages.ArrayOfSynchProperties |
SerializableProperties.getAllSynchProperties() |
String |
BaseSubscriptionInfo.getChangeToken()
ChangeToken
|
ConnectorInstance |
SynchEngine.getConnectorInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end)
Gets an instance and implants it in the subscription object.
|
boolean |
SubscriptionInfo.getDeletionsSuppressed()
Processing of deletions - boolean
|
List<String> |
BaseSubscriptionInfo.getInFilterClasses() |
List<Filter> |
SubscriptionConnectorInfo.getInputFilters(Subscription sub) |
BaseSubscriptionInfo.CrudCts |
BaseSubscriptionInfo.getLastCrudCts() |
String |
BaseSubscriptionInfo.getLastRefreshStatus() |
String |
BaseSubscriptionInfo.getOpaqueData()
Opaque data for the connection
|
List<String> |
BaseSubscriptionInfo.getOutFilterClasses() |
List<Filter> |
SubscriptionConnectorInfo.getOutputFilters(Subscription sub) |
String |
BaseSubscriptionInfo.getPassword()
Principal password
|
String |
BaseSubscriptionInfo.getPrincipalHref()
Principal requesting synch service
|
String |
SerializableProperties.getProperty(String name)
Get a property from the internal properties - loading them from the
external value first if necessary.
|
String |
BaseSubscriptionInfo.getProperty(String name)
Get arbitrary named property
|
String |
BaseSubscriptionInfo.getRefreshDelay()
Refresh delay - millisecs
|
org.bedework.synch.wsmessages.CalProcessingType |
SubscriptionInfo.getSchedulingProcessing()
SchedulingProcessing - CalProcessingType
|
Subscription |
SynchEngine.getSubscription(String id) |
String |
SerializableProperties.getSynchProperties() |
BaseSubscriptionInfo.CrudCts |
BaseSubscriptionInfo.getTotalCrudCts() |
String |
BaseSubscriptionInfo.getUri()
Path to the calendar collection
|
boolean |
SubscriptionInfo.getXlocXcategories()
Processing of categories - boolean
|
boolean |
SubscriptionInfo.getXlocXcontact()
Processing of locations and contacts - boolean
|
void |
SynchEngine.handleNotifications(Connector.NotificationBatch<Notification> notes)
Processes a batch of notifications.
|
void |
SerializableProperties.loadProperties()
Load the properties from the serialized form.
|
Date |
Subscription.nextRefresh()
Get a next refresh date based on the last refresh value
|
long |
Subscription.refreshDelay() |
void |
SubscriptionInfo.setAlarmsProcessing(org.bedework.synch.wsmessages.CalProcessingType val)
AlarmsProcessing - CalProcessingType
|
void |
BaseSubscriptionInfo.setChangeToken(String val)
ChangeToken
|
void |
SynchEngine.setConnectors(Subscription sub)
When we start up a new subscription we implant a Connector in the object.
|
void |
SubscriptionInfo.setDeletionsSuppressed(boolean val)
Processing of deletions - boolean
|
void |
BaseSubscriptionInfo.setInFilterClasses(List<String> classes) |
void |
BaseSubscriptionInfo.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
BaseSubscriptionInfo.setLastRefreshStatus(String val)
HTTP status or other appropriate value
|
void |
BaseSubscriptionInfo.setOpaqueData(String val)
Opaque data for the connection
|
void |
BaseSubscriptionInfo.setOutFilterClasses(List<String> classes) |
void |
BaseSubscriptionInfo.setPassword(String val)
Principals password
|
void |
BaseSubscriptionInfo.setPrincipalHref(String val)
Principal requesting synch service
|
void |
SerializableProperties.setProperty(String name,
String val)
Set a property in the internal properties - loading them from the
external value first if necessary.
|
void |
BaseSubscriptionInfo.setProperty(String name,
String val)
set arbitrary named property
|
void |
BaseSubscriptionInfo.setRefreshDelay(String val)
Refresh delay - millisecs
|
void |
SubscriptionInfo.setSchedulingProcessing(org.bedework.synch.wsmessages.CalProcessingType val)
SchedulingProcessing - CalProcessingType
|
void |
BaseSubscriptionInfo.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
BaseSubscriptionInfo.setUri(String val)
Path to the calendar collection.
|
void |
SubscriptionInfo.setXlocXcategories(boolean val)
Processing of categories - boolean
|
void |
SubscriptionInfo.setXlocXcontact(boolean val)
Processing of locations and contacts - boolean
|
void |
SynchEngine.start()
Start synch process.
|
void |
SynchEngine.updateSubscription(Subscription sub) |
boolean |
PropertiesInfo.validRequestProperties(BaseSubscriptionInfo info,
org.bedework.synch.wsmessages.ArrayOfSynchProperties propsArray)
Ensure info properties are valid for an existing subscription
|
boolean |
PropertiesInfo.validSubscribeInfoProperties(BaseSubscriptionInfo info)
Ensure info properties are valid for a new subscription
|
| Constructor and Description |
|---|
BaseSubscriptionInfo(SubscriptionConnectorInfo info) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorInstanceMap.add(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end,
CI cinst)
Add a connector
|
org.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseType |
BaseConnectorInstance.addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val) |
org.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseType |
ConnectorInstance.addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val)
Add a calendar component
|
boolean |
ConnectorInstance.changed()
Called before a resynch takes place to determine if the end point has
changed and needs resynch.
|
protected boolean |
BaseConnectorInstance.changed(boolean headSupported,
String contentType) |
org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseType |
BaseConnectorInstance.deleteItem(String uid) |
org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseType |
ConnectorInstance.deleteItem(String uid)
Delete a calendar component.
|
org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType |
BaseConnectorInstance.fetchItem(String uid) |
org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType |
ConnectorInstance.fetchItem(String uid)
Fetch a calendar component.
|
List<org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType> |
BaseConnectorInstance.fetchItems(List<String> uids) |
List<org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType> |
ConnectorInstance.fetchItems(List<String> uids)
Fetch a batch of calendar components.
|
CI |
ConnectorInstanceMap.find(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end)
Find a connector
|
protected org.apache.http.impl.client.CloseableHttpClient |
AbstractConnectorInstance.getClient() |
Connector |
ConnectorInstance.getConnector() |
C |
Connector.getConnectorInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end)
Called to obtain a connector instance for a subscription.
|
TI |
AbstractConnector.getConnectorInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end) |
abstract boolean |
BaseConnectorInstance.getIcal() |
protected boolean |
BaseConnectorInstance.getIcal(String contentType) |
ConnectorInstance.SynchItemsInfo |
BaseConnectorInstance.getItemsInfo() |
ConnectorInstance.SynchItemsInfo |
ConnectorInstance.getItemsInfo()
Get information about items in the subscribed calendar.
|
BaseSubscriptionInfo.CrudCts |
AbstractConnectorInstance.getLastCrudCts() |
BaseSubscriptionInfo.CrudCts |
ConnectorInstance.getLastCrudCts() |
protected org.bedework.synch.wsmessages.SynchRemoteServicePortType |
AbstractConnector.getPort(String uri) |
protected MessageFactory |
AbstractConnector.getSoapMsgFactory() |
InfoT |
ConnectorInstance.getSubInfo() |
BaseSubscriptionInfo.CrudCts |
AbstractConnectorInstance.getTotalCrudCts() |
BaseSubscriptionInfo.CrudCts |
ConnectorInstance.getTotalCrudCts() |
abstract URI |
BaseConnectorInstance.getUri() |
Connector.NotificationBatch<N> |
Connector.handleCallback(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
List<String> resourceUri)
Will create a notification batch object which will be passed to a synchling for
processing.
|
Connector.NotificationBatch<TN> |
AbstractConnector.handleCallback(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
List<String> resourceUri) |
abstract TI |
AbstractConnector.makeInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end) |
abstract ietf.params.xml.ns.icalendar_2.IcalendarType |
BaseConnectorInstance.makeXcal(InputStream is) |
protected void |
AbstractConnector.marshal(Object o,
OutputStream out) |
org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType |
AbstractConnectorInstance.open() |
org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType |
ConnectorInstance.open()
Called when a subscription is activated on synch engine startup or after
creation of a new subscription.
|
void |
ConnectorInstanceMap.remove(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end)
Remove a connector
|
void |
Connector.respondCallback(javax.servlet.http.HttpServletResponse resp,
Connector.NotificationBatch<N> notifications)
Will respond to a notification.
|
void |
AbstractConnector.respondCallback(javax.servlet.http.HttpServletResponse resp,
Connector.NotificationBatch<TN> notifications) |
void |
AbstractConnectorInstance.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
ConnectorInstance.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
AbstractConnectorInstance.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
ConnectorInstance.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) |
void |
Connector.start(String connectorId,
Tconf conf,
String callbackUri,
SynchEngine syncher)
Start the connector.
|
void |
Connector.stop()
Shut down the connector
|
void |
AbstractConnector.stop() |
boolean |
AbstractConnectorInstance.subscribe(org.bedework.synch.wsmessages.SubscribeResponseType sr) |
boolean |
ConnectorInstance.subscribe(org.bedework.synch.wsmessages.SubscribeResponseType sr)
Do whatever is required to set up a subscription to the end point for this
connector instance.
|
protected Object |
AbstractConnector.unmarshalBody(javax.servlet.http.HttpServletRequest req) |
boolean |
AbstractConnectorInstance.unsubscribe(org.bedework.synch.wsmessages.UnsubscribeRequestType usreq,
org.bedework.synch.wsmessages.UnsubscribeResponseType usresp) |
boolean |
ConnectorInstance.unsubscribe(org.bedework.synch.wsmessages.UnsubscribeRequestType usreq,
org.bedework.synch.wsmessages.UnsubscribeResponseType usresp)
Check to see if an unsubscribe can go ahead.
|
org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemResponseType |
BaseConnectorInstance.updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates) |
org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemResponseType |
ConnectorInstance.updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates)
Update a calendar component.
|
boolean |
AbstractConnectorInstance.validateActiveSubInfo(org.bedework.synch.wsmessages.ActiveSubscriptionRequestType req,
org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType resp,
Connector cnctr,
BaseSubscriptionInfo info) |
boolean |
ConnectorInstance.validateActiveSubInfo(org.bedework.synch.wsmessages.ActiveSubscriptionRequestType req,
org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType resp,
Connector cnctr,
BaseSubscriptionInfo info)
Ensure active subscription info matches the subscription
|
protected boolean |
AbstractConnectorInstance.validateSubInfo(org.bedework.synch.wsmessages.SubscribeResponseType sr,
Connector cnctr,
BaseSubscriptionInfo info)
Ensure subscription info is valid
|
| Modifier and Type | Class and Description |
|---|---|
class |
SynchBadRequest
Base exception thrown by synch classes
|
class |
SynchForbidden
Forbidden exception thrown by synch classes
|
class |
SynchTimeout
Forbidden exception thrown by synch classes
|
| Modifier and Type | Method and Description |
|---|---|
void |
Filter.addDifferSkipItems(List<Object> skipList)
Called to add items to the skip list for the ical differ.
|
void |
AbstractFilter.addDifferSkipItems(List<Object> skipList) |
ietf.params.xml.ns.icalendar_2.IcalendarType |
Filter.doFilter(ietf.params.xml.ns.icalendar_2.IcalendarType val) |
protected Map<String,Object> |
AbstractFilter.getStripMap() |
void |
Filter.init(Subscription sub)
Initialise the filter.
|
void |
AbstractFilter.init(Subscription sub)
Initialise the filter.
|
protected ietf.params.xml.ns.icalendar_2.IcalendarType |
AbstractFilter.stripIcal(ietf.params.xml.ns.icalendar_2.IcalendarType val) |
Copyright © 2018 Bedework. All rights reserved.