📄 propertyfactory.html
字号:
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createPropertyValue(javax.portlet.PortletRequest, com.ibm.portal.propertybroker.property.Property, java.lang.Object)"><!-- --></A><H3>createPropertyValue</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyValue.html" title="interface in com.ibm.portal.propertybroker.property">PropertyValue</A> <B>createPropertyValue</B>(javax.portlet.PortletRequest request, <A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property">Property</A> property, java.lang.Object value) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A>, <A HREF="../../../../../com/ibm/portal/propertybroker/service/AccessFailedException.html" title="class in com.ibm.portal.propertybroker.service">AccessFailedException</A></PRE><DL><DD>Creates and returns a <code>PropertyValue</code>. PropertyValue encapsulates a Property with its value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the current portlet request. Must not be null.<DD><CODE>property</CODE> - the Property to be encapsulated in the returned object. Must not be null.<DD><CODE>value</CODE> - the value to be encapsulated in the returned object. May be null.<DT><B>Returns:</B><DD>a <code>PropertyValue</code> object encapsulating the information passed in<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/AccessFailedException.html" title="class in com.ibm.portal.propertybroker.service">AccessFailedException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyValue.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>PropertyValue</CODE></A></DL></DD></DL><HR><A NAME="createPropertyValue(javax.portlet.PortletRequest, com.ibm.portal.propertybroker.property.Property, java.lang.Object, com.ibm.portal.propertybroker.property.PropertyValueChangeType)"><!-- --></A><H3>createPropertyValue</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyValue.html" title="interface in com.ibm.portal.propertybroker.property">PropertyValue</A> <B>createPropertyValue</B>(javax.portlet.PortletRequest request, <A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property">Property</A> property, java.lang.Object value, <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyValueChangeType.html" title="class in com.ibm.portal.propertybroker.property">PropertyValueChangeType</A> changeType) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A>, <A HREF="../../../../../com/ibm/portal/propertybroker/service/AccessFailedException.html" title="class in com.ibm.portal.propertybroker.service">AccessFailedException</A></PRE><DL><DD>Creates and returns a <code>PropertyValue</code> with a change reason code. PropertyValue encapsulates a Property with its value and a reason the value changed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the current portlet request. Must not be null.<DD><CODE>property</CODE> - the Property to be encapsulated in the returned object. Must not be null.<DD><CODE>value</CODE> - the value to be encapsulated in the returned object. May be null.<DD><CODE>changeType</CODE> - the reason the property value changed<DT><B>Returns:</B><DD>a <code>PropertyValue</code> object encapsulating the information passed in<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/AccessFailedException.html" title="class in com.ibm.portal.propertybroker.service">AccessFailedException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyValue.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>PropertyValue</CODE></A></DL></DD></DL><HR><A NAME="createProperty(javax.portlet.PortletRequest)"><!-- --></A><H3>createProperty</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyController.html" title="interface in com.ibm.portal.propertybroker.property">PropertyController</A> <B>createProperty</B>(javax.portlet.PortletRequest request) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></PRE><DL><DD>Creates and returns a property associated with a portlet, given the <code>PortletRequest</code>. <code>PropertyController</code> has setters which allow various attribute values to be set.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the <code>PortletRequest</code> object. Must not be null.<DT><B>Returns:</B><DD>the new <code>PropertyController</code> object created for this portlet<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE> - if the property cannot be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Property</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyController.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>PropertyController</CODE></A></DL></DD></DL><HR><A NAME="createProperty(javax.portlet.PortletConfig)"><!-- --></A><H3>createProperty</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyController.html" title="interface in com.ibm.portal.propertybroker.property">PropertyController</A> <B>createProperty</B>(javax.portlet.PortletConfig config) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></PRE><DL><DD>Creates and returns a property associated with a portlet, given the <code>PortletConfig</code>. <code>PropertyController</code> has setters which allow various attribute values for the property to be set. This will be typically done during the portlet's init() method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - the <code>PortletConfig</code> object. Must not be null.<DT><B>Returns:</B><DD>the new <code>PropertyController</code> object created for this portlet<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE> - if the property cannot be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Property</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/PropertyController.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>PropertyController</CODE></A></DL></DD></DL><HR><A NAME="createAction(javax.portlet.PortletRequest)"><!-- --></A><H3>createAction</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/ActionController.html" title="interface in com.ibm.portal.propertybroker.property">ActionController</A> <B>createAction</B>(javax.portlet.PortletRequest request) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></PRE><DL><DD>Creates and returns an action associated with a portlet, given the <code>PortletRequest</code>. <code>ActionController</code> has setters which allow various attribute values of the action to be set.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the <code>PortletRequest</code> object. Must not be null<DT><B>Returns:</B><DD>the new <code>ActionController</code> object created for this portlet<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE> - if the action cannot be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/Action.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Action</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/ActionController.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>ActionController</CODE></A></DL></DD></DL><HR><A NAME="createAction(javax.portlet.PortletConfig)"><!-- --></A><H3>createAction</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/ActionController.html" title="interface in com.ibm.portal.propertybroker.property">ActionController</A> <B>createAction</B>(javax.portlet.PortletConfig config) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></PRE><DL><DD>Creates and returns an action associated with a portlet, given the <code>PortletConfig</code>. <code>ActionController</code> has setters which allow various attribute values of the action to be set. This will be typically done during the portlet's init() method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - the <code>PortletConfig</code> object. Must not be null<DT><B>Returns:</B><DD>the new <code>ActionController</code> object created for this portlet<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE> - if the action cannot be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/Action.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Action</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/ActionController.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>ActionController</CODE></A></DL></DD></DL><HR><A NAME="createParameter(com.ibm.portal.propertybroker.property.Action, com.ibm.portal.propertybroker.property.Property)"><!-- --></A><H3>createParameter</H3><PRE>public <A HREF="../../../../../com/ibm/portal/propertybroker/property/ParameterController.html" title="interface in com.ibm.portal.propertybroker.property">ParameterController</A> <B>createParameter</B>(<A HREF="../../../../../com/ibm/portal/propertybroker/property/Action.html" title="interface in com.ibm.portal.propertybroker.property">Action</A> action, <A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property">Property</A> property) throws <A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></PRE><DL><DD>Creates and returns a parameter associated with a portlet's action. This will be typically done during the portlet's init() method. Setter methods may be invoked on the returned <code>ParameterController</code> to modify any attributes of the parameter prior to registering the action.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>action</CODE> - the <code>Action</code> the parameter is associated with. Must not be null.<DD><CODE>property</CODE> - the <code>Property</code> the parameter is associated with. Must not be null.<DT><B>Returns:</B><DD>the new <code>ParameterController</code> object created for this portlet<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/propertybroker/service/CreateFailedException.html" title="class in com.ibm.portal.propertybroker.service">CreateFailedException</A></CODE> - if the parameter cannot be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/ibm/portal/propertybroker/property/ParameterController.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>ParameterController</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/Action.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Action</CODE></A>, <A HREF="../../../../../com/ibm/portal/propertybroker/property/Property.html" title="interface in com.ibm.portal.propertybroker.property"><CODE>Property</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/ibm/portal/propertybroker/service/PropertyBrokerService.html" title="interface in com.ibm.portal.propertybroker.service"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PropertyFactory.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -