|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.jboss.portal.test.portlet.state.AbstractStatefulPortletInvokerTestCase org.jboss.portal.test.portlet.state.ConsumerStatefulPortletInvokerTestCase
Field Summary | |
protected ConsumerPortletInvoker |
consumer
. |
protected ConsumerPersistenceManagerService |
consumerPersistenceManager
. |
protected PortletInvokerSupport |
container
. |
protected boolean |
persistLocally
. |
protected ProducerPortletInvoker |
producer
. |
protected ProducerPersistenceManagerService |
producerPersistenceManager
. |
protected StateConverterService |
stateConverter
. |
protected StateManagementPolicyService |
stateManagementPolicy
. |
Constructor Summary | |
ConsumerStatefulPortletInvokerTestCase(boolean persistLocally)
|
Method Summary | |
protected void |
assertNoExistingState()
|
protected ActionInvocation |
createAction(java.lang.Object portletRef,
AccessMode accessMode)
|
protected java.lang.Object |
createClone(java.lang.Object portletRef)
|
protected java.lang.Object |
createInvalidPOPRef()
|
protected java.lang.Object |
createLocalClone(java.lang.Object portletRef)
|
protected java.lang.Object |
createNonExistingPOPRef()
|
protected java.lang.Object |
createPOPRef(PortletSupport portletSupport)
|
protected void |
destroyClone(java.lang.Object portletRef)
|
protected java.util.List |
destroyClones(java.util.List portletRefs)
|
protected java.lang.Object |
getImplicitClonedRef(ActionInvocation action)
|
protected java.lang.Object |
getModifiedPortletRef(ActionInvocation action)
|
protected Portlet |
getPortlet(java.lang.Object portletRef)
|
protected java.lang.String |
getPortletId(java.lang.Object portletRef)
|
protected PropertyMap |
getProperties(java.lang.Object portletRef)
|
protected PropertyMap |
getProperties(java.lang.Object portletRef,
java.util.Set keys)
|
private Portlet |
getSinglePOP()
|
protected void |
invoke(PortletInvocation invocation)
|
protected java.lang.Object |
setProperties(java.lang.Object portletRef,
PropertyChange[] changes)
|
protected void |
setUp()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final boolean persistLocally
protected ConsumerPortletInvoker consumer
protected ConsumerPersistenceManagerService consumerPersistenceManager
protected ProducerPortletInvoker producer
protected PortletInvokerSupport container
protected ProducerPersistenceManagerService producerPersistenceManager
protected StateManagementPolicyService stateManagementPolicy
protected StateConverterService stateConverter
Constructor Detail |
public ConsumerStatefulPortletInvokerTestCase(boolean persistLocally)
Method Detail |
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected Portlet getPortlet(java.lang.Object portletRef) throws PortletInvokerException
getPortlet
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.Object createPOPRef(PortletSupport portletSupport) throws PortletInvokerException
createPOPRef
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.Object createNonExistingPOPRef() throws PortletInvokerException
createNonExistingPOPRef
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.Object createInvalidPOPRef() throws PortletInvokerException
createInvalidPOPRef
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.Object createLocalClone(java.lang.Object portletRef) throws java.lang.Exception
createLocalClone
in class AbstractStatefulPortletInvokerTestCase
java.lang.Exception
protected void destroyClone(java.lang.Object portletRef) throws java.lang.Exception
destroyClone
in class AbstractStatefulPortletInvokerTestCase
java.lang.Exception
protected void assertNoExistingState()
assertNoExistingState
in class AbstractStatefulPortletInvokerTestCase
protected java.lang.Object createClone(java.lang.Object portletRef) throws PortletInvokerException
createClone
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.Object setProperties(java.lang.Object portletRef, PropertyChange[] changes) throws PortletInvokerException
setProperties
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected PropertyMap getProperties(java.lang.Object portletRef) throws PortletInvokerException
getProperties
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected PropertyMap getProperties(java.lang.Object portletRef, java.util.Set keys) throws PortletInvokerException
getProperties
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.util.List destroyClones(java.util.List portletRefs) throws PortletInvokerException
destroyClones
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected java.lang.String getPortletId(java.lang.Object portletRef) throws PortletInvokerException
getPortletId
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected void invoke(PortletInvocation invocation) throws PortletInvokerException
invoke
in class AbstractStatefulPortletInvokerTestCase
PortletInvokerException
protected ActionInvocation createAction(java.lang.Object portletRef, AccessMode accessMode)
createAction
in class AbstractStatefulPortletInvokerTestCase
protected java.lang.Object getImplicitClonedRef(ActionInvocation action)
getImplicitClonedRef
in class AbstractStatefulPortletInvokerTestCase
protected java.lang.Object getModifiedPortletRef(ActionInvocation action)
getModifiedPortletRef
in class AbstractStatefulPortletInvokerTestCase
private Portlet getSinglePOP() throws PortletInvokerException
PortletInvokerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |