|
Enterprise Workspaces 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.workspaces.content.ContentDescriptor
public class ContentDescriptor
Provides a descriptor of a content item for the purposes of its integration in the content galleries and instantiation on a page
| Constructor Summary | |
|---|---|
ContentDescriptor(String name,
String description,
String iconURL,
String ID,
ModuleCategory[] nestedCategories,
Date creationDate,
String URL)
Constructor of the content descriptor; use with nested module categories |
|
ContentDescriptor(String name,
String description,
String iconURL,
String ID,
String[] categories,
Date creationDate,
String URL)
Constructor of the content descriptor; use with non-nested categories |
|
| Method Summary | |
|---|---|
String[] |
getCategories()
Deprecated. As of 1.1 SP02, use getModuleCategories() instead
Returns an array of the module categories to which this content item
belongs. In case of sub categories they are ignored, only the highest level is categories are returned. |
String |
getContentID()
Returns the ID of the content item in its source system; should not exceed 340 characters |
Date |
getCreationDate()
Optional; returns the date when this content item was created in the source system; if not specified, the null value is passed |
String |
getDescription()
Returns the content item's description |
String |
getIconURL()
Returns the URL of the icon associated with the content item |
ModuleCategory[] |
getModuleCategories()
Returns an array of the nested categories to which this content item belongs. |
String |
getName()
Returns the content item's name that appears in the content galleries |
String |
getURL()
Returns the navigation URL of this content item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentDescriptor(String name,
String description,
String iconURL,
String ID,
String[] categories,
Date creationDate,
String URL)
name - the content item's namedescription - the content item's descriptioniconURL - the URL of the icon associated with the content itemID - the content item's ID, defined in the source systemcategories - an array of categories to which the content item belongscreationDate - the date when the content item was created in the source
system; optional, default is nullURL - the direct URL of the content item
public ContentDescriptor(String name,
String description,
String iconURL,
String ID,
ModuleCategory[] nestedCategories,
Date creationDate,
String URL)
name - the content item's namedescription - the content item's descriptioniconURL - the URL of the icon associated with the content itemID - the content item's ID, defined in the source systemcreationDate - the date when the content item was created in the source
system; optional, default is nullURL - the direct URL of the content itemnestedCategories - nestedCategories an array of nested categories to which the content item belongs| Method Detail |
|---|
public String getContentID()
public String getDescription()
public String getName()
public String getIconURL()
public String[] getCategories()
getModuleCategories() instead
Returns an array of the module categories to which this content item
belongs. In case of sub categories they are ignored, only the highest level is categories are returned.
public ModuleCategory[] getModuleCategories()
public Date getCreationDate()
public String getURL()
|
Enterprise Workspaces 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||