it.eng.spagobi.analiticalmodel.document.utils
Class DetBIObjModHelper

java.lang.Object
  extended by it.eng.spagobi.analiticalmodel.document.utils.DetBIObjModHelper

public class DetBIObjModHelper
extends java.lang.Object


Constructor Summary
DetBIObjModHelper(it.eng.spago.base.RequestContainer reqCont, it.eng.spago.base.ResponseContainer respCont, it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
          Instantiates a new det bi obj mod helper.
 
Method Summary
static BIObject clone(BIObject obj)
          Clone.
static BIObjectParameter clone(BIObjectParameter biObjPar)
          Clone.
static BIObjectParameter createNewBIObjectParameter(java.lang.Integer objId)
          Creates the new bi object parameter.
 void fillResponse(java.lang.String initialPath)
          Fills the response SourceBean with some needed BI Objects information.
static int findBIObjParId(java.lang.Object objParIdObj)
          Find bi obj par id.
 BIObject recoverBIObjectDetails(java.lang.String mod)
          Recover bi object details.
 BIObjectParameter recoverBIObjectParameterDetails(java.lang.Integer biobjIdInt)
          Recover bi object parameter details.
 ObjTemplate recoverBIObjTemplateDetails()
          Recover bi obj template details.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetBIObjModHelper

public DetBIObjModHelper(it.eng.spago.base.RequestContainer reqCont,
                         it.eng.spago.base.ResponseContainer respCont,
                         it.eng.spago.base.SourceBean request,
                         it.eng.spago.base.SourceBean response)
Instantiates a new det bi obj mod helper.

Parameters:
reqCont - the req cont
request - the request
response - the response
Method Detail

recoverBIObjectDetails

public BIObject recoverBIObjectDetails(java.lang.String mod)
                                throws java.lang.Exception
Recover bi object details.

Parameters:
mod - the mod
Returns:
the bI object
Throws:
java.lang.Exception - the exception

recoverBIObjTemplateDetails

public ObjTemplate recoverBIObjTemplateDetails()
                                        throws java.lang.Exception
Recover bi obj template details.

Returns:
the obj template
Throws:
java.lang.Exception - the exception

recoverBIObjectParameterDetails

public BIObjectParameter recoverBIObjectParameterDetails(java.lang.Integer biobjIdInt)
Recover bi object parameter details.

Parameters:
biobjIdInt - the biobj id int
Returns:
the bI object parameter

fillResponse

public void fillResponse(java.lang.String initialPath)
                  throws it.eng.spago.error.EMFUserError
Fills the response SourceBean with some needed BI Objects information.

Parameters:
initialPath - the initial path
Throws:
java.lang.Exception
it.eng.spago.error.EMFUserError

clone

public static BIObjectParameter clone(BIObjectParameter biObjPar)
Clone.

Parameters:
biObjPar - the bi obj par
Returns:
the bI object parameter

clone

public static BIObject clone(BIObject obj)
Clone.

Parameters:
obj - the obj
Returns:
the bI object

createNewBIObjectParameter

public static BIObjectParameter createNewBIObjectParameter(java.lang.Integer objId)
                                                    throws it.eng.spago.error.EMFUserError
Creates the new bi object parameter.

Parameters:
objId - the obj id
Returns:
the bI object parameter
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

findBIObjParId

public static int findBIObjParId(java.lang.Object objParIdObj)
Find bi obj par id.

Parameters:
objParIdObj - the obj par id obj
Returns:
the int