com.liferay.portlet.blogs.service.persistence
Interface BlogsCategoryPersistence

All Known Implementing Classes:
BlogsCategoryPersistenceImpl

public interface BlogsCategoryPersistence

View Source

Author:
Brian Wing Shun Chan

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)
           
 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)
           
 

Method Detail

create

public com.liferay.portlet.blogs.model.BlogsCategory create(long categoryId)

remove

public com.liferay.portlet.blogs.model.BlogsCategory remove(long categoryId)
                                                     throws com.liferay.portal.SystemException,
                                                            com.liferay.portlet.blogs.NoSuchCategoryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchCategoryException

remove

public com.liferay.portlet.blogs.model.BlogsCategory remove(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
                                                     throws com.liferay.portal.SystemException
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
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
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.blogs.model.BlogsCategory findByPrimaryKey(long categoryId)
                                                               throws com.liferay.portal.SystemException,
                                                                      com.liferay.portlet.blogs.NoSuchCategoryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchCategoryException

fetchByPrimaryKey

public com.liferay.portlet.blogs.model.BlogsCategory fetchByPrimaryKey(long categoryId)
                                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByParentCategoryId

public java.util.List findByParentCategoryId(long parentCategoryId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByParentCategoryId

public java.util.List findByParentCategoryId(long parentCategoryId,
                                             int begin,
                                             int end)
                                      throws com.liferay.portal.SystemException
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
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.portal.SystemException,
                                                                                  com.liferay.portlet.blogs.NoSuchCategoryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchCategoryException

findByParentCategoryId_Last

public com.liferay.portlet.blogs.model.BlogsCategory findByParentCategoryId_Last(long parentCategoryId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portal.SystemException,
                                                                                 com.liferay.portlet.blogs.NoSuchCategoryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchCategoryException

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.portal.SystemException,
                                                                                          com.liferay.portlet.blogs.NoSuchCategoryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchCategoryException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

removeByParentCategoryId

public void removeByParentCategoryId(long parentCategoryId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByParentCategoryId

public int countByParentCategoryId(long parentCategoryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException