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

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ObjNoteDAOHibImpl

public interface IObjNoteDAO
extends ISpagoBIDao


Method Summary
 void eraseNotes(java.lang.Integer biobjId)
          Deletes all notes associated to the BIObject with the id specified in input.
 void eraseNotesByOwner(java.lang.Integer biobjId, java.lang.String execIdentif, java.lang.String owner)
          Deletes all notes associated to the BIObject with the id and the owner specified in input.
 ObjNote getExecutionNotes(java.lang.Integer biobjId, java.lang.String execIdentif)
          Get Notes for a specific execution of the biobject.
 ObjNote getExecutionNotesByOwner(java.lang.Integer biobjId, java.lang.String execIdentif, java.lang.String owner)
          Get Notes for a specific execution of the biobject by owner.
 java.util.List getListExecutionNotes(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 interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

saveExecutionNotes

void saveExecutionNotes(java.lang.Integer biobjId,
                        ObjNote objNote)
                        throws java.lang.Exception
Save Notes for a specific execution of the biobject.

Parameters:
biobjId - id of the biobject executed
objNote - notes to save
Throws:
java.lang.Exception - the exception

getExecutionNotes

ObjNote getExecutionNotes(java.lang.Integer biobjId,
                          java.lang.String execIdentif)
                          throws java.lang.Exception
Get Notes for a specific execution of the biobject.

Parameters:
biobjId - id of the biobject executed
execIdentif - the exec identif
Returns:
ObjNote notes saved
Throws:
java.lang.Exception - the exception

getExecutionNotesByOwner

ObjNote getExecutionNotesByOwner(java.lang.Integer biobjId,
                                 java.lang.String execIdentif,
                                 java.lang.String owner)
                                 throws java.lang.Exception
Get Notes for a specific execution of the biobject by owner.

Parameters:
biobjId - id of the biobject executed
execIdentif - the exec identif
owner - the note's owner
Returns:
ObjNote notes saved
Throws:
java.lang.Exception - the exception

getListExecutionNotes

java.util.List getListExecutionNotes(java.lang.Integer biobjId,
                                     java.lang.String execIdentif)
                                     throws java.lang.Exception
Get Notes for a specific execution of the biobject.

Parameters:
biobjId - id of the biobject executed
execIdentif - the exec identif
Returns:
ObjNote notes saved
Throws:
java.lang.Exception - the exception

modifyExecutionNotes

void modifyExecutionNotes(ObjNote objNote)
                          throws java.lang.Exception
Modify execution notes.

Parameters:
objNote - the obj note
Throws:
java.lang.Exception - the exception

eraseNotes

void eraseNotes(java.lang.Integer biobjId)
                throws java.lang.Exception
Deletes all notes associated to the BIObject with the id specified in input.

Parameters:
biobjId - the biobj id
Throws:
java.lang.Exception - the exception

eraseNotesByOwner

void eraseNotesByOwner(java.lang.Integer biobjId,
                       java.lang.String execIdentif,
                       java.lang.String owner)
                       throws java.lang.Exception
Deletes all notes associated to the BIObject with the id and the owner specified in input.

Parameters:
biobjId - the biobj id
owner - the user owner the note
Throws:
java.lang.Exception - the exception