com.liferay.portlet.messageboards.service.persistence
Interface MBCategoryPersistence
- All Superinterfaces:
- BasePersistence<MBCategory>
public interface MBCategoryPersistence
- extends BasePersistence<MBCategory>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategoryPersistenceImpl
,
MBCategoryUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<MBCategory> mbCategories)
|
void |
cacheResult(MBCategory mbCategory)
|
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)
|
MBCategory |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
java.util.List<MBCategory> |
findAll()
|
java.util.List<MBCategory> |
findAll(int start,
int end)
|
java.util.List<MBCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory[] |
findByCompanyId_PrevAndNext(long categoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<MBCategory> |
findByCompanyId(long companyId)
|
java.util.List<MBCategory> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<MBCategory> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory[] |
findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<MBCategory> |
findByG_P(long groupId,
long parentCategoryId)
|
java.util.List<MBCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end)
|
java.util.List<MBCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<MBCategory> |
findByGroupId(long groupId)
|
java.util.List<MBCategory> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<MBCategory> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByPrimaryKey(long categoryId)
|
MBCategory |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
findByUUID_G(java.lang.String uuid,
long groupId)
|
MBCategory |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory[] |
findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<MBCategory> |
findByUuid(java.lang.String uuid)
|
java.util.List<MBCategory> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<MBCategory> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
MBCategory |
remove(long categoryId)
|
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)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
MBCategory |
updateImpl(MBCategory mbCategory,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(MBCategory mbCategory)
cacheResult
void cacheResult(java.util.List<MBCategory> mbCategories)
create
MBCategory create(long categoryId)
remove
MBCategory remove(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
update
MBCategory update(MBCategory mbCategory)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
MBCategory updateImpl(MBCategory mbCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
MBCategory findByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
fetchByPrimaryKey
MBCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBCategory> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBCategory> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBCategory> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
MBCategory findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUuid_Last
MBCategory findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUuid_PrevAndNext
MBCategory[] findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByUUID_G
MBCategory findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
fetchByUUID_G
MBCategory fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUUID_G
MBCategory fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<MBCategory> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<MBCategory> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<MBCategory> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
MBCategory findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByGroupId_Last
MBCategory findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByGroupId_PrevAndNext
MBCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId
java.util.List<MBCategory> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<MBCategory> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<MBCategory> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
MBCategory findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId_Last
MBCategory findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByCompanyId_PrevAndNext
MBCategory[] findByCompanyId_PrevAndNext(long categoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_First
MBCategory findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P_Last
MBCategory findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findByG_P_PrevAndNext
MBCategory[] findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
findAll
java.util.List<MBCategory> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<MBCategory> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<MBCategory> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P
void removeByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P
int countByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException