public class PortletScopeObjectContext extends java.lang.Object implements ScopeObjectContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PORTLETITEM_CONFIGPROPNAMES |
| Constructor and Description |
|---|
PortletScopeObjectContext(TMLPortlet portlet) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUsage(ScopeObjectRegistry.ScopeObject so)
Called after the scope object was used
|
void |
beforeUsage(ScopeObjectRegistry.ScopeObject so)
Called after the scope object has retrieved from the registry
|
com.google.gson.JsonObject |
transformStateToExtract(com.google.gson.JsonObject state,
DesignResourceReference ref)
Called after extracting state from the scope object, so the scope can optionally do some transformation
before setting the state to the registry.
|
com.google.gson.JsonObject |
transformStateToInject(com.google.gson.JsonObject state,
DesignResourceReference ref)
Called before injecting state to the scope object, so the scope can optionally do some transformation
before setting it to the object.
|
public static final java.lang.String PORTLETITEM_CONFIGPROPNAMES
public PortletScopeObjectContext(TMLPortlet portlet)
public com.google.gson.JsonObject transformStateToExtract(com.google.gson.JsonObject state,
DesignResourceReference ref)
throws de.innovationgate.webgate.api.WGException
ScopeObjectContexttransformStateToExtract in interface ScopeObjectContextstate - The original stateref - TODOde.innovationgate.webgate.api.WGExceptionpublic com.google.gson.JsonObject transformStateToInject(com.google.gson.JsonObject state,
DesignResourceReference ref)
throws de.innovationgate.webgate.api.WGException
ScopeObjectContexttransformStateToInject in interface ScopeObjectContextstate - The original stateref - TODOde.innovationgate.webgate.api.WGExceptionpublic void beforeUsage(ScopeObjectRegistry.ScopeObject so) throws de.innovationgate.webgate.api.WGException
ScopeObjectContextbeforeUsage in interface ScopeObjectContextso - The scope objectde.innovationgate.webgate.api.WGExceptionpublic void afterUsage(ScopeObjectRegistry.ScopeObject so) throws de.innovationgate.webgate.api.WGException
ScopeObjectContextafterUsage in interface ScopeObjectContextso - The scope objectde.innovationgate.webgate.api.WGException