it.eng.spagobi.analiticalmodel.document.service
Class DetailBIObjectModule
java.lang.Object
it.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.dispatching.module.AbstractModule
it.eng.spagobi.analiticalmodel.document.service.DetailBIObjectModule
- All Implemented Interfaces:
- it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable
public class DetailBIObjectModule
- extends it.eng.spago.dispatching.module.AbstractModule
Implements a module which handles all BI objects management:
has methods for BI Objects load, detail, modify/insertion and deleting operations.
The service
method has a switch for all these operations, differentiated the ones
from the others by a message
String.
- See Also:
- Serialized Form
Method Summary |
static it.eng.spago.validation.EMFValidationError |
checkForDependancies(java.lang.Integer objParFatherId)
Controls if there are some BIObjectParameter objects that depend by the BIObjectParameter object
at input, given its id. |
void |
eraseVersion(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Erase version. |
void |
init(it.eng.spago.base.SourceBean config)
|
void |
service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
Reads the operation asked by the user and calls the insertion, modify, detail and
deletion methods. |
Methods inherited from class it.eng.spago.dispatching.module.AbstractModule |
getConfig, getModule, getModuleMethod, getPage, getSharedData, 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 |
MODULE_PAGE
public static final java.lang.String MODULE_PAGE
- See Also:
- Constant Field Values
NAME_ATTR_OBJECT
public static final java.lang.String NAME_ATTR_OBJECT
- See Also:
- Constant Field Values
NAME_ATTR_LIST_OBJ_TYPES
public static final java.lang.String NAME_ATTR_LIST_OBJ_TYPES
- See Also:
- Constant Field Values
NAME_ATTR_LIST_ENGINES
public static final java.lang.String NAME_ATTR_LIST_ENGINES
- See Also:
- Constant Field Values
NAME_ATTR_LIST_STATES
public static final java.lang.String NAME_ATTR_LIST_STATES
- See Also:
- Constant Field Values
NAME_ATTR_OBJECT_PAR
public static final java.lang.String NAME_ATTR_OBJECT_PAR
- See Also:
- Constant Field Values
NAME_ATTR_LIST_DS
public static final java.lang.String NAME_ATTR_LIST_DS
- See Also:
- Constant Field Values
NAME_ATTR_LIST_LANGUAGES
public static final java.lang.String NAME_ATTR_LIST_LANGUAGES
- See Also:
- Constant Field Values
NAME_ATTR_LIST_DATASET
public static final java.lang.String NAME_ATTR_LIST_DATASET
- See Also:
- Constant Field Values
LOADING_PARS_DC
public static final java.lang.String LOADING_PARS_DC
- See Also:
- Constant Field Values
DetailBIObjectModule
public DetailBIObjectModule()
init
public void init(it.eng.spago.base.SourceBean config)
- Specified by:
init
in interface it.eng.spago.init.InitializerIFace
- Overrides:
init
in class it.eng.spago.dispatching.module.AbstractModule
service
public void service(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
throws java.lang.Exception
- Reads the operation asked by the user and calls the insertion, modify, detail and
deletion methods.
- Parameters:
request
- The Source Bean containing all request parametersresponse
- The Source Bean containing all response parameters
- Throws:
exception
- If an exception occurs
java.lang.Exception
- the exception
checkForDependancies
public static it.eng.spago.validation.EMFValidationError checkForDependancies(java.lang.Integer objParFatherId)
throws it.eng.spago.error.EMFUserError
- Controls if there are some BIObjectParameter objects that depend by the BIObjectParameter object
at input, given its id.
- Parameters:
objParFatherId
- The id of the BIObjectParameter object to check
- Throws:
it.eng.spago.error.EMFUserError
eraseVersion
public void eraseVersion(it.eng.spago.base.SourceBean request,
it.eng.spago.base.SourceBean response)
throws it.eng.spago.error.EMFUserError
- Erase version.
- Parameters:
request
- the requestresponse
- the response
- Throws:
it.eng.spago.error.EMFUserError
- the EMF user error