|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsrp4j.producer.provider.driver.PortletRegistrationFilterImpl
This class implements the interfaces PortletRegistrationFilter and PortletRegistrationFilterWriter.
| Field Summary | |
private static java.util.HashMap |
consumerPortletRegistrationMap
|
private static PortletRegistrationFilterImpl |
filter
|
private Logger |
logger
|
private PersistentDataObject |
persistentDataObject
|
private PersistentHandler |
persistentHandler
|
| Constructor Summary | |
private |
PortletRegistrationFilterImpl()
Private constructor |
| Method Summary | |
static PortletRegistrationFilter |
createReader()
|
static PortletRegistrationFilterWriter |
createWriter()
|
private void |
delete(PersistentDataObject persistentDataObject)
Delete the ConsumerPortletRegistration object from persistent store |
java.util.Iterator |
getAvailable(java.lang.String regHandle)
Returns all portlet handles of portlets, a certain consumer (identified by regHandle) can utilize. |
boolean |
isAvailable(java.lang.String regHandle,
java.lang.String portletHandle)
Indicates whether a certain consumer is allowed to utilize the portlet identified by portletHandle or not. |
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). |
private void |
restore()
Restores ConsumerPortletRegistration objects from the persistent store. |
private void |
store(PersistentDataObject persistentDataObject)
Store the ConsumerPortletRegistration object to persistent store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static PortletRegistrationFilterImpl filter
private PersistentDataObject persistentDataObject
private PersistentHandler persistentHandler
private static java.util.HashMap consumerPortletRegistrationMap
private Logger logger
| Constructor Detail |
private PortletRegistrationFilterImpl()
| Method Detail |
public static PortletRegistrationFilterWriter createWriter()
public static PortletRegistrationFilter createReader()
public java.util.Iterator getAvailable(java.lang.String regHandle)
getAvailable in interface PortletRegistrationFilterregHandle - String representing the registration handle of a consumer
public boolean isAvailable(java.lang.String regHandle,
java.lang.String portletHandle)
isAvailable in interface PortletRegistrationFilterregHandle - String representing the registration handle of a consumerportletHandle - String representing the portlet handle of an portlet
public void makeAvailable(java.lang.String regHandle,
java.lang.String portletHandle)
throws WSRPException
makeAvailable in interface PortletRegistrationFilterWriterregHandle - String representing the registration handle of a consumerportletHandle - String representing the portlet handle of a consumer
WSRPException
public void makeAvailable(java.lang.String regHandle,
java.util.Iterator portletHandles)
throws WSRPException
makeAvailable in interface PortletRegistrationFilterWriterregHandle - String representing the registration handle of a consumerportletHandles - Iterator containing some portlet handles of portlets
WSRPExceptionpublic void remove(java.lang.String regHandle)
remove in interface PortletRegistrationFilterWriterregHandle - String representing the registration handle of a consumer
public void remove(java.lang.String regHandle,
java.lang.String portletHandle)
throws WSRPException
remove in interface PortletRegistrationFilterWriterregHandle - String representing the registration handle of a consumerportletHandle - String representing the portlet handle of a consumer
WSRPException
public void remove(java.lang.String regHandle,
java.util.Iterator portletHandles)
throws WSRPException
remove in interface PortletRegistrationFilterWriterregHandle - String representing the registration handle of a consumerportletHandles - Iterator containing some portlet handles of portlets
WSRPExceptionprivate void delete(PersistentDataObject persistentDataObject)
persistentDataObject -
private void store(PersistentDataObject persistentDataObject)
throws WSRPException
persistentDataObject -
WSRPException
private void restore()
throws WSRPException
WSRPException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||