|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.wps.pb.property.PropertyFactory
public class PropertyFactory
A factory class which must be used to create instances of interfaces
in the com.ibm.wps.pb.property package.
| Method Summary | |
|---|---|
static Action |
createAction(PortletSettings settings)
Deprecated. Creates and returns an Action object. |
static Parameter |
createParameter(Property property,
Action action)
Deprecated. Creates and returns a Parameter object associated with the parent action
and containing the specified property. |
static Property |
createProperty(PortletSettings settings)
Deprecated. Creates and returns a Property object. |
static PropertyValue |
createPropertyValue(Property property,
java.lang.Object value)
Deprecated. Creates and returns a PropertyValue object encapsulating a property and
a value. |
static PropertyValue |
createPropertyValue(Property property,
java.lang.Object value,
java.lang.String changeType)
Deprecated. Creates and returns a PropertyValue object encapsulating a property and
a value and a reason for change. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Action createAction(PortletSettings settings)
throws InvalidPropertyException
Action object.
The required fields on the Action must be initialized
using setters.
settings - the PortletSettings identifying the caller
Action object
InvalidPropertyException - if argument is invalidAction
public static Property createProperty(PortletSettings settings)
throws InvalidPropertyException
Property object.
The required fields on the Property must be initialized
using setters.
settings - the PortletSettings identifying the caller
Property object
InvalidPropertyException - if argument is invalidProperty
public static Parameter createParameter(Property property,
Action action)
throws InvalidPropertyException
Parameter object associated with the parent action
and containing the specified property.
The required fields on the Parameter must be initialized
using setters.
property - the Property identifying the contained propertyaction - the Action identifying the parent action
Parameter object
InvalidPropertyException - if argument is invalidParameter
public static PropertyValue createPropertyValue(Property property,
java.lang.Object value)
throws InvalidPropertyException
PropertyValue object encapsulating a property and
a value. The value must be an instance of the java class the property is
associated with.
property - the Property identifying the contained propertyvalue - the value
PropertyValue object
InvalidPropertyException - if argument is invalidPropertyValue
public static PropertyValue createPropertyValue(Property property,
java.lang.Object value,
java.lang.String changeType)
throws InvalidPropertyException
PropertyValue object encapsulating a property and
a value and a reason for change. The value must be an instance of the java class the property is
associated with.
property - the Property identifying the contained propertyvalue - the valuechangeType - the change type. Must be one of the "CHANGE_TYPE" constants
defined in PropertyValue
PropertyValue object
InvalidPropertyException - if argument is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||