|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyFactory
Method Summary | |
---|---|
PropertyController |
createProperty(PortletConfig config)
Creates and returns a property associated with a portlet, given the PortletConfig . |
PropertyController |
createProperty(PortletRequest request)
Creates and returns a property associated with a portlet, given the PortletRequest . |
PropertyValue |
createPropertyValue(PortletRequest request,
Property property,
java.lang.Object value)
Creates and returns a PropertyValue . |
PropertyValue |
createPropertyValue(Property property,
java.lang.Object value)
Creates and returns a PropertyValue . |
Method Detail |
---|
PropertyValue createPropertyValue(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 in
CreateFailedException
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 in
CreateFailedException
AccessFailedException
PropertyValue
PropertyController createProperty(PortletRequest request) throws CreateFailedException
PortletRequest
.
PropertyController
has setters which allow various attribute values
to be set.
request
- the PortletRequest
object
PropertyController
object created for this portlet
CreateFailedException
- if the property cannot be createdProperty
,
PropertyController
PropertyController createProperty(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
object
PropertyController
object created for this portlet
CreateFailedException
- if the property cannot be createdProperty
,
PropertyController
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |