|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOffer
IOffer contains all informations a syndicator has to know about an offer.
Copyright 2004 SAP AG
| Method Summary | |
|---|---|
IOfferComponent |
createComponent(String name,
com.sapportals.wcm.util.uri.RID rootRID,
String prefix,
IResourceContext context)
Create a new offer component. |
ICEAccess |
getAccess()
Get the default access rules of this offer. |
IOfferComponent |
getComponent(String name)
Get a component of the offer by its name |
IOfferComponentList |
getComponentList()
Get a list of all components of this offer. |
ICEDeliveryPolicy |
getDeliveryPolicy()
Get the default delivery policy of this offer. |
String |
getDescription()
Get the description of the offer. |
String |
getId()
Get the identifier of the offer. |
long |
getMaxContentSize()
Get the maximal content size of the offer. |
int |
getNoSubscriptions()
Get the number of subscriptions on this offer. |
void |
removeComponent(IOfferComponent component,
IResourceContext context)
Remove an offer component. |
void |
setAccess(ICEAccess access,
IResourceContext context)
Set the default access rules of this offer. |
void |
setDeliveryPolicy(ICEDeliveryPolicy deliveryPolicy,
IResourceContext context)
Set the default delivery policy of this offer. |
void |
setDescription(String description,
IResourceContext context)
Set the description of the offer. |
void |
setMaxContentSize(long maxContentSize,
IResourceContext context)
Set the maximal content size of the offer. |
| Methods inherited from interface com.sapportals.wcm.service.ice.syndicator.IContentFilter |
|---|
getAccess, getContentReference |
| Method Detail |
|---|
String getId()
String getDescription()
void setDescription(String description,
IResourceContext context)
throws ResourceException
description - The description of the offercontext - The current resource context
ResourceException - on errorICEDeliveryPolicy getDeliveryPolicy()
void setDeliveryPolicy(ICEDeliveryPolicy deliveryPolicy,
IResourceContext context)
throws ResourceException
deliveryPolicy - The default delivery policycontext - The current Resource context
ResourceException - on error
IOfferComponent createComponent(String name,
com.sapportals.wcm.util.uri.RID rootRID,
String prefix,
IResourceContext context)
throws ResourceException
name - The name of the offer componentrootRID - The uri of the collection to be publishedprefix - The prefix that replaces the rootURIcontext - The current resource context (containing an authenticated user)
ResourceException - on error
void removeComponent(IOfferComponent component,
IResourceContext context)
throws ResourceException
component - The offer component to be removedcontext - The current resource context (containing an authenticated user)
ResourceException - on errorIOfferComponent getComponent(String name)
name - The name of the offer component
IOfferComponentList getComponentList()
ICEAccess getAccess()
void setAccess(ICEAccess access,
IResourceContext context)
throws ResourceException
access - The default access rulescontext - The current resource context
ResourceException - on errorlong getMaxContentSize()
void setMaxContentSize(long maxContentSize,
IResourceContext context)
throws ResourceException
maxContentSize - The maximal content size (Long.MAX_VALUE or -1 if unlimited)context - The current resource context
ResourceException - on errorint getNoSubscriptions()
| Access 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
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||