|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INewObjectDescriptor
Base interface of a descriptor for creation semantic object; Implement this interface to define how to create a new object in a PCM repository. The object structure is not defined as part of this pattern, but it is part of each semantic application documentation. The management service provides factory methods for instantiating an object descriptor.
IObjectsManager| Method Summary | |
|---|---|
void |
putAttribute(String attributeName,
String value)
Adds an attribute to the new object. |
void |
putMetaAttribute(String attributeName,
String metaAttributeName,
String value)
Adds a meta attribute to the new object. |
void |
putTextAttribute(String attributeName,
String value)
Adds a text attribute to the new object. |
void |
putTextMetaAttribute(String attributeName,
String metaAttributeName,
String value)
Adds a text meta attribute to the new object. |
void |
setCreationMethod(CreateMethod createMethod,
String targetID)
Sets the new object's template target and creation method. |
void |
setDescription(String description)
Sets the new object's description. |
void |
setOriginalLocale(Locale locale)
Sets the new object's original locale (the locale in which it is created). |
void |
setTitle(String title)
Sets the new object's title. |
void |
setTranslationInfo(String domain,
String collection)
Set the new object's PCD translation info. |
| Method Detail |
|---|
void setOriginalLocale(Locale locale)
locale - the localevoid setTitle(String title)
title - the titlevoid setDescription(String description)
description - the description text
void setTranslationInfo(String domain,
String collection)
domain - the translation domaincollection - the translation collection
void putAttribute(String attributeName,
String value)
attributeName - the attribute namevalue - the attribute value
void putTextAttribute(String attributeName,
String value)
attributeName - the attribute namevalue - the attribute value
void putMetaAttribute(String attributeName,
String metaAttributeName,
String value)
attributeName - the attribute namemetaAttributeName - the meta attribute namevalue - the meta attribute value
void putTextMetaAttribute(String attributeName,
String metaAttributeName,
String value)
attributeName - the attribute namemetaAttributeName - the meta attribute namevalue - the meta attribute value
void setCreationMethod(CreateMethod createMethod,
String targetID)
createMethod - the creation method for the new object, such as copy, delta-link, or link, defined by CreateMethodtargetID - the full JNDI URL of the template from which the object is created.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||