public interface ISubSyndicator
Copyright 2004 SAP AG
Modifier and Type | Method and Description |
---|---|
ISubSubscription |
createSubscription(String name,
String subscriptionId,
String offerId,
ICEDeliveryPolicy deliverPolicy,
RID destinationRID,
IResourceContext context)
Create a new subscription of the syndicator.
|
Collection |
getCachedOffers()
Get a collection of cached offers of the syndicator.
|
IICEHttpConnection |
getConnection()
Get an ICE connection to the syndicator.
|
String |
getDescription()
Get the description of the syndicator.
|
EventLog |
getEvents(Date start,
Date end,
IResourceContext context)
Get the event log for the subscriber.
|
String |
getLoginUser()
Get the (default) login user of the syndicator
|
String |
getName()
Get the name of the syndicator.
|
ISubSubscription |
getSubscription(String subscriptionId)
Get a subscription by its identifier.
|
ISubSubscriptionList |
getSubscriptionList()
Get a list of all subscriptions on the syndicator.
|
URL |
getURL()
Get the url of the syndicator.
|
UUID |
getUUID()
Get the uuid of the syndicator.
|
boolean |
isWCMSystem()
Check if the target system is a WCM.
|
void |
removeSubscription(ISubSubscription subscription,
IResourceContext context)
Remove a subscription of the syndicator.
|
void |
setCachedOffers(Collection cachedOffers,
IResourceContext context)
Set/update the cached offers of the syndicator.
|
void |
setDescription(String description,
IResourceContext context)
Set the description of the syndicator.
|
void |
setLoginInfo(String user,
String password,
IResourceContext context)
Set the (default) login informations of the syndicator.
|
void |
setName(String name,
IResourceContext context)
Set name of the syndicator.
|
void |
setURL(URL url,
IResourceContext context)
Set the URL of the syndicator (ICE-Servlet).
|
void |
setUUID(UUID uuid,
IResourceContext context)
Set the UUID of the syndicator.
|
void |
setWCMSystem(boolean isWCMSystem,
IResourceContext context)
Mark the syndicator as WCM system.
|
String getName()
void setName(String name, IResourceContext context) throws ResourceException
name
- The name of the syndicatorcontext
- The new Name valueResourceException
- on errorString getDescription()
void setDescription(String description, IResourceContext context) throws ResourceException
description
- The name of the syndicatorcontext
- The current resource context (containing an authenticated user)ResourceException
- on errorUUID getUUID()
void setUUID(UUID uuid, IResourceContext context) throws ResourceException
uuid
- The new uuid of the syndicatorcontext
- The current resource contextResourceException
- on errorURL getURL()
void setURL(URL url, IResourceContext context) throws ResourceException
url
- The URL of the syndicatorcontext
- The current resource contextResourceException
- on errorString getLoginUser()
void setLoginInfo(String user, String password, IResourceContext context) throws ResourceException
user
- The user idpassword
- The passwordcontext
- The current resource contextResourceException
- on errorIICEHttpConnection getConnection()
ISubSubscription createSubscription(String name, String subscriptionId, String offerId, ICEDeliveryPolicy deliverPolicy, RID destinationRID, IResourceContext context) throws ResourceException
name
- The name of the subscriptionsubscriptionId
- The identifier of the subscriptionofferId
- The identifier of the subscribed offer (null is unknown)destinationRID
- The uri of the collection where to store the content of the subscriptioncontext
- The current resource context (containing an authenticated user)deliverPolicy
- Description of the incoming method parameterResourceException
- on errorvoid removeSubscription(ISubSubscription subscription, IResourceContext context) throws ResourceException
subscription
- The subscription to be removedcontext
- The current resource context (containing an authenticated user)ResourceException
- on errorISubSubscription getSubscription(String subscriptionId)
subscriptionId
- The identifier of the subscriptionISubSubscriptionList getSubscriptionList()
Collection getCachedOffers()
void setCachedOffers(Collection cachedOffers, IResourceContext context) throws ResourceException
cachedOffers
- A collection of offers that should be cachedcontext
- The current resource contextResourceException
- on errorEventLog getEvents(Date start, Date end, IResourceContext context)
start
- The start date of the event filter (or null)context
- The current resource contextend
- Description of the incoming method parameterboolean isWCMSystem()
void setWCMSystem(boolean isWCMSystem, IResourceContext context) throws ResourceException
isWCMSystem
- true if the syndicator is a WCM systemcontext
- The current resource contextResourceException
- on errorAccess 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