public abstract class CSPBaseProvider extends BaseFacesSessionBean implements Serializable
CSPContent
,
CSPContentSearchProvider
, CSPNodesProvider
,
CSPIndexDefinitionProvider
need session so it is good to extend this provider.Modifier and Type | Field and Description |
---|---|
protected RetrievalModule |
fRetrievalModule |
protected COMMProxy.Session |
fSession |
fExpireWithPageFlow
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
CSPBaseProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkState()
Check if a RetrievalModule has been properly inited.If not it most probably means a session is not set.
|
COMMProxy.Session |
getSession()
Get Session which is the client primary access point to the CSP server.
|
protected void |
release()
Override this method to release any resources associated with this session.
|
void |
setSession(COMMProxy.Session session)
Sets a
Session object in order to communicate with CSP. |
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
protected transient RetrievalModule fRetrievalModule
protected transient COMMProxy.Session fSession
public void setSession(COMMProxy.Session session) throws COMM_Exception
Session
object in order to communicate with CSP.
This is mandatory.session
- The communication sessionCOMM_Exception
public COMMProxy.Session getSession()
protected void checkState()
protected void release()
BaseFacesSessionBean
release
in class BaseFacesSessionBean