|
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
public class EventDefinition
An EventDefinition represents the metadata which describes an event that can be raised by this portlet.
| Constructor Summary | |
|---|---|
EventDefinition()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addParameter(ParameterDefinition parameter)
Add a parameter to the event. |
java.lang.String |
getDescription(java.util.Locale l)
|
java.lang.String |
getDescriptionKey()
|
java.lang.String |
getDisplayName(java.util.Locale l)
|
java.lang.String |
getDisplayNameKey()
|
java.lang.String |
getName()
|
ParameterDefinition[] |
getParameters()
|
java.util.ResourceBundle |
getResourceBundle(java.util.Locale l)
Gets the resource bundle for this Portlet in the given Locale. |
void |
setDescription(java.lang.String description)
Sets the event's description. |
void |
setDescriptionKey(java.lang.String descriptionKey)
Sets the event's description key. |
void |
setDisplayName(java.lang.String displayName)
Sets the event's display name. |
void |
setDisplayNameKey(java.lang.String displayNameKey)
Sets the event's display name key. |
void |
setName(java.lang.String name)
Set the event's name. |
void |
setResource(java.lang.String resourceClassName)
Sets the name of the default resource bundle class for this parameter |
void |
validate(java.lang.String context,
ValidationError errors)
Validates the internal state of this EventDefinition
instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventDefinition()
| Method Detail |
|---|
public java.util.ResourceBundle getResourceBundle(java.util.Locale l)
l - the Locale of the resource bundle being requested.
public void setResource(java.lang.String resourceClassName)
resourceClassName - full name of class extending ResourceBundle.public java.lang.String getName()
public void setName(java.lang.String name)
name - the event's name.public java.lang.String getDisplayName(java.util.Locale l)
public void setDisplayName(java.lang.String displayName)
displayName - a friendly name to be used in the Portal UI.public java.lang.String getDisplayNameKey()
public void setDisplayNameKey(java.lang.String displayNameKey)
displayNameKey - the string value for the key used to look up
the event's display name in a resource bundle.public java.lang.String getDescription(java.util.Locale l)
public void setDescription(java.lang.String description)
description - a short description of what this event is.public java.lang.String getDescriptionKey()
public void setDescriptionKey(java.lang.String descriptionKey)
descriptionKey - the string value for the key used to look up
the event's description in a resource bundle.public ParameterDefinition[] getParameters()
public void addParameter(ParameterDefinition parameter)
parameter - a ParameterDefinition to passed as part of this event.
public void validate(java.lang.String context,
ValidationError errors)
EventDefinition
instance. Errors found are reported using the supplied ValidationError instance.
validate in interface Validateablecontext - The context of the calling instance.errors - The current list of errors.
|
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 | ||||||||