|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.dispatching.module.AbstractModule
it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule
it.eng.spagobi.commons.services.AbstractListLookupModule
it.eng.spagobi.commons.services.AbstractBasicCheckListModule
public class AbstractBasicCheckListModule
Field Summary | |
---|---|
it.eng.spago.base.SourceBean |
_request
|
it.eng.spago.base.SourceBean |
_response
|
protected java.util.List |
allElements
|
static java.lang.String |
CHECKED_OBJECTS
|
static java.lang.String |
CHECKED_OBJECTS_DESC
|
protected java.util.Map |
checkedObjectsMap
|
protected it.eng.spago.base.SourceBean |
config
|
static java.lang.String |
MODULE_PAGE
|
static java.lang.String |
OBJECT
|
protected int |
pageNumber
|
protected boolean |
returnValues
|
Constructor Summary | |
---|---|
AbstractBasicCheckListModule()
Instantiates a new abstract basic check list module. |
Method Summary | |
---|---|
static void |
clearSession(it.eng.spago.base.SessionContainer session,
java.lang.String moduleName)
Clear session. |
void |
createCheckedObjectMap(it.eng.spago.base.SourceBean request)
Creates the checked object map. |
boolean |
delete(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
|
void |
exitFromModule(it.eng.spago.base.SourceBean response,
boolean abort)
Exit from module. |
protected java.lang.Object |
getAttribute(java.lang.String attrName,
it.eng.spago.base.SourceBean request)
|
protected java.util.List |
getCheckedObjectKeys(it.eng.spago.base.SourceBean request)
|
it.eng.spago.base.SourceBean |
getCheckedObjects()
Gets the checked objects. |
it.eng.spago.paginator.basic.ListIFace |
getList(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
|
it.eng.spago.base.SourceBean |
getObject(java.lang.String key)
Gets the object. |
java.lang.String |
getObjectKey(it.eng.spago.base.SourceBean object)
Gets the object key. |
java.lang.String[] |
getQueryParameters(java.lang.String queryName,
it.eng.spago.base.SourceBean request)
Gets the query parameters. |
java.lang.String |
getQueryStatement(java.lang.String queryName,
java.lang.String[] parameters)
Gets the query statement. |
boolean |
isChecked(it.eng.spago.base.SourceBean object)
Checks if is checked. |
void |
navigationHandler(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response,
boolean moveNext)
Navigation handler. |
void |
navigationHandler(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response,
int destPage)
Navigation handler. |
void |
navigationHandler(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response,
java.lang.Integer pageNumber)
Navigation handler. |
void |
postprocess(it.eng.spago.base.SourceBean response)
Postprocess. |
void |
preprocess(it.eng.spago.base.SourceBean request)
Preprocess. |
void |
save()
Save. |
void |
service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
|
void |
updateCheckedObjectMap(it.eng.spago.base.SourceBean request)
Update checked object map. |
Methods inherited from class it.eng.spagobi.commons.services.AbstractListLookupModule |
---|
filterListForCorrelatedParam, filterListForCorrelatedParam, getErroHandler, intersectLists, mergeLists |
Methods inherited from class it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule |
---|
callback, getList, setList |
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule |
---|
getConfig, getModule, getModuleMethod, getPage, getSharedData, init, setModule, setModuleMethod, setPage, setSharedData |
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext |
---|
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse, setRequestContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected it.eng.spago.base.SourceBean config
protected java.util.Map checkedObjectsMap
protected java.util.List allElements
protected int pageNumber
protected boolean returnValues
public static final java.lang.String MODULE_PAGE
public static final java.lang.String OBJECT
public static final java.lang.String CHECKED_OBJECTS
public static final java.lang.String CHECKED_OBJECTS_DESC
public it.eng.spago.base.SourceBean _request
public it.eng.spago.base.SourceBean _response
Constructor Detail |
---|
public AbstractBasicCheckListModule()
Method Detail |
---|
public static void clearSession(it.eng.spago.base.SessionContainer session, java.lang.String moduleName)
session
- the sessionmoduleName
- the module namepublic void save() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void exitFromModule(it.eng.spago.base.SourceBean response, boolean abort) throws java.lang.Exception
response
- the responseabort
- the abort
java.lang.Exception
- the exceptionpublic java.lang.String getObjectKey(it.eng.spago.base.SourceBean object)
object
- the object
public it.eng.spago.base.SourceBean getObject(java.lang.String key) throws java.lang.Exception
key
- the key
java.lang.Exception
- the exceptionpublic it.eng.spago.base.SourceBean getCheckedObjects() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic java.lang.String[] getQueryParameters(java.lang.String queryName, it.eng.spago.base.SourceBean request)
queryName
- the query namerequest
- the request
public java.lang.String getQueryStatement(java.lang.String queryName, java.lang.String[] parameters)
queryName
- the query nameparameters
- the parameters
protected java.util.List getCheckedObjectKeys(it.eng.spago.base.SourceBean request)
public void createCheckedObjectMap(it.eng.spago.base.SourceBean request) throws java.lang.Exception
request
- the request
java.lang.Exception
- the exceptionpublic void updateCheckedObjectMap(it.eng.spago.base.SourceBean request) throws java.lang.Exception
request
- the request
java.lang.Exception
- the exceptionpublic void preprocess(it.eng.spago.base.SourceBean request) throws java.lang.Exception
request
- the request
java.lang.Exception
- the exceptionpublic boolean isChecked(it.eng.spago.base.SourceBean object)
object
- the object
public void postprocess(it.eng.spago.base.SourceBean response) throws java.lang.Exception
response
- the response
java.lang.Exception
- the exceptionpublic void service(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws java.lang.Exception
service
in interface it.eng.spago.dispatching.service.ServiceIFace
service
in class it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule
java.lang.Exception
public void navigationHandler(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, boolean moveNext) throws java.lang.Exception
request
- the requestresponse
- the responsemoveNext
- the move next
java.lang.Exception
- the exceptionpublic void navigationHandler(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, int destPage) throws java.lang.Exception
request
- the requestresponse
- the responsemoveNext
- the move next
java.lang.Exception
- the exceptionpublic void navigationHandler(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response, java.lang.Integer pageNumber) throws java.lang.Exception
request
- the requestresponse
- the responsepageNumber
- the page number
java.lang.Exception
- the exceptionprotected java.lang.Object getAttribute(java.lang.String attrName, it.eng.spago.base.SourceBean request)
public it.eng.spago.paginator.basic.ListIFace getList(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response) throws java.lang.Exception
java.lang.Exception
public boolean delete(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
delete
in interface it.eng.spago.dispatching.service.list.basic.IFaceBasicListService
delete
in class it.eng.spago.dispatching.module.list.basic.AbstractBasicListModule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |