it.eng.spagobi.tools.catalogue.service
Class GetMetaModelsForFinalUserAction

java.lang.Object
  extended by it.eng.spago.dispatching.service.DefaultRequestContext
      extended by it.eng.spago.dispatching.service.DefaultHttpRequestContext
          extended by it.eng.spago.dispatching.action.AbstractHttpAction
              extended by it.eng.spagobi.utilities.service.AbstractBaseHttpAction
                  extended by it.eng.spagobi.commons.services.AbstractSpagoBIAction
                      extended by it.eng.spagobi.tools.catalogue.service.GetMetaModelsAction
                          extended by it.eng.spagobi.tools.catalogue.service.GetMetaModelsForFinalUserAction
All Implemented Interfaces:
it.eng.spago.dispatching.action.ActionIFace, it.eng.spago.dispatching.service.HttpRequestContextIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable

public class GetMetaModelsForFinalUserAction
extends GetMetaModelsAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.eng.spagobi.tools.catalogue.service.GetMetaModelsAction
DOMAIN_TYPE, FILTERS, LIMIT, LIMIT_DEFAULT, logger, START, START_DEFAULT
 
Fields inherited from class it.eng.spagobi.commons.services.AbstractSpagoBIAction
SERVICE_NAME
 
Constructor Summary
GetMetaModelsForFinalUserAction()
           
 
Method Summary
 void doService()
           
protected  java.util.List<java.lang.Integer> getCategories()
           
protected  java.util.List<MetaModel> getFilteredModels(org.json.JSONObject jsonObject, IMetaModelsDAO dao, java.util.List<java.lang.Integer> categories)
           
 
Methods inherited from class it.eng.spagobi.tools.catalogue.service.GetMetaModelsAction
createJSONResponse, getCategoryIdbyContainsName, getCategoryIdbyName, getFilteredModels, getFilterString, getLimit, getStart
 
Methods inherited from class it.eng.spagobi.commons.services.AbstractSpagoBIAction
checkError, createContext, getContext, getLocale, getTheme, getUserProfile, handleException, init, localize, service, writeErrorsBackToClient
 
Methods inherited from class it.eng.spagobi.utilities.service.AbstractBaseHttpAction
delAttributeFromHttpSession, delAttributeFromSession, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsCsvStringList, getAttributeAsInteger, getAttributeAsJSONArray, getAttributeAsJSONObject, getAttributeAsList, getAttributeAsString, getAttributeFromHttpSession, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsString, getAttributeFromSession, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsString, getAttributesAsLinkedMap, getAttributesAsMap, getHttpSession, getSessionContainer, getSpagoBIHttpSessionContainer, getSpagoBIRequestContainer, getSpagoBIResponseContainer, getSpagoBISessionContainer, httpSessionContainsAttribute, requestContainsAttribute, requestContainsAttribute, sessionContainsAttribute, setAttribute, setAttributeInHttpSession, setAttributeInSession, setSpagoBIRequestContainer, setSpagoBIResponseContainer, tryToWriteBackToClient, writeBackToClient, writeBackToClient, writeBackToClient, writeBackToClient, writeBackToClient, writeBackToClient
 
Methods inherited from class it.eng.spago.dispatching.action.AbstractHttpAction
getActionMethod, getActionName, getConfig, setActionMethod, setActionName
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultHttpRequestContext
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, setRequestContext, unfreezeHttpResponse
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spago.dispatching.service.RequestContextIFace
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 

Constructor Detail

GetMetaModelsForFinalUserAction

public GetMetaModelsForFinalUserAction()
Method Detail

doService

public void doService()
Overrides:
doService in class GetMetaModelsAction

getCategories

protected java.util.List<java.lang.Integer> getCategories()

getFilteredModels

protected java.util.List<MetaModel> getFilteredModels(org.json.JSONObject jsonObject,
                                                      IMetaModelsDAO dao,
                                                      java.util.List<java.lang.Integer> categories)
                                               throws org.json.JSONException
Throws:
org.json.JSONException