Uses of Class
org.bedework.synch.shared.exception.SynchException
Packages that use SynchException
Package
Description
-
Uses of SynchException in org.bedework.synch.shared
Methods in org.bedework.synch.shared that throw SynchExceptionModifier and TypeMethodDescriptionvoidSynchEngine.addSubscription(Subscription sub) voidSynchEngine.deleteSubscription(Subscription sub) SynchEngine.find(Subscription sub) Find any subscription that matches this one.org.bedework.synch.wsmessages.CalProcessingTypeSubscriptionInfo.getAlarmsProcessing()AlarmsProcessing - CalProcessingTypeorg.bedework.synch.wsmessages.ArrayOfSynchPropertiesSerializableProperties.getAllSynchProperties()BaseSubscriptionInfo.getChangeToken()ChangeTokenSynchEngine.getConnectorInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) Gets an instance and implants it in the subscription object.booleanSubscriptionInfo.getDeletionsSuppressed()Processing of deletions - booleanBaseSubscriptionInfo.getInFilterClasses()SubscriptionConnectorInfo.getInputFilters(Subscription sub) BaseSubscriptionInfo.getLastCrudCts()BaseSubscriptionInfo.getLastRefreshStatus()BaseSubscriptionInfo.getOpaqueData()Opaque data for the connectionBaseSubscriptionInfo.getOutFilterClasses()SubscriptionConnectorInfo.getOutputFilters(Subscription sub) BaseSubscriptionInfo.getPassword()Principal passwordBaseSubscriptionInfo.getPrincipalHref()Principal requesting synch serviceBaseSubscriptionInfo.getProperty(String name) Get arbitrary named propertySerializableProperties.getProperty(String name) Get a property from the internal properties - loading them from the external value first if necessary.BaseSubscriptionInfo.getRefreshDelay()Refresh delay - millisecsorg.bedework.synch.wsmessages.CalProcessingTypeSubscriptionInfo.getSchedulingProcessing()SchedulingProcessing - CalProcessingTypeSynchEngine.getSubscription(String id) SerializableProperties.getSynchProperties()BaseSubscriptionInfo.getTotalCrudCts()BaseSubscriptionInfo.getUri()Path to the calendar collectionbooleanSubscriptionInfo.getXlocXcategories()Processing of categories - booleanbooleanSubscriptionInfo.getXlocXcontact()Processing of locations and contacts - booleanvoidSynchEngine.handleNotifications(Connector.NotificationBatch<Notification> notes) Processes a batch of notifications.voidSerializableProperties.loadProperties()Load the properties from the serialized form.Subscription.nextRefresh()Get a next refresh date based on the last refresh valuelongSubscription.refreshDelay()voidSynchEngine.rescheduleNow(String id) Reschedule a subscription now.voidSubscriptionInfo.setAlarmsProcessing(org.bedework.synch.wsmessages.CalProcessingType val) AlarmsProcessing - CalProcessingTypevoidBaseSubscriptionInfo.setChangeToken(String val) ChangeTokenvoidSynchEngine.setConnectors(Subscription sub) When we start up a new subscription we implant a Connector in the object.voidSubscriptionInfo.setDeletionsSuppressed(boolean val) Processing of deletions - booleanvoidBaseSubscriptionInfo.setInFilterClasses(List<String> classes) voidBaseSubscriptionInfo.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) voidBaseSubscriptionInfo.setLastRefreshStatus(String val) HTTP status or other appropriate valuevoidBaseSubscriptionInfo.setOpaqueData(String val) Opaque data for the connectionvoidBaseSubscriptionInfo.setOutFilterClasses(List<String> classes) voidBaseSubscriptionInfo.setPassword(String val) Principals passwordvoidBaseSubscriptionInfo.setPrincipalHref(String val) Principal requesting synch servicevoidBaseSubscriptionInfo.setProperty(String name, String val) set arbitrary named propertyvoidSerializableProperties.setProperty(String name, String val) Set a property in the internal properties - loading them from the external value first if necessary.voidBaseSubscriptionInfo.setRefreshDelay(String val) Refresh delay - millisecsvoidSubscriptionInfo.setSchedulingProcessing(org.bedework.synch.wsmessages.CalProcessingType val) SchedulingProcessing - CalProcessingTypevoidBaseSubscriptionInfo.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) voidPath to the calendar collection.voidSubscriptionInfo.setXlocXcategories(boolean val) Processing of categories - booleanvoidSubscriptionInfo.setXlocXcontact(boolean val) Processing of locations and contacts - booleanvoidSynchEngine.start()Start synch process.voidSynchEngine.updateSubscription(Subscription sub) booleanPropertiesInfo.validRequestProperties(BaseSubscriptionInfo info, org.bedework.synch.wsmessages.ArrayOfSynchProperties propsArray) Ensure info properties are valid for an existing subscriptionbooleanPropertiesInfo.validSubscribeInfoProperties(BaseSubscriptionInfo info) Ensure info properties are valid for a new subscriptionConstructors in org.bedework.synch.shared that throw SynchException -
Uses of SynchException in org.bedework.synch.shared.cnctrs
Methods in org.bedework.synch.shared.cnctrs that throw SynchExceptionModifier and TypeMethodDescriptionvoidConnectorInstanceMap.add(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end, CI cinst) Add a connectororg.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseTypeBaseConnectorInstance.addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val) org.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseTypeConnectorInstance.addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val) Add a calendar componentprotected booleanbooleanConnectorInstance.changed()Called before a resynch takes place to determine if the end point has changed and needs resynch.org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseTypeBaseConnectorInstance.deleteItem(String uid) org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseTypeConnectorInstance.deleteItem(String uid) Delete a calendar component.org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseTypeorg.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseTypeFetch 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.ConnectorInstanceMap.find(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) Find a connectorprotected org.apache.http.impl.client.CloseableHttpClientAbstractConnectorInstance.getClient()ConnectorInstance.getConnector()AbstractConnector.getConnectorInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) Connector.getConnectorInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) Called to obtain a connector instance for a subscription.abstract booleanBaseConnectorInstance.getIcal()protected booleanBaseConnectorInstance.getItemsInfo()ConnectorInstance.getItemsInfo()Get information about items in the subscribed calendar.AbstractConnectorInstance.getLastCrudCts()ConnectorInstance.getLastCrudCts()protected org.bedework.synch.wsmessages.SynchRemoteServicePortTypeprotected javax.xml.soap.MessageFactoryAbstractConnector.getSoapMsgFactory()ConnectorInstance.getSubInfo()AbstractConnectorInstance.getTotalCrudCts()ConnectorInstance.getTotalCrudCts()abstract URIBaseConnectorInstance.getUri()AbstractConnector.handleCallback(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, List<String> resourceUri) 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.abstract TIAbstractConnector.makeInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) abstract ietf.params.xml.ns.icalendar_2.IcalendarTypeBaseConnectorInstance.makeXcal(InputStream is) protected voidAbstractConnector.marshal(Object o, OutputStream out) org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseTypeAbstractConnectorInstance.open()org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseTypeConnectorInstance.open()Called when a subscription is activated on synch engine startup or after creation of a new subscription.voidConnectorInstanceMap.remove(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) Remove a connectorvoidAbstractConnector.respondCallback(javax.servlet.http.HttpServletResponse resp, Connector.NotificationBatch<TN> notifications) voidConnector.respondCallback(javax.servlet.http.HttpServletResponse resp, Connector.NotificationBatch<N> notifications) Will respond to a notification.voidAbstractConnectorInstance.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) voidConnectorInstance.setLastCrudCts(BaseSubscriptionInfo.CrudCts val) voidAbstractConnectorInstance.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) voidConnectorInstance.setTotalCrudCts(BaseSubscriptionInfo.CrudCts val) voidConnector.start(String connectorId, Tconf conf, String callbackUri, SynchEngine syncher) Start the connector.voidAbstractConnector.stop()voidConnector.stop()Shut down the connectorbooleanAbstractConnectorInstance.subscribe(org.bedework.synch.wsmessages.SubscribeResponseType sr) booleanConnectorInstance.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 ObjectAbstractConnector.unmarshalBody(javax.servlet.http.HttpServletRequest req) booleanAbstractConnectorInstance.unsubscribe(org.bedework.synch.wsmessages.UnsubscribeRequestType usreq, org.bedework.synch.wsmessages.UnsubscribeResponseType usresp) booleanConnectorInstance.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.UpdateItemResponseTypeBaseConnectorInstance.updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates) org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemResponseTypeConnectorInstance.updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates) Update a calendar component.booleanAbstractConnectorInstance.validateActiveSubInfo(org.bedework.synch.wsmessages.ActiveSubscriptionRequestType req, org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType resp, Connector cnctr, BaseSubscriptionInfo info) booleanConnectorInstance.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 subscriptionprotected booleanAbstractConnectorInstance.validateSubInfo(org.bedework.synch.wsmessages.SubscribeResponseType sr, Connector cnctr, BaseSubscriptionInfo info) Ensure subscription info is valid -
Uses of SynchException in org.bedework.synch.shared.exception
Subclasses of SynchException in org.bedework.synch.shared.exceptionModifier and TypeClassDescriptionclassBase exception thrown by synch classesclassForbidden exception thrown by synch classesclassForbidden exception thrown by synch classes -
Uses of SynchException in org.bedework.synch.shared.filters
Methods in org.bedework.synch.shared.filters that throw SynchExceptionModifier and TypeMethodDescriptionvoidAbstractFilter.addDifferSkipItems(List<Object> skipList) voidFilter.addDifferSkipItems(List<Object> skipList) Called to add items to the skip list for the ical differ.ietf.params.xml.ns.icalendar_2.IcalendarTypeFilter.doFilter(ietf.params.xml.ns.icalendar_2.IcalendarType val) AbstractFilter.getStripMap()voidAbstractFilter.init(Subscription sub) Initialise the filter.voidFilter.init(Subscription sub) Initialise the filter.protected ietf.params.xml.ns.icalendar_2.IcalendarTypeAbstractFilter.stripIcal(ietf.params.xml.ns.icalendar_2.IcalendarType val)