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 biz.i2z.stubifaces.RetrievalModule |
fRetrievalModule |
protected biz.i2z.client.proxy.COMMProxy.Session |
fSession |
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, 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.
|
biz.i2z.client.proxy.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(biz.i2z.client.proxy.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 biz.i2z.stubifaces.RetrievalModule fRetrievalModule
protected transient biz.i2z.client.proxy.COMMProxy.Session fSession
public void setSession(biz.i2z.client.proxy.COMMProxy.Session session) throws biz.i2z.comm.COMM_Exception
Session
object in order to communicate with CSP.
This is mandatory.session
- The communication sessionbiz.i2z.comm.COMM_Exception
public biz.i2z.client.proxy.COMMProxy.Session getSession()
protected void checkState()
protected void release()
BaseFacesSessionBean
release
in class BaseFacesSessionBean