com.liferay.portlet.blogs.service.persistence
Class BlogsCategoryPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.blogs.service.persistence.BlogsCategoryPersistenceImpl
- All Implemented Interfaces:
- BlogsCategoryPersistence, org.springframework.beans.factory.InitializingBean
- public class BlogsCategoryPersistenceImpl
- extends BasePersistence
- implements BlogsCategoryPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByParentCategoryId(long parentCategoryId)
|
com.liferay.portlet.blogs.model.BlogsCategory |
create(long categoryId)
|
com.liferay.portlet.blogs.model.BlogsCategory |
fetchByPrimaryKey(long categoryId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.blogs.model.BlogsCategory |
findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.blogs.model.BlogsCategory |
findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.blogs.model.BlogsCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByParentCategoryId(long parentCategoryId)
|
java.util.List |
findByParentCategoryId(long parentCategoryId,
int begin,
int end)
|
java.util.List |
findByParentCategoryId(long parentCategoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.blogs.model.BlogsCategory |
findByPrimaryKey(long categoryId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portlet.blogs.model.BlogsCategory |
remove(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
|
com.liferay.portlet.blogs.model.BlogsCategory |
remove(long categoryId)
|
void |
removeAll()
|
void |
removeByParentCategoryId(long parentCategoryId)
|
com.liferay.portlet.blogs.model.BlogsCategory |
update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
|
com.liferay.portlet.blogs.model.BlogsCategory |
update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsCategoryPersistenceImpl
public BlogsCategoryPersistenceImpl()
create
public com.liferay.portlet.blogs.model.BlogsCategory create(long categoryId)
- Specified by:
create
in interface BlogsCategoryPersistence
remove
public com.liferay.portlet.blogs.model.BlogsCategory remove(long categoryId)
throws com.liferay.portlet.blogs.NoSuchCategoryException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portlet.blogs.NoSuchCategoryException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.blogs.model.BlogsCategory remove(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.blogs.model.BlogsCategory update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.blogs.model.BlogsCategory update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.blogs.model.BlogsCategory findByPrimaryKey(long categoryId)
throws com.liferay.portlet.blogs.NoSuchCategoryException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portlet.blogs.NoSuchCategoryException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.blogs.model.BlogsCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public java.util.List findByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public java.util.List findByParentCategoryId(long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public java.util.List findByParentCategoryId(long parentCategoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId_First
public com.liferay.portlet.blogs.model.BlogsCategory findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.blogs.NoSuchCategoryException,
com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId_First
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portlet.blogs.NoSuchCategoryException
com.liferay.portal.SystemException
findByParentCategoryId_Last
public com.liferay.portlet.blogs.model.BlogsCategory findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.blogs.NoSuchCategoryException,
com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId_Last
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portlet.blogs.NoSuchCategoryException
com.liferay.portal.SystemException
findByParentCategoryId_PrevAndNext
public com.liferay.portlet.blogs.model.BlogsCategory[] findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.blogs.NoSuchCategoryException,
com.liferay.portal.SystemException
- Specified by:
findByParentCategoryId_PrevAndNext
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portlet.blogs.NoSuchCategoryException
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
removeByParentCategoryId
public void removeByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Specified by:
removeByParentCategoryId
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
countByParentCategoryId
public int countByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Specified by:
countByParentCategoryId
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface BlogsCategoryPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()