it.eng.spagobi.engines.dossier.dao
Class DossierPartsTempDAOHibImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.engines.dossier.dao.DossierPartsTempDAOHibImpl
- All Implemented Interfaces:
- ISpagoBIDao, IDossierPartsTempDAO
public class DossierPartsTempDAOHibImpl
- extends AbstractHibernateDAO
- implements IDossierPartsTempDAO
- Author:
- Zerbetto (davide.zerbetto@eng.it)
Field Summary |
static java.lang.String |
IMAGE
|
static java.lang.String |
NOTE
|
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 |
commitIfActiveAndClose, disableTenantFilter, enableTenantFilter, getSession, getTenant, getUserProfile, logException, rollbackIfActiveAndClose, setTenant, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMAGE
public static final java.lang.String IMAGE
- See Also:
- Constant Field Values
NOTE
public static final java.lang.String NOTE
- See Also:
- Constant Field Values
DossierPartsTempDAOHibImpl
public DossierPartsTempDAOHibImpl()
getImagesOfDossierPart
public java.util.Map getImagesOfDossierPart(java.lang.Integer dossierId,
int pageNum,
java.lang.Long workflowProcessId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Gets the images of dossier part.
- Specified by:
getImagesOfDossierPart
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- the dossier idpageNum
- the page numworkflowProcessId
- the workflow process id
- Returns:
- the images of dossier part
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error
storeNote
public void storeNote(java.lang.Integer dossierId,
int pageNum,
byte[] noteContent,
java.lang.Long workflowProcessId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Store note.
- Specified by:
storeNote
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- the dossier idpageNum
- the page numnoteContent
- the note contentworkflowProcessId
- the workflow process id
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error
storeImage
public void storeImage(java.lang.Integer dossierId,
byte[] image,
java.lang.String docLogicalName,
int pageNum,
java.lang.Long workflowProcessId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Store image.
- Specified by:
storeImage
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- the dossier idimage
- the imagedocLogicalName
- the doc logical namepageNum
- the page numworkflowProcessId
- the workflow process id
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error
getNotesOfDossierPart
public byte[] getNotesOfDossierPart(java.lang.Integer dossierId,
int pageNum,
java.lang.Long workflowProcessId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Gets the notes of dossier part.
- Specified by:
getNotesOfDossierPart
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- the dossier idpageNum
- the page numworkflowProcessId
- the workflow process id
- Returns:
- the notes of dossier part
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error
cleanDossierParts
public void cleanDossierParts(java.lang.Integer dossierId,
java.lang.Long workflowProcessId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Erases the dossier temporary parts for the process specified at input.
- Specified by:
cleanDossierParts
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- The id of the dossierworkflowProcessId
- The id of the process
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error
eraseDossierParts
public void eraseDossierParts(java.lang.Integer dossierId)
throws it.eng.spago.error.EMFInternalError
- Description copied from interface:
IDossierPartsTempDAO
- Erases the dossier temporary parts for all the processes that involve the dossier specified at input.
- Specified by:
eraseDossierParts
in interface IDossierPartsTempDAO
- Parameters:
dossierId
- The dossier id
- Throws:
it.eng.spago.error.EMFInternalError
- the EMF internal error