|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContentHandler
Implement this interface to handle modifications made to pages during content editing, and/or publication of content during the page publication flow. The methods in this interface should implement the logic of the custom content management.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 object
void 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 delete
Map<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 object
Map<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 object
Map<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 published
PublicationException - in case of an unexpected error
void 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 unpublished
PublicationException - 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
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||