public interface ScopeObjectContext
| 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.
|
com.google.gson.JsonObject transformStateToExtract(com.google.gson.JsonObject state,
DesignResourceReference ref)
throws de.innovationgate.webgate.api.WGException
state - The original stateref - TODOref - Reference of the object with changed statede.innovationgate.webgate.api.WGExceptioncom.google.gson.JsonObject transformStateToInject(com.google.gson.JsonObject state,
DesignResourceReference ref)
throws de.innovationgate.webgate.api.WGException
state - The original stateref - TODOref - Reference of the object with changed statede.innovationgate.webgate.api.WGExceptionvoid beforeUsage(ScopeObjectRegistry.ScopeObject so) throws de.innovationgate.webgate.api.WGException
so - The scope objectde.innovationgate.webgate.api.WGExceptionvoid afterUsage(ScopeObjectRegistry.ScopeObject so) throws de.innovationgate.webgate.api.WGException
so - The scope objectde.innovationgate.webgate.api.WGException