Package org.gatein.pc.api
Class StatefulPortletContext<S extends Serializable>
java.lang.Object
org.gatein.pc.api.PortletContext
org.gatein.pc.api.StatefulPortletContext<S>
- All Implemented Interfaces:
Serializable
- Since:
- 2.6
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet, Chris Laprun
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gatein.pc.api.PortletContext
PortletContext.Components, PortletContext.PortletContextComponents -
Field Summary
Fields inherited from class org.gatein.pc.api.PortletContext
CONSUMER_CLONE_DUMMY_STATE_ID, CONSUMER_CLONE_ID, CONSUMER_CLONE_ID_PREFIX, CONSUMER_CLONE_PREFIX_LENGTH, INVALID_PORTLET_CONTEXT, INVOKER_SEPARATOR, LOCAL_CONSUMER_CLONE, PRODUCER_CLONE_ID_PREFIX, PRODUCER_CLONE_PREFIX_LENGTH -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends Serializable>
StatefulPortletContext<S>create(String id, PortletStateType<S> type, S state) static <S extends Serializable>
StatefulPortletContext<S>create(String id, StatefulPortletContext<S> spc) booleangetState()getType()inthashCode()toString()Methods inherited from class org.gatein.pc.api.PortletContext
createPortletContext, createPortletContext, createPortletContext, createPortletContext, createPortletContext, createStatefulPortletContext, dereference, getComponents, getId, interpret, reference
-
Method Details
-
create
public static <S extends Serializable> StatefulPortletContext<S> create(String id, StatefulPortletContext<S> spc) -
create
public static <S extends Serializable> StatefulPortletContext<S> create(String id, PortletStateType<S> type, S state) -
getType
-
equals
- Overrides:
equalsin classPortletContext
-
hashCode
public int hashCode()- Overrides:
hashCodein classPortletContext
-
getState
-
toString
- Overrides:
toStringin classPortletContext
-