| java.lang.Object org.apache.wsrp4j.producer.provider.driver.PortletRegistrationFilterImpl
Method Summary | |
public static PortletRegistrationFilter | createReader() | public static PortletRegistrationFilterWriter | createWriter() | public Iterator | getAvailable(String regHandle) Returns all portlet handles of portlets, a certain consumer (identified
by regHandle) can utilize. | public boolean | isAvailable(String regHandle, String portletHandle) Indicates whether a certain consumer is allowed to utilize the portlet identified
by portletHandle or not. | public void | makeAvailable(String regHandle, String portletHandle) Makes a certain portlet (identified by portletHandle) available to a consumer
(identified by regHandle). | public void | makeAvailable(String regHandle, Iterator portletHandles) Makes several portlets (identified by portletHandles) available to
a certain consumer (identified by regHandle). | public void | remove(String regHandle) Removes an entire entry for a certain consumer (identified by regHandle).
If there are no entries for the provided regHandle, the method performs
nothing. | public void | remove(String regHandle, String portletHandle) Abrogates the availability of a certain portlet (identified by portletHandle)
regarding a certain consumer (identified by regHandle). | public void | remove(String regHandle, Iterator portletHandles) Abrogates the availability of several portlets (identified by portletHandles)
regarding a certain consumer (identified by regHandle). |
getAvailable | public Iterator getAvailable(String regHandle)(Code) | | Returns all portlet handles of portlets, a certain consumer (identified
by regHandle) can utilize. Returns null if there are no entries for the provided
regHandle.
Parameters: regHandle - String representing the registration handle of a consumer Iterator of portlet handles |
isAvailable | public boolean isAvailable(String regHandle, String portletHandle)(Code) | | Indicates whether a certain consumer is allowed to utilize the portlet identified
by portletHandle or not. Returns false if there is no entry for the provided handles.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandle - String representing the portlet handle of an portlet boolean indicating whether the consumer corresponding to regHandle isallowed to use the portlet identified by portletHandle |
makeAvailable | public void makeAvailable(String regHandle, String portletHandle) throws WSRPException(Code) | | Makes a certain portlet (identified by portletHandle) available to a consumer
(identified by regHandle). If there is no portlet in the portlet pool that
corresponds to portletHandle, the method performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandle - String representing the portlet handle of a consumer |
makeAvailable | public void makeAvailable(String regHandle, Iterator portletHandles) throws WSRPException(Code) | | Makes several portlets (identified by portletHandles) available to
a certain consumer (identified by regHandle). For portlet handles that do not
correspond to portlets kept within the portlet pool, the method makes no
availability-entry.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandles - Iterator containing some portlet handles of portlets throws: WSRPException - |
remove | public void remove(String regHandle)(Code) | | Removes an entire entry for a certain consumer (identified by regHandle).
If there are no entries for the provided regHandle, the method performs
nothing. The method is useful when a consumer deregisters.
Parameters: regHandle - String representing the registration handle of a consumer |
remove | public void remove(String regHandle, String portletHandle) throws WSRPException(Code) | | Abrogates the availability of a certain portlet (identified by portletHandle)
regarding a certain consumer (identified by regHandle). If there is no entry
for the provided regHandle and portletHandle, the method performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandle - String representing the portlet handle of a consumer |
remove | public void remove(String regHandle, Iterator portletHandles) throws WSRPException(Code) | | Abrogates the availability of several portlets (identified by portletHandles)
regarding a certain consumer (identified by regHandle). For portlet handles
that do not correspond to portlets kept within the portlet pool, the method
performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandles - Iterator containing some portlet handles of portlets |
|
|