it.eng.spagobi.tools.catalogue.dao
Class MetaModelsDAOImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.tools.catalogue.dao.MetaModelsDAOImpl
- All Implemented Interfaces:
- ISpagoBIDao, IMetaModelsDAO
public class MetaModelsDAOImpl
- extends AbstractHibernateDAO
- implements IMetaModelsDAO
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 |
MetaModelsDAOImpl
public MetaModelsDAOImpl()
loadMetaModelById
public MetaModel loadMetaModelById(java.lang.Integer id)
- Specified by:
loadMetaModelById
in interface IMetaModelsDAO
loadMetaModelByName
public MetaModel loadMetaModelByName(java.lang.String name)
- Specified by:
loadMetaModelByName
in interface IMetaModelsDAO
loadMetaModelByCategories
public java.util.List<MetaModel> loadMetaModelByCategories(java.util.List<java.lang.Integer> categories)
- Specified by:
loadMetaModelByCategories
in interface IMetaModelsDAO
loadMetaModelByFilter
public java.util.List<MetaModel> loadMetaModelByFilter(java.lang.String filter)
- Specified by:
loadMetaModelByFilter
in interface IMetaModelsDAO
loadMetaModelByFilter
public java.util.List<MetaModel> loadMetaModelByFilter(java.lang.String filter,
java.util.List<java.lang.Integer> categories)
- Specified by:
loadMetaModelByFilter
in interface IMetaModelsDAO
loadAllMetaModels
public java.util.List<MetaModel> loadAllMetaModels()
- Specified by:
loadAllMetaModels
in interface IMetaModelsDAO
modifyMetaModel
public void modifyMetaModel(MetaModel model)
- Specified by:
modifyMetaModel
in interface IMetaModelsDAO
insertMetaModel
public void insertMetaModel(MetaModel model)
- Specified by:
insertMetaModel
in interface IMetaModelsDAO
eraseMetaModel
public void eraseMetaModel(java.lang.Integer modelId)
- Specified by:
eraseMetaModel
in interface IMetaModelsDAO
insertMetaModelContent
public void insertMetaModelContent(java.lang.Integer modelId,
Content content)
- Specified by:
insertMetaModelContent
in interface IMetaModelsDAO
eraseMetaModelContent
public void eraseMetaModelContent(java.lang.Integer contentId)
- Specified by:
eraseMetaModelContent
in interface IMetaModelsDAO
loadMetaModelContentById
public Content loadMetaModelContentById(java.lang.Integer contendId)
- Specified by:
loadMetaModelContentById
in interface IMetaModelsDAO
loadActiveMetaModelContentById
public Content loadActiveMetaModelContentById(java.lang.Integer modelId)
- Specified by:
loadActiveMetaModelContentById
in interface IMetaModelsDAO
loadActiveMetaModelContentByName
public Content loadActiveMetaModelContentByName(java.lang.String modelName)
- Specified by:
loadActiveMetaModelContentByName
in interface IMetaModelsDAO
getActiveMetaModelContentLastModified
public long getActiveMetaModelContentLastModified(java.lang.String modelName)
- Specified by:
getActiveMetaModelContentLastModified
in interface IMetaModelsDAO
loadMetaModelVersions
public java.util.List<Content> loadMetaModelVersions(java.lang.Integer modelId)
- Specified by:
loadMetaModelVersions
in interface IMetaModelsDAO
setActiveVersion
public void setActiveVersion(java.lang.Integer modelId,
java.lang.Integer contentId)
- Specified by:
setActiveVersion
in interface IMetaModelsDAO