com.alogient.cameleon.sdk.content.dao.CultureDao Maven / Gradle / Ivy
The newest version!
package com.alogient.cameleon.sdk.content.dao;
import com.alogient.cameleon.sdk.common.dao.model.Culture;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Transactional(propagation = Propagation.REQUIRED, readOnly = true)
public interface CultureDao {
/**
* Returns a specific culture by it's id
* @param cultureId The primary of the desired culture
* @return The requested culture (if it exists, null otherwise)
*/
Culture getCulture(Integer cultureId);
/**
* Get all the cultures in the database
* @return All the cultures in the data base
*/
List getCultures();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy