All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alogient.cameleon.sdk.content.dao.impl.CultureDaoImpl Maven / Gradle / Ivy

The newest version!
package com.alogient.cameleon.sdk.content.dao.impl;

import com.alogient.cameleon.sdk.common.dao.impl.BaseDao;
import com.alogient.cameleon.sdk.common.dao.model.Culture;
import com.alogient.cameleon.sdk.content.dao.CultureDao;

import java.util.List;

public class CultureDaoImpl extends BaseDao implements CultureDao {
    /**
     * {@inheritDoc}
     */
    @Override
    public Culture getCulture(Integer cultureId) {
        return (Culture) getHibernateTemplate().get(Culture.class, cultureId);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    @SuppressWarnings("unchecked")
    public List getCultures() {
        return getHibernateTemplate().loadAll(Culture.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy