|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataHandler
This interface is used for saving data. The data saved according to this interface
implementation (it can be saved to PCD and other places). This interface is wrapper for
the classes that holds the data (or saving/retreiving data - ita can be a types of contexts,
PCMobjects, PCD and etc.)
If the wrapped class don't have functionality for all the methods defined in the interface -
ignore the implementation (save() is not supported by all the classes)
A sample usage might be:
IPortalComponentProfile profile = request.getComponentContext().getProfile();
//IPortalComponentProfile - class that you would like to wrap.
// PortalComponentProfileDataHandler - your implementation of IDataHandler interface.
IDataHandler dataHandler = new PortalComponentProfileDataHandler(profile);
created May 27, 2003
| Method Summary | |
|---|---|
Object |
getMetaAttribute(String propertyName,
String arg2)
Gets the property object. |
Object |
getProperty(String key)
Gets the property object. |
void |
putMetaAttribute(String propertyName,
String arg2,
String arg3)
Puts a meta attribute value for some property. |
void |
removeProperty(String key)
Removes the property. |
void |
save()
Saves the changes. |
void |
setDataHandler(Object ctx)
Set the active data handler that do the real work. |
void |
setProperty(String key,
Object obj)
Sets the property object. |
| Method Detail |
|---|
void setDataHandler(Object ctx)
ctx - descriptionObject getProperty(String key)
key - property key
void setProperty(String key,
Object obj)
key - property keyobj - property Valuevoid removeProperty(String key)
key - property key
void putMetaAttribute(String propertyName,
String arg2,
String arg3)
propertyName - - attribute namearg2 - meta attribute namearg3 - attribute value
Object getMetaAttribute(String propertyName,
String arg2)
propertyName - arg2 - void save()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-ADMIN
|
[sap.com] tc/ep/admin/api/extd
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||