|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.portal.wpc.api.content.provider.ContentDescriptor
public class ContentDescriptor
Provides a descriptor for a content item of a custom content provider.
Used by the IContentProvider for describing the content it provides.
| Field Summary | |
|---|---|
static String |
CREATION_METHOD_COPY
|
static String |
CREATION_METHOD_DELTA_LINK
|
| Constructor Summary | |
|---|---|
ContentDescriptor(String ID,
String name,
String description,
String iconURI,
String contentHandlerID,
String templateID)
|
|
ContentDescriptor(String ID,
String name,
String description,
String iconURI,
String contentHandlerID,
String templateID,
String creationMethod)
|
|
| Method Summary | |
|---|---|
String |
getContentHandlerID()
Returns the ID of the IContentHandler |
String |
getCreationMethod()
Returns the creation method used when adding the content item to a page. |
String |
getCustomProperty(String key)
Returns the value that corresponds to the provided key from the custom properties map. |
String |
getDescription()
Returns the description of the content item. |
String |
getIconURI()
Returns the URI of the icon to display for the content item. |
String |
getID()
Returns the ID of this content descriptor object. |
String |
getName()
Returns the display name of the content item. |
String |
getTemplateID()
Returns the ID of the template of the content item. |
void |
setContentHandlerID(String contentHandlerID)
Sets the ID of the IContentHandler |
void |
setCreationMethod(String creationMethod)
Sets the creation method used when adding the content item to a page. |
void |
setCustomProperty(String key,
String value)
A custom property represented by |
void |
setDescription(String description)
Sets the description of the content item. |
void |
setIconURI(String iconURI)
Sets the URI of the icon to display for the content item. |
void |
setID(String ID)
Sets the ID of this content descriptor object. |
void |
setName(String name)
Sets the display name of the content item. |
void |
setTemplateID(String templateID)
Sets the ID of the template of the content item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CREATION_METHOD_DELTA_LINK
public static final String CREATION_METHOD_COPY
| Constructor Detail |
|---|
public ContentDescriptor(String ID,
String name,
String description,
String iconURI,
String contentHandlerID,
String templateID)
public ContentDescriptor(String ID,
String name,
String description,
String iconURI,
String contentHandlerID,
String templateID,
String creationMethod)
| Method Detail |
|---|
public String getID()
public void setID(String ID)
ID - the ID of this content descriptorpublic String getTemplateID()
public void setTemplateID(String templateID)
templateID - the ID of the template of the content itempublic String getDescription()
public void setDescription(String description)
description - the description of the content itempublic String getContentHandlerID()
IContentHandler
IContentHandlerpublic void setContentHandlerID(String contentHandlerID)
IContentHandler
contentHandlerID - the ID of the IContentHandlerpublic String getName()
public void setName(String name)
name - the display name of the content itempublic String getIconURI()
public void setIconURI(String iconURI)
throws IllegalArgumentException
iconURI - the URI of the icon to display for the content item
IllegalArgumentException - if the URI is not a valid iconpublic String getCreationMethod()
public void setCreationMethod(String creationMethod)
creationMethod - the creation method used when adding the content item to a page
public void setCustomProperty(String key,
String value)
key - value - public String getCustomProperty(String key)
key -
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-WPC
|
[sap.com] tc/ep/wpc/api
|
api
|
EP-PIN-WPC
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||