it.eng.spagobi.tools.catalogue.dao
Interface IArtifactsDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
ArtifactsDAOImpl

public interface IArtifactsDAO
extends ISpagoBIDao


Method Summary
 void eraseArtifact(java.lang.Integer id)
           
 void eraseArtifactContent(java.lang.Integer contendId)
           
 void insertArtifact(Artifact artifact)
           
 void insertArtifactContent(java.lang.Integer artifactId, Content content)
           
 Content loadActiveArtifactContent(java.lang.Integer artifactId)
           
 java.util.List<Artifact> loadAllArtifacts(java.lang.String type)
           
 Artifact loadArtifactById(java.lang.Integer id)
           
 Artifact loadArtifactByNameAndType(java.lang.String name, java.lang.String type)
           
 Content loadArtifactContentById(java.lang.Integer contendId)
           
 java.util.List<Content> loadArtifactVersions(java.lang.Integer artifactId)
           
 void modifyArtifact(Artifact artifact)
           
 void setActiveVersion(java.lang.Integer artifactId, java.lang.Integer contendId)
           
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadArtifactById

Artifact loadArtifactById(java.lang.Integer id)

loadArtifactByNameAndType

Artifact loadArtifactByNameAndType(java.lang.String name,
                                   java.lang.String type)

loadAllArtifacts

java.util.List<Artifact> loadAllArtifacts(java.lang.String type)

modifyArtifact

void modifyArtifact(Artifact artifact)

insertArtifact

void insertArtifact(Artifact artifact)

eraseArtifact

void eraseArtifact(java.lang.Integer id)

insertArtifactContent

void insertArtifactContent(java.lang.Integer artifactId,
                           Content content)

eraseArtifactContent

void eraseArtifactContent(java.lang.Integer contendId)

loadArtifactContentById

Content loadArtifactContentById(java.lang.Integer contendId)

loadActiveArtifactContent

Content loadActiveArtifactContent(java.lang.Integer artifactId)

loadArtifactVersions

java.util.List<Content> loadArtifactVersions(java.lang.Integer artifactId)

setActiveVersion

void setActiveVersion(java.lang.Integer artifactId,
                      java.lang.Integer contendId)