com.ibm.portal.propertybroker.service
Interface PropertyFactory
-
Deprecated.
@Deprecated public interface PropertyFactory
-
-
Method Summary
Methods Modifier and Type Method and Description PropertyController
createProperty(javax.portlet.PortletConfig config)
Deprecated.Creates and returns a property associated with a portlet, given thePortletConfig
.PropertyController
createProperty(javax.portlet.PortletRequest request)
Deprecated.Creates and returns a property associated with a portlet, given thePortletRequest
.PropertyValue
createPropertyValue(javax.portlet.PortletRequest request, Property property, java.lang.Object value)
Deprecated.Creates and returns aPropertyValue
.PropertyValue
createPropertyValue(Property property, java.lang.Object value)
Deprecated.Creates and returns aPropertyValue
.
-
-
-
Method Detail
-
createPropertyValue
PropertyValue createPropertyValue(javax.portlet.PortletRequest request, Property property, java.lang.Object value) throws CreateFailedException, AccessFailedException
Deprecated.Creates and returns aPropertyValue
. PropertyValue encapsulates a Property with its value.- Parameters:
request
- the current portlet request.property
- the Property to be encapsulated in the returned object. Must not be null.value
- the value to be encapsulated in the returned object, currently only Strings are supported.- Returns:
- a
PropertyValue
object encapsulating the information passed in - Throws:
CreateFailedException
AccessFailedException
- See Also:
PropertyValue
-
createPropertyValue
PropertyValue createPropertyValue(Property property, java.lang.Object value) throws CreateFailedException, AccessFailedException
Deprecated.Creates and returns aPropertyValue
. PropertyValue encapsulates a Property with its value.- Parameters:
property
- the Property to be encapsulated in the returned object. Must not be null.value
- the value to be encapsulated in the returned object, currently only Strings are supported.- Returns:
- a
PropertyValue
object encapsulating the information passed in - Throws:
CreateFailedException
AccessFailedException
- See Also:
PropertyValue
-
createProperty
PropertyController createProperty(javax.portlet.PortletRequest request) throws CreateFailedException
Deprecated.Creates and returns a property associated with a portlet, given thePortletRequest
.PropertyController
has setters which allow various attribute values to be set.- Parameters:
request
- thePortletRequest
object- Returns:
- the new
PropertyController
object created for this portlet - Throws:
CreateFailedException
- if the property cannot be created- See Also:
Property
,PropertyController
-
createProperty
PropertyController createProperty(javax.portlet.PortletConfig config) throws CreateFailedException
Deprecated.Creates and returns a property associated with a portlet, given thePortletConfig
.PropertyController
has setters which allow various attribute values for the property to be set. This will be typically done during the portlet's init() method.- Parameters:
config
- thePortletConfig
object- Returns:
- the new
PropertyController
object created for this portlet - Throws:
CreateFailedException
- if the property cannot be created- See Also:
Property
,PropertyController
-
-