com.sapportals.portal.prt.event

Interface IProfileValidationEvent

All Superinterfaces:
IEvent, IPOMConstants

public interface IProfileValidationEvent
extends IEvent

Event that is fired by any personnalization class


Field Summary
 
Fields inherited from interface com.sapportals.portal.prt.pom.IPOMConstants
ABOUT_MODE, ABOUT_REQUEST_EVENT, ACTION_EVENT, AFTER_CONTENT_EVENT, BEFORE_CONTENT_EVENT, COMPONENT_EVENT, COMPONENT_NODE, DEFAULT_MODE, EDIT_ACKNOWLEDGE_EVENT, EDIT_MODE, EDIT_REQUEST_EVENT, HELP_MODE, HELP_REQUEST_EVENT, LOGON_EVENT, LOGON_MODE, LOGOUT_EVENT, ON_NODE_READY_EVENT, ON_NODE_REMOVE_EVENT, ON_POM_READY_EVENT, PORTAL_NODE, PREVIEW_MODE, PREVIEW_REQUEST_EVENT, REFRESH_MODE, REFRESH_REQUEST_EVENT, REQUEST_EVENT, TEST_MODE
 
Method Summary
 IPortalComponentProfile getComponentProfile()
          Gives access to the component profile
 String getPropertyErrorMessage(String propertyName)
          Gets a property error message for a property which is not correct
 Enumeration getPropertyNames()
          Gets all the properties names
 String getPropertyValue(String propertyName)
          Gets a property value
 void setPropertyErrorMessage(String propertyName, String errorMessage)
          Sets a property error message for a property which is not correct
 void setPropertyValue(String propertyName, String propertyValue)
          Sets a property value
 
Methods inherited from interface com.sapportals.portal.prt.pom.IEvent
getBubbles, getCancelable, getCurrentTarget, getTarget, getType, setCurrentTarget, setTarget, stopPropagation
 

Method Detail

getPropertyNames

Enumeration getPropertyNames()
Gets all the properties names


getPropertyValue

String getPropertyValue(String propertyName)
Gets a property value

Parameters:
propertyName - the name of the property
Returns:
the property value

setPropertyValue

void setPropertyValue(String propertyName,
                      String propertyValue)
Sets a property value

Parameters:
propertyName - the name of the property
propertyValue - the new property value

setPropertyErrorMessage

void setPropertyErrorMessage(String propertyName,
                             String errorMessage)
Sets a property error message for a property which is not correct

Parameters:
propertyName - the name of the property
errorMessage - an error message

getPropertyErrorMessage

String getPropertyErrorMessage(String propertyName)
Gets a property error message for a property which is not correct

Returns:
a property error message or null

getComponentProfile

IPortalComponentProfile getComponentProfile()
Gives access to the component profile

Returns:
the component profile
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice