@Deprecated
public interface PropertyFactory
Modifier and Type | Method and Description |
---|---|
PropertyController |
createProperty(javax.portlet.PortletConfig config)
Deprecated.
Creates and returns a property associated with a portlet, given the
PortletConfig . |
PropertyController |
createProperty(javax.portlet.PortletRequest request)
Deprecated.
Creates and returns a property associated with a portlet, given the
PortletRequest . |
PropertyValue |
createPropertyValue(javax.portlet.PortletRequest request,
Property property,
java.lang.Object value)
Deprecated.
Creates and returns a
PropertyValue . |
PropertyValue |
createPropertyValue(Property property,
java.lang.Object value)
Deprecated.
Creates and returns a
PropertyValue . |
PropertyValue createPropertyValue(javax.portlet.PortletRequest request, Property property, java.lang.Object value) throws CreateFailedException, AccessFailedException
PropertyValue
.
PropertyValue encapsulates a Property with its value.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.PropertyValue
object encapsulating the information passed inCreateFailedException
AccessFailedException
PropertyValue
PropertyValue createPropertyValue(Property property, java.lang.Object value) throws CreateFailedException, AccessFailedException
PropertyValue
.
PropertyValue encapsulates a Property with its value.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.PropertyValue
object encapsulating the information passed inCreateFailedException
AccessFailedException
PropertyValue
PropertyController createProperty(javax.portlet.PortletRequest request) throws CreateFailedException
PortletRequest
.
PropertyController
has setters which allow various attribute values
to be set.request
- the PortletRequest
objectPropertyController
object created for this portletCreateFailedException
- if the property cannot be createdProperty
,
PropertyController
PropertyController createProperty(javax.portlet.PortletConfig config) throws CreateFailedException
PortletConfig
.
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.config
- the PortletConfig
objectPropertyController
object created for this portletCreateFailedException
- if the property cannot be createdProperty
,
PropertyController