it.eng.spagobi.analiticalmodel.document.dao
Class ObjNoteDAOHibImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.analiticalmodel.document.dao.ObjNoteDAOHibImpl
All Implemented Interfaces:
IObjNoteDAO

public class ObjNoteDAOHibImpl
extends AbstractHibernateDAO
implements IObjNoteDAO


Constructor Summary
ObjNoteDAOHibImpl()
           
 
Method Summary
 void eraseNotes(java.lang.Integer biobjId)
          Deletes all notes associated to the BIObject with the id specified in input.
 ObjNote getExecutionNotes(java.lang.Integer biobjId, java.lang.String execIdentif)
          Get Notes for a specific execution of the biobject.
 void modifyExecutionNotes(ObjNote objNote)
          Modify execution notes.
 void saveExecutionNotes(java.lang.Integer biobjId, ObjNote objNote)
          Save Notes for a specific execution of the biobject.
 
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO
getSession, logException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjNoteDAOHibImpl

public ObjNoteDAOHibImpl()
Method Detail

getExecutionNotes

public ObjNote getExecutionNotes(java.lang.Integer biobjId,
                                 java.lang.String execIdentif)
                          throws java.lang.Exception
Description copied from interface: IObjNoteDAO
Get Notes for a specific execution of the biobject.

Specified by:
getExecutionNotes in interface IObjNoteDAO
Parameters:
biobjId - id of the biobject executed
execIdentif - the exec identif
Returns:
ObjNote notes saved
Throws:
java.lang.Exception - the exception

saveExecutionNotes

public void saveExecutionNotes(java.lang.Integer biobjId,
                               ObjNote objNote)
                        throws java.lang.Exception
Description copied from interface: IObjNoteDAO
Save Notes for a specific execution of the biobject.

Specified by:
saveExecutionNotes in interface IObjNoteDAO
Parameters:
biobjId - id of the biobject executed
objNote - notes to save
Throws:
java.lang.Exception - the exception

modifyExecutionNotes

public void modifyExecutionNotes(ObjNote objNote)
                          throws java.lang.Exception
Description copied from interface: IObjNoteDAO
Modify execution notes.

Specified by:
modifyExecutionNotes in interface IObjNoteDAO
Parameters:
objNote - the obj note
Throws:
java.lang.Exception - the exception

eraseNotes

public void eraseNotes(java.lang.Integer biobjId)
                throws java.lang.Exception
Description copied from interface: IObjNoteDAO
Deletes all notes associated to the BIObject with the id specified in input.

Specified by:
eraseNotes in interface IObjNoteDAO
Parameters:
biobjId - the biobj id
Throws:
java.lang.Exception - the exception