it.eng.spagobi.analiticalmodel.document.dao
Interface IObjTemplateDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ObjTemplateDAOHibImpl

public interface IObjTemplateDAO
extends ISpagoBIDao


Method Summary
 void deleteBIObjectTemplate(java.lang.Integer tempId)
          Delete bi object template.
 ObjTemplate getBIObjectActiveTemplate(java.lang.Integer biobjId)
          Gets the bI object active template.
 ObjTemplate getBIObjectActiveTemplateByLabel(java.lang.String label)
          Gets the bI object active template starting by document label
 java.util.List getBIObjectTemplateList(java.lang.Integer biobjId)
          Gets the bI object template list.
 java.lang.Integer getNextProgForTemplate(java.lang.Integer biobjId)
          Gets the next prog for template.
 void insertBIObjectTemplate(ObjTemplate objTemplate)
          Insert a new bi object template.
 ObjTemplate loadBIObjectTemplate(java.lang.Integer tempId)
          Load bi object template.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

getBIObjectActiveTemplate

ObjTemplate getBIObjectActiveTemplate(java.lang.Integer biobjId)
                                      throws it.eng.spago.error.EMFInternalError
Gets the bI object active template.

Parameters:
biobjId - the biobj id
Returns:
the bI object active template
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

getBIObjectActiveTemplateByLabel

ObjTemplate getBIObjectActiveTemplateByLabel(java.lang.String label)
                                             throws it.eng.spago.error.EMFInternalError
Gets the bI object active template starting by document label

Parameters:
biobjLabel - the BiObject label
Returns:
the bI object active template
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

getBIObjectTemplateList

java.util.List getBIObjectTemplateList(java.lang.Integer biobjId)
                                       throws it.eng.spago.error.EMFInternalError
Gets the bI object template list.

Parameters:
biobjId - the biobj id
Returns:
the bI object template list
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

loadBIObjectTemplate

ObjTemplate loadBIObjectTemplate(java.lang.Integer tempId)
                                 throws it.eng.spago.error.EMFInternalError
Load bi object template.

Parameters:
tempId - the temp id
Returns:
the obj template
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

getNextProgForTemplate

java.lang.Integer getNextProgForTemplate(java.lang.Integer biobjId)
                                         throws it.eng.spago.error.EMFInternalError
Gets the next prog for template.

Parameters:
biobjId - the biobj id
Returns:
the next prog for template
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

deleteBIObjectTemplate

void deleteBIObjectTemplate(java.lang.Integer tempId)
                            throws it.eng.spago.error.EMFInternalError
Delete bi object template.

Parameters:
tempId - the temp id
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error

insertBIObjectTemplate

void insertBIObjectTemplate(ObjTemplate objTemplate)
                            throws it.eng.spago.error.EMFUserError,
                                   it.eng.spago.error.EMFInternalError
Insert a new bi object template.

Parameters:
objTemplate - the new template
Throws:
it.eng.spago.error.EMFInternalError - the EMF internal error
it.eng.spago.error.EMFUserError