com.liferay.portlet.messageboards.service.persistence
Interface MBCategoryPersistence
- public interface MBCategoryPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countByG_P(long groupId,
long parentCategoryId)
|
int |
countByGroupId(long groupId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
MBCategory |
create(long categoryId)
|
MBCategory |
fetchByPrimaryKey(long categoryId)
|
MBCategory |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
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)
|
MBCategory |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory[] |
findByCompanyId_PrevAndNext(long categoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory[] |
findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_P(long groupId,
long parentCategoryId)
|
java.util.List |
findByG_P(long groupId,
long parentCategoryId,
int begin,
int end)
|
java.util.List |
findByG_P(long groupId,
long parentCategoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByPrimaryKey(long categoryId)
|
MBCategory |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory |
findByUUID_G(java.lang.String uuid,
long groupId)
|
MBCategory |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBCategory[] |
findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByUuid(java.lang.String uuid)
|
java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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)
|
MBCategory |
remove(long categoryId)
|
MBCategory |
remove(MBCategory mbCategory)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByG_P(long groupId,
long parentCategoryId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
MBCategory |
update(MBCategory mbCategory)
|
MBCategory |
update(MBCategory mbCategory,
boolean merge)
|
MBCategory |
updateImpl(MBCategory mbCategory,
boolean merge)
|
create
public MBCategory create(long categoryId)
remove
public MBCategory remove(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
remove
public MBCategory remove(MBCategory mbCategory)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public MBCategory update(MBCategory mbCategory)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public MBCategory update(MBCategory mbCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public MBCategory updateImpl(MBCategory mbCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public MBCategory findByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
fetchByPrimaryKey
public MBCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public MBCategory findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUuid_Last
public MBCategory findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUuid_PrevAndNext
public MBCategory[] findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUUID_G
public MBCategory findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
fetchByUUID_G
public MBCategory fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public MBCategory findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByGroupId_Last
public MBCategory findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByGroupId_PrevAndNext
public MBCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public MBCategory findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId_Last
public MBCategory findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId_PrevAndNext
public MBCategory[] findByCompanyId_PrevAndNext(long categoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P
public java.util.List findByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
public java.util.List findByG_P(long groupId,
long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
public java.util.List findByG_P(long groupId,
long parentCategoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_First
public MBCategory findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P_Last
public MBCategory findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P_PrevAndNext
public MBCategory[] findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
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
removeByUuid
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
public void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P
public void removeByG_P(long groupId,
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
countByUuid
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
public int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P
public int countByG_P(long groupId,
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