com.ibm.portal.propertybroker.service

Interface PropertyFactory


  • Deprecated.

    @Deprecated
    public interface PropertyFactory
    • Method Detail

      • createPropertyValue

        PropertyValue createPropertyValue(javax.portlet.PortletRequest request,
                                        Property property,
                                        java.lang.Object value)
                                          throws CreateFailedException,
                                                 AccessFailedException
        Deprecated. 
        Creates and returns a PropertyValue. 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 a PropertyValue. 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 the PortletRequest. PropertyController has setters which allow various attribute values to be set.
        Parameters:
        request - the PortletRequest 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 the 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.
        Parameters:
        config - the PortletConfig object
        Returns:
        the new PropertyController object created for this portlet
        Throws:
        CreateFailedException - if the property cannot be created
        See Also:
        Property, PropertyController
IBM WebSphere Application ServerTM
Release 9.0