public interface ISubSubscription
Copyright 2004 SAP AG
Modifier and Type | Method and Description |
---|---|
String |
getCurrentState()
Get the identifier of the current state.
|
ICEDeliveryPolicy |
getDeliveryPolicy()
Get the negotiated delivery policy for this subscription.
|
RID |
getDestinationRID()
Get the uri of the collection where the content of the incomming ICE packages are stored.
|
String |
getId()
Get the identifier of the subscription.
|
String |
getMailFrom()
Get the sender of the e-mail with update content.
|
String |
getMailRepository()
Get the name of the e-mail repository.
|
String |
getMailSubject()
Get the subject of the e-mail with update content.
|
String |
getName()
Get the name of the subscription.
|
String |
getOfferId()
Get the ID of the subscribted offer.
|
ISubSyndicator |
getSyndicator()
Get the syndicator of this subscription.
|
void |
handlePayload(InputStream is,
OutputStream os,
boolean compress,
IResourceContext context)
Handle an incoming ICE payload.
|
void |
resetState(IResourceContext context)
Reset the subscription to intial state.
|
void |
setDeliveryPolicy(ICEDeliveryPolicy deliveryPolicy,
IResourceContext context)
Set/change the negotiated delivery policy for this subscription.
|
void |
setDestinationRID(RID destinationRID,
IResourceContext context)
Set the uri where to store the packages from the syndicator.
|
void |
setMailFrom(String mailFrom,
IResourceContext context)
Set the name of the e-mail sender of mails with a content update file.
|
void |
setMailRepository(String mailRepository,
IResourceContext context)
Set the name of the e-mail repository where the mails of the subscriber are stored.
|
void |
setMailSubject(String mailSubject,
IResourceContext context)
Set the name of the e-mail subject of mails with a content update file.
|
void |
setName(String name,
IResourceContext context)
Set the name of the subscription.
|
String getName()
void setName(String name, IResourceContext context) throws ResourceException
name
- The name of the subscriptioncontext
- The current resource contextResourceException
- on errorString getId()
ISubSyndicator getSyndicator()
RID getDestinationRID()
void setDestinationRID(RID destinationRID, IResourceContext context) throws ResourceException
context
- The current resource contextdestinationRID
- The new DestinationURI valueResourceException
- on errorvoid setDeliveryPolicy(ICEDeliveryPolicy deliveryPolicy, IResourceContext context) throws ResourceException
deliveryPolicy
- The delivery policycontext
- The current resource contextResourceException
- on errorICEDeliveryPolicy getDeliveryPolicy()
String getCurrentState()
void resetState(IResourceContext context) throws ResourceException
context
- The current resource contextResourceException
- on errorString getMailFrom()
void setMailFrom(String mailFrom, IResourceContext context) throws ResourceException
mailFrom
- sender of email, regular expressioncontext
- The current resource contextResourceException
- on errorString getMailSubject()
void setMailSubject(String mailSubject, IResourceContext context) throws ResourceException
mailSubject
- subject of the emailcontext
- The current resource contextResourceException
- on errorString getMailRepository()
void setMailRepository(String mailRepository, IResourceContext context) throws ResourceException
context
- The current resource contextmailRepository
- The new MailRepository valueResourceException
- on errorString getOfferId()
void handlePayload(InputStream is, OutputStream os, boolean compress, IResourceContext context) throws IOException
is
- An InputStream containing the payloados
- An OutputStream to write the answer toocompress
- true if the input and output should be zipedcontext
- The current resource contextIOException
- if an i/o error occursAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice