|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.portal.provider.v2.EventDefinition
oracle.portal.provider.v2.DefaultEventDefinition
public class DefaultEventDefinition
DefaultEventDefinition extends EventDefinition to handle
getting the the resource bundle for an event from it's parent portlet.
It is encouraged for all strings for a portlet to be specified in a single
resource bundle, rather than specifying a separate one for each event.
Please see PortletDefinition for details
on how portlets may provide translatable strings.
| Constructor Summary | |
|---|---|
DefaultEventDefinition()
|
|
| Method Summary | |
|---|---|
void |
addParameter(java.lang.Object parameter)
Add a parameter to the event. |
PortletDefinition |
getParent()
|
java.util.ResourceBundle |
getResourceBundle(java.util.Locale l)
Gets the resource bundle for this event in the given Locale. |
void |
postInitialize()
Not used. |
void |
preInitialize(java.lang.Object parent)
Called during parsing of provider.xml when this object is created. |
| Methods inherited from class oracle.portal.provider.v2.EventDefinition |
|---|
addParameter, getDescription, getDescriptionKey, getDisplayName, getDisplayNameKey, getName, getParameters, setDescription, setDescriptionKey, setDisplayName, setDisplayNameKey, setName, setResource, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEventDefinition()
| Method Detail |
|---|
public void preInitialize(java.lang.Object parent)
throws NodeHandlerException
preInitialize in interface InitializableXMLObjectparent - the application object that will become this object's parent
NodeHandlerException - if an error occurs while initializing
this application object
public void postInitialize()
throws NodeHandlerException
postInitialize in interface InitializableXMLObjectNodeHandlerException - if an error occurs while initializing or
validating this application objectpublic PortletDefinition getParent()
public java.util.ResourceBundle getResourceBundle(java.util.Locale l)
getResourceBundle in class EventDefinitionl - the Locale of the resource bundle being requested.
public void addParameter(java.lang.Object parameter)
throws PortletException
parameter - a ParameterDefinition
PortletException - if the given
Object is not a valid
ParameterDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||