Package org.exoplatform.settings.jpa.dao
Class SettingContextDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ContextEntity,Long>
org.exoplatform.settings.jpa.dao.SettingContextDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<ContextEntity,,Long> SettingContextDAO
public class SettingContextDAO
extends GenericDAOJPAImpl<ContextEntity,Long>
implements SettingContextDAO
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcountContextsByType(String contextType) getContextByTypeAndName(String contextType, String contextName) getContextNamesByType(String contextType, int offset, int limit) getContextsByTypeAndSettingNameAndScope(String contextType, String scopeType, String scopeName, String settingName, int offset, int limit) getEmptyContextsByScopeAndContextType(String contextType, String scopeType, String scopeName, String settingName, int offset, int limit) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
-
Constructor Details
-
SettingContextDAO
public SettingContextDAO()
-
-
Method Details
-
getContextByTypeAndName
- Specified by:
getContextByTypeAndNamein interfaceSettingContextDAO
-
getEmptyContextsByScopeAndContextType
public List<ContextEntity> getEmptyContextsByScopeAndContextType(String contextType, String scopeType, String scopeName, String settingName, int offset, int limit) - Specified by:
getEmptyContextsByScopeAndContextTypein interfaceSettingContextDAO
-
getContextsByTypeAndSettingNameAndScope
public List<ContextEntity> getContextsByTypeAndSettingNameAndScope(String contextType, String scopeType, String scopeName, String settingName, int offset, int limit) - Specified by:
getContextsByTypeAndSettingNameAndScopein interfaceSettingContextDAO
-
countContextsByType
- Specified by:
countContextsByTypein interfaceSettingContextDAO
-
getContextNamesByType
- Specified by:
getContextNamesByTypein interfaceSettingContextDAO
-