public abstract class BaseConnectorInstance<CnctrT extends AbstractConnector,InfoT extends BaseSubscriptionInfo,ConfigT extends ConnectorConfigI> extends AbstractConnectorInstance<CnctrT,InfoT,ConfigT>
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseConnectorInstance.MapEntry |
ConnectorInstance.ItemInfo, ConnectorInstance.SynchItemsInfo| Modifier and Type | Field and Description |
|---|---|
protected ietf.params.xml.ns.icalendar_2.IcalendarType |
fetchedIcal |
protected ietf.params.xml.ns.icalendar_2.ObjectFactory |
of |
protected String |
prodid |
protected Map<String,BaseConnectorInstance.MapEntry> |
uidMap |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseConnectorInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end,
InfoT info,
CnctrT cnctr,
ConfigT config) |
| Modifier and Type | Method and Description |
|---|---|
org.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseType |
addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val)
Add a calendar component
|
protected boolean |
changed(boolean headSupported,
String contentType) |
org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseType |
deleteItem(String uid)
Delete a calendar component.
|
org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType |
fetchItem(String uid)
Fetch a calendar component.
|
List<org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType> |
fetchItems(List<String> uids)
Fetch a batch of calendar components.
|
abstract boolean |
getIcal() |
protected boolean |
getIcal(String contentType) |
ConnectorInstance.SynchItemsInfo |
getItemsInfo()
Get information about items in the subscribed calendar.
|
<T extends ietf.params.xml.ns.icalendar_2.TextPropertyType> |
getText(Class<T> cl,
JAXBElement<? extends ietf.params.xml.ns.icalendar_2.BaseComponentType> comp,
QName tag) |
abstract URI |
getUri() |
abstract ietf.params.xml.ns.icalendar_2.IcalendarType |
makeXcal(InputStream is) |
org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemResponseType |
updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates)
Update a calendar component.
|
getClient, getConnector, getLastCrudCts, getSubInfo, getTotalCrudCts, open, setLastCrudCts, setTotalCrudCts, subscribe, unsubscribe, validateActiveSubInfo, validateSubInfoaudit, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, getAuditLoggerIfEnabled, getErrorLoggerIfEnabled, getLogger, getLogger, getMetricsLoggerIfEnabled, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsLoggerEnabled, metrics, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangedprotected ietf.params.xml.ns.icalendar_2.IcalendarType fetchedIcal
protected String prodid
protected final ietf.params.xml.ns.icalendar_2.ObjectFactory of
protected Map<String,BaseConnectorInstance.MapEntry> uidMap
protected BaseConnectorInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end, InfoT info, CnctrT cnctr, ConfigT config)
public abstract URI getUri() throws SynchException
SynchExceptionpublic abstract ietf.params.xml.ns.icalendar_2.IcalendarType makeXcal(InputStream is) throws SynchException
SynchExceptionpublic abstract boolean getIcal()
throws SynchException
SynchExceptionpublic org.oasis_open.docs.ws_calendar.ns.soap.AddItemResponseType addItem(ietf.params.xml.ns.icalendar_2.IcalendarType val)
throws SynchException
ConnectorInstanceSynchExceptionpublic org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemResponseType updateItem(org.oasis_open.docs.ws_calendar.ns.soap.UpdateItemType updates)
throws SynchException
ConnectorInstanceupdates - has the change token, href, and the component selection fields set.SynchExceptionpublic org.oasis_open.docs.ws_calendar.ns.soap.DeleteItemResponseType deleteItem(String uid) throws SynchException
ConnectorInstanceuid - - of the component to delete.SynchExceptionpublic org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType fetchItem(String uid) throws SynchException
ConnectorInstanceuid - of itemSynchExceptionpublic List<org.oasis_open.docs.ws_calendar.ns.soap.FetchItemResponseType> fetchItems(List<String> uids) throws SynchException
ConnectorInstanceuids - of itemsSynchExceptionprotected boolean changed(boolean headSupported,
String contentType)
throws SynchException
SynchExceptionpublic ConnectorInstance.SynchItemsInfo getItemsInfo() throws SynchException
ConnectorInstanceSynchExceptionpublic <T extends ietf.params.xml.ns.icalendar_2.TextPropertyType> String getText(Class<T> cl, JAXBElement<? extends ietf.params.xml.ns.icalendar_2.BaseComponentType> comp, QName tag)
protected boolean getIcal(String contentType) throws SynchException
SynchExceptionCopyright © 2018 Bedework. All rights reserved.