|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletRegistrationFilterWriter
This interface provides methods to make portlets available to a certain consumer. If a certain consumer deregisters, the consumer registry is responsible for updating, i.e. removing the entries within the PortletRegistratinFilter component. If an portlet was removed, the portlet pool has to remove the affected entries by calling the provided remove-methods.
Method Summary | |
---|---|
void |
makeAvailable(java.lang.String regHandle,
java.util.Iterator portletHandles)
Makes several portlets (identified by portletHandles) available to a certain consumer (identified by regHandle). |
void |
makeAvailable(java.lang.String regHandle,
java.lang.String portletHandle)
Makes a certain portlet (identified by portletHandle) available to a consumer (identified by regHandle). |
void |
remove(java.lang.String regHandle)
Removes an entire entry for a certain consumer (identified by regHandle). |
void |
remove(java.lang.String regHandle,
java.util.Iterator portletHandles)
Abrogates the availability of several portlets (identified by portletHandles) regarding a certain consumer (identified by regHandle). |
void |
remove(java.lang.String regHandle,
java.lang.String portletHandle)
Abrogates the availability of a certain portlet (identified by portletHandle) regarding a certain consumer (identified by regHandle). |
Methods inherited from interface org.apache.wsrp4j.producer.provider.PortletRegistrationFilter |
---|
getAvailable, isAvailable |
Method Detail |
---|
void makeAvailable(java.lang.String regHandle, java.lang.String portletHandle) throws WSRPException
regHandle
- String representing the registration handle of a consumerportletHandle
- String representing the portlet handle of a consumer
WSRPException
void makeAvailable(java.lang.String regHandle, java.util.Iterator portletHandles) throws WSRPException
regHandle
- String representing the registration handle of a consumerportletHandles
- Iterator containing some portlet handles of portlets
WSRPException
void remove(java.lang.String regHandle)
regHandle
- String representing the registration handle of a consumervoid remove(java.lang.String regHandle, java.lang.String portletHandle) throws WSRPException
regHandle
- String representing the registration handle of a consumerportletHandle
- String representing the portlet handle of a consumer
WSRPException
void remove(java.lang.String regHandle, java.util.Iterator portletHandles) throws WSRPException
regHandle
- String representing the registration handle of a consumerportletHandles
- Iterator containing some portlet handles of portlets
WSRPException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |