it.eng.spagobi.tools.catalogue.dao
Class ArtifactsDAOImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.tools.catalogue.dao.ArtifactsDAOImpl
- All Implemented Interfaces:
- ISpagoBIDao, IArtifactsDAO
public class ArtifactsDAOImpl
- extends AbstractHibernateDAO
- implements IArtifactsDAO
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 |
ArtifactsDAOImpl
public ArtifactsDAOImpl()
loadArtifactById
public Artifact loadArtifactById(java.lang.Integer id)
- Specified by:
loadArtifactById
in interface IArtifactsDAO
loadArtifactByNameAndType
public Artifact loadArtifactByNameAndType(java.lang.String name,
java.lang.String type)
- Specified by:
loadArtifactByNameAndType
in interface IArtifactsDAO
loadAllArtifacts
public java.util.List<Artifact> loadAllArtifacts(java.lang.String type)
- Specified by:
loadAllArtifacts
in interface IArtifactsDAO
modifyArtifact
public void modifyArtifact(Artifact artifact)
- Specified by:
modifyArtifact
in interface IArtifactsDAO
insertArtifact
public void insertArtifact(Artifact artifact)
- Specified by:
insertArtifact
in interface IArtifactsDAO
eraseArtifact
public void eraseArtifact(java.lang.Integer artifactId)
- Specified by:
eraseArtifact
in interface IArtifactsDAO
insertArtifactContent
public void insertArtifactContent(java.lang.Integer artifactId,
Content content)
- Specified by:
insertArtifactContent
in interface IArtifactsDAO
eraseArtifactContent
public void eraseArtifactContent(java.lang.Integer contentId)
- Specified by:
eraseArtifactContent
in interface IArtifactsDAO
loadArtifactContentById
public Content loadArtifactContentById(java.lang.Integer contendId)
- Specified by:
loadArtifactContentById
in interface IArtifactsDAO
loadActiveArtifactContent
public Content loadActiveArtifactContent(java.lang.Integer artifactId)
- Specified by:
loadActiveArtifactContent
in interface IArtifactsDAO
loadArtifactVersions
public java.util.List<Content> loadArtifactVersions(java.lang.Integer artifactId)
- Specified by:
loadArtifactVersions
in interface IArtifactsDAO
setActiveVersion
public void setActiveVersion(java.lang.Integer artifactId,
java.lang.Integer contentId)
- Specified by:
setActiveVersion
in interface IArtifactsDAO