public abstract class SubscriptionBase extends Object
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionBase(ExchangeService service)
Instantiates a new subscription base.
|
protected |
SubscriptionBase(ExchangeService service,
String id)
Instantiates a new subscription base.
|
protected |
SubscriptionBase(ExchangeService service,
String id,
String watermark)
Instantiates a new subscription base.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
protected ExchangeService |
getService()
Gets the session.
|
protected boolean |
getUsesWatermark()
Gets whether or not this subscription uses watermarks.
|
String |
getWaterMark()
Gets the water mark.
|
void |
loadFromXml(EwsServiceXmlReader reader)
Load from xml.
|
protected void |
setId(String id)
Sets the id.
|
protected void |
setWaterMark(String watermark)
Sets the water mark.
|
protected SubscriptionBase(ExchangeService service) throws Exception
service
- the serviceException
- the exceptionprotected SubscriptionBase(ExchangeService service, String id) throws Exception
service
- the serviceid
- the idException
- the exceptionprotected SubscriptionBase(ExchangeService service, String id, String watermark) throws Exception
service
- the serviceid
- the idwatermark
- the watermarkException
- the exceptionpublic void loadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionprotected ExchangeService getService()
protected void setWaterMark(String watermark)
watermark
- the new water markpublic String getWaterMark()
protected boolean getUsesWatermark()
Copyright © 2012–2015 Microsoft. All rights reserved.