Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
com.ibm.wps.pb.property
Class PropertyFactoryjava.lang.Object com.ibm.wps.pb.property.PropertyFactory
- public class PropertyFactory
- extends java.lang.Object
A factory class which must be used to create instances of interfaces in the
com.ibm.wps.pb.property package.
- Since:
- 5.0
Method Summary static Action createAction(org.apache.jetspeed.portlet.PortletSettings settings)
Creates and returns an Action object.static Parameter createParameter(Property property, Action action)
Creates and returns a Parameter object associated with the parent action and containing the specified property.static Property createProperty(org.apache.jetspeed.portlet.PortletSettings settings)
Creates and returns a Property object.static PropertyValue createPropertyValue(Property property, java.lang.Object value)
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)
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 createAction
public static Action createAction(org.apache.jetspeed.portlet.PortletSettings settings) throws InvalidPropertyException
- Creates and returns an Action object. The required fields on the Action must be initialized using setters.
- Parameters:
- settings - the PortletSettings identifying the caller
- Returns:
- the Action object
- Throws:
- InvalidPropertyException - if argument is invalid
- See Also:
- Action
createProperty
public static Property createProperty(org.apache.jetspeed.portlet.PortletSettings settings) throws InvalidPropertyException
- Creates and returns a Property object. The required fields on the Property must be initialized using setters.
- Parameters:
- settings - the PortletSettings identifying the caller
- Returns:
- the Property object
- Throws:
- InvalidPropertyException - if argument is invalid
- See Also:
- Property
createParameter
public static Parameter createParameter(Property property, Action action) throws InvalidPropertyException
- Creates and returns a Parameter object associated with the parent action and containing the specified property. The required fields on the Parameter must be initialized using setters.
- Parameters:
- property - the Property identifying the contained property
- action - the Action identifying the parent action
- Returns:
- the Parameter object
- Throws:
- InvalidPropertyException - if argument is invalid
- See Also:
- Parameter
createPropertyValue
public static PropertyValue createPropertyValue(Property property, java.lang.Object value) throws InvalidPropertyException
- Creates and returns a PropertyValue object encapsulating a property and a value. The value must be an instance of the java class the property is associated with.
- Parameters:
- property - the Property identifying the contained property
- value - the value
- Returns:
- the PropertyValue object
- Throws:
- InvalidPropertyException - if argument is invalid
- See Also:
- PropertyValue
createPropertyValue
public static PropertyValue createPropertyValue(Property property, java.lang.Object value, java.lang.String changeType) throws InvalidPropertyException
- Creates and returns a 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.
- Parameters:
- property - the Property identifying the contained property
- value - the value
- changeType - the change type. Must be one of the "CHANGE_TYPE" constants defined in PropertyValue
- Returns:
- the PropertyValue object
- Throws:
- InvalidPropertyException - if argument is invalid
Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.