it.eng.spagobi.services.modules
Class DetailChecksModule
java.lang.Object
it.eng.spago.dispatching.service.DefaultRequestContext
it.eng.spago.dispatching.module.AbstractModule
it.eng.spagobi.services.modules.DetailChecksModule
- All Implemented Interfaces:
- it.eng.spago.init.InitializerIFace, it.eng.spago.dispatching.module.ModuleIFace, it.eng.spago.dispatching.service.RequestContextIFace, java.io.Serializable, it.eng.spago.dispatching.service.ServiceIFace
- public class DetailChecksModule
- extends it.eng.spago.dispatching.module.AbstractModule
Implements a module which handles all values constraints management:
has methods for values constraint 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.
- Author:
- sulis
- See Also:
- Serialized Form
Method Summary |
void |
init(it.eng.spago.base.SourceBean config)
|
void |
nameControl(it.eng.spago.base.SourceBean request,
java.lang.String operation)
During a value constraint insertion/modify, controls if the name given to the value constraint
is yet in use. |
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, getPage, getSharedData, setModule, 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetailChecksModule
public DetailChecksModule()
init
public void init(it.eng.spago.base.SourceBean config)
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
nameControl
public void nameControl(it.eng.spago.base.SourceBean request,
java.lang.String operation)
throws EMFUserError
- During a value constraint insertion/modify, controls if the name given to the value constraint
is yet in use.
- Parameters:
request
- The request Source Beanoperation
- Defines if the operation is of insertion or modify
- Throws:
EMFUserError
- If any Exception occurred