|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.engines.dossier.dao.DossierPartsTempDAOHibImpl
public class DossierPartsTempDAOHibImpl
Field Summary | |
---|---|
static java.lang.String |
IMAGE
|
static java.lang.String |
NOTE
|
Constructor Summary | |
---|---|
DossierPartsTempDAOHibImpl()
|
Method Summary | |
---|---|
void |
cleanDossierParts(java.lang.Integer dossierId,
java.lang.Long workflowProcessId)
Erases the dossier temporary parts for the process specified at input. |
void |
eraseDossierParts(java.lang.Integer dossierId)
Erases the dossier temporary parts for all the processes that involve the dossier specified at input. |
java.util.Map |
getImagesOfDossierPart(java.lang.Integer dossierId,
int pageNum,
java.lang.Long workflowProcessId)
Gets the images of dossier part. |
byte[] |
getNotesOfDossierPart(java.lang.Integer dossierId,
int pageNum,
java.lang.Long workflowProcessId)
Gets the notes of dossier part. |
void |
storeImage(java.lang.Integer dossierId,
byte[] image,
java.lang.String docLogicalName,
int pageNum,
java.lang.Long workflowProcessId)
Store image. |
void |
storeNote(java.lang.Integer dossierId,
int pageNum,
byte[] noteContent,
java.lang.Long workflowProcessId)
Store note. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
getSession, getUserProfile, logException, rollbackIfActiveAndClose, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Field Detail |
---|
public static final java.lang.String IMAGE
public static final java.lang.String NOTE
Constructor Detail |
---|
public DossierPartsTempDAOHibImpl()
Method Detail |
---|
public java.util.Map getImagesOfDossierPart(java.lang.Integer dossierId, int pageNum, java.lang.Long workflowProcessId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
getImagesOfDossierPart
in interface IDossierPartsTempDAO
dossierId
- the dossier idpageNum
- the page numworkflowProcessId
- the workflow process id
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic void storeNote(java.lang.Integer dossierId, int pageNum, byte[] noteContent, java.lang.Long workflowProcessId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
storeNote
in interface IDossierPartsTempDAO
dossierId
- the dossier idpageNum
- the page numnoteContent
- the note contentworkflowProcessId
- the workflow process id
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic void storeImage(java.lang.Integer dossierId, byte[] image, java.lang.String docLogicalName, int pageNum, java.lang.Long workflowProcessId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
storeImage
in interface IDossierPartsTempDAO
dossierId
- the dossier idimage
- the imagedocLogicalName
- the doc logical namepageNum
- the page numworkflowProcessId
- the workflow process id
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic byte[] getNotesOfDossierPart(java.lang.Integer dossierId, int pageNum, java.lang.Long workflowProcessId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
getNotesOfDossierPart
in interface IDossierPartsTempDAO
dossierId
- the dossier idpageNum
- the page numworkflowProcessId
- the workflow process id
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic void cleanDossierParts(java.lang.Integer dossierId, java.lang.Long workflowProcessId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
cleanDossierParts
in interface IDossierPartsTempDAO
dossierId
- The id of the dossierworkflowProcessId
- The id of the process
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic void eraseDossierParts(java.lang.Integer dossierId) throws it.eng.spago.error.EMFInternalError
IDossierPartsTempDAO
eraseDossierParts
in interface IDossierPartsTempDAO
dossierId
- The dossier id
it.eng.spago.error.EMFInternalError
- the EMF internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |