public abstract class PCMDataHandler extends Object implements IDataHandler
PCMDataHandler, implements loadData and
saveData.
com.sapportals.portal.prt.service.IService.| Constructor and Description |
|---|
PCMDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.sap.portal.admin.propertyeditor.api.data_providers.IPropertyObject |
getModifiedPropertyObject(IEditorContext context)
Gets a property object that has been modified for the specified object.
|
static Object |
getPCMObject(IEditorContext context,
com.sap.security.api.IPrincipal principal,
String objectId,
String aspect,
Hashtable additionalEnv,
PPLogger logger)
Gets a PCM object.
|
static com.sap.portal.admin.propertyeditor.api.data_providers.IPropertyObject |
getPropertyObject(IEditorContext context,
String objectId)
Gets a property object for the specified object.
|
void |
saveData(IEditorContext ctx,
com.sap.security.api.IPrincipal principal,
PPLogger logger)
Saves the edited data for this editor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadDatapublic static final Object getPCMObject(IEditorContext context, com.sap.security.api.IPrincipal principal, String objectId, String aspect, Hashtable additionalEnv, PPLogger logger) throws EditorDataException
context - the editor contextprincipal - a security principalobjectId - an object IDaspect - a PCM aspectadditionalEnv - additional environment parameters
to consider when loading this
object (or null if there are
no such parameters)logger - a logger for logging messagesEditorDataException - if loading the object failspublic static com.sap.portal.admin.propertyeditor.api.data_providers.IPropertyObject getPropertyObject(IEditorContext context, String objectId)
context - the current editor contextobjectId - an object IDpublic com.sap.portal.admin.propertyeditor.api.data_providers.IPropertyObject getModifiedPropertyObject(IEditorContext context)
context - the current editor contextpublic void saveData(IEditorContext ctx, com.sap.security.api.IPrincipal principal, PPLogger logger) throws EditorDataException, EditorResourceException
IDataHandlersaveData in interface IDataHandlerctx - the current editor contextprincipal - a security principal that saves the
datalogger - a logger for sending log messagesEditorDataException - if the data could not be loaded or
there are no permissions, an end-user
message is presented and read-only
mode is setEditorResourceException - if an error occurs regarding the
resource for this editor, the editor
framework presents the specified
end-user message instead of the
regular editor user interface| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice