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
public class StatefulPortletContext<S extends Serializable> extends PortletContext
- Since:
- 2.6
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet, Chris Laprun
- See Also:
- Serialized Form
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <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)booleanequals(Object o)SgetState()PortletStateType<S>getType()inthashCode()StringtoString()-
Methods inherited from class org.gatein.pc.api.PortletContext
createPortletContext, createPortletContext, createPortletContext, createPortletContext, createPortletContext, createStatefulPortletContext, dereference, getComponents, getId, interpret, reference
-
-
-
-
Method Detail
-
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
public PortletStateType<S> getType()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classPortletContext
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPortletContext
-
getState
public S getState()
-
toString
public String toString()
- Overrides:
toStringin classPortletContext
-
-