public interface IContentHandler
| Modifier and Type | Method and Description |
|---|---|
String |
getID()
Should return the ID of this content handler.
|
void |
onBeforeDelete(com.sap.security.api.IUser user,
String objectID)
Invoked before the deletion of an object.
|
Map<String,String> |
onCopy(com.sap.security.api.IUser user,
String sourceID,
String targetID)
Invoked after successfully copying an object.
|
Map<String,String> |
onCreate(com.sap.security.api.IUser user,
String objectID,
ContentDescriptor contentDescriptor)
Invoked after the creation of an object in a page.
|
Map<String,String> |
onMove(com.sap.security.api.IUser user,
String sourceID,
String targetID)
Invoked after successfully moving an object.
|
Map<String,String> |
onPublish(com.sap.security.api.IUser user,
String objectID)
Invoked during the publication flow of the page containing the object.
|
void |
onUnpublish(com.sap.security.api.IUser user,
String objectID)
Invoked during the unpublishing flow of the page containing the object.
|
String getID()
Map<String,String> onCreate(com.sap.security.api.IUser user, String objectID, ContentDescriptor contentDescriptor)
user - the user who is editing the pageobjectID - the design time ID of the object that was createdcontentDescriptor - the ContentDescriptor objectvoid onBeforeDelete(com.sap.security.api.IUser user,
String objectID)
user - the user who is editing the pageobjectID - the design time PCD ID of the object to deleteMap<String,String> onCopy(com.sap.security.api.IUser user, String sourceID, String targetID)
user - the user who is editing the pagesourceID - the design time PCD ID of the source objecttargetID - the design time PCD ID of the target objectMap<String,String> onMove(com.sap.security.api.IUser user, String sourceID, String targetID)
user - the user who is editing the pagesourceID - the design time PCD ID of the source objecttargetID - the design time PCD ID of the target objectMap<String,String> onPublish(com.sap.security.api.IUser user, String objectID) throws PublicationException
user - the user who is publishing the pageobjectID - the design time ID of the object that is being publishedPublicationException - in case of an unexpected errorvoid onUnpublish(com.sap.security.api.IUser user,
String objectID)
throws PublicationException
user - the user who is unpublishing the pageobjectID - the design time object ID of the object that is being unpublishedPublicationException - in case of an unexpected error| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-WPC
|
[sap.com] tc/ep/wpc/api
|
api
|
EP-PIN-WPC
|
Copyright 2021 SAP SE Complete Copyright Notice