com.sapportals.portal.prt.event
Interface IProfileValidationEvent

All Superinterfaces:
IEvent, IPOMConstants

public interface IProfileValidationEvent
extends IEvent

Event that is fired by any personnalization class


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
 java.lang.String getPropertyErrorMessage(java.lang.String propertyName)
          Gets a property error message for a property which is not correct
 java.util.Enumeration getPropertyNames()
          Gets all the properties names
 java.lang.String getPropertyValue(java.lang.String propertyName)
          Gets a property value
 void setPropertyErrorMessage(java.lang.String propertyName, java.lang.String errorMessage)
          Sets a property error message for a property which is not correct
 void setPropertyValue(java.lang.String propertyName, java.lang.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

public java.util.Enumeration getPropertyNames()
Gets all the properties names

getPropertyValue

public java.lang.String getPropertyValue(java.lang.String propertyName)
Gets a property value
Parameters:
propertyName, - the name of the property
Returns:
the property value

setPropertyValue

public void setPropertyValue(java.lang.String propertyName,
                             java.lang.String propertyValue)
Sets a property value
Parameters:
propertyName, - the name of the property
propertyValue, - the new property value

setPropertyErrorMessage

public void setPropertyErrorMessage(java.lang.String propertyName,
                                    java.lang.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

public java.lang.String getPropertyErrorMessage(java.lang.String propertyName)
Gets a property error message for a property which is not correct
Returns:
a property error message or null

getComponentProfile

public IPortalComponentProfile getComponentProfile()
Gives access to the component profile
Returns:
the component profile