com.liferay.portlet.blogs.service.persistence
Class BlogsCategoryUtil
java.lang.Object
com.liferay.portlet.blogs.service.persistence.BlogsCategoryUtil
- public class BlogsCategoryUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByParentCategoryId(long parentCategoryId)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
create(long categoryId)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
fetchByPrimaryKey(long categoryId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
findByParentCategoryId_First(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
findByParentCategoryId_Last(long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.blogs.model.BlogsCategory[] |
findByParentCategoryId_PrevAndNext(long categoryId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByParentCategoryId(long parentCategoryId)
|
static java.util.List |
findByParentCategoryId(long parentCategoryId,
int begin,
int end)
|
static java.util.List |
findByParentCategoryId(long parentCategoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
findByPrimaryKey(long categoryId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static BlogsCategoryPersistence |
getPersistence()
|
static com.liferay.portlet.blogs.model.BlogsCategory |
remove(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
remove(long categoryId)
|
static void |
removeAll()
|
static void |
removeByParentCategoryId(long parentCategoryId)
|
void |
setPersistence(BlogsCategoryPersistence persistence)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory)
|
static com.liferay.portlet.blogs.model.BlogsCategory |
update(com.liferay.portlet.blogs.model.BlogsCategory blogsCategory,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsCategoryUtil
public BlogsCategoryUtil()
create
public static com.liferay.portlet.blogs.model.BlogsCategory create(long categoryId)
remove
public static 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 static 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 static 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 static 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 static 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 static com.liferay.portlet.blogs.model.BlogsCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public static java.util.List findByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public static java.util.List findByParentCategoryId(long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByParentCategoryId
public static 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 static 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 static 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 static 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 static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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 static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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 static void removeByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByParentCategoryId
public static int countByParentCategoryId(long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static BlogsCategoryPersistence getPersistence()
setPersistence
public void setPersistence(BlogsCategoryPersistence persistence)