|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface MBCategoryPersistence
| 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<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 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<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 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<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 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<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 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<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 obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
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)
|
void |
unregisterListener(ModelListener listener)
|
MBCategory |
update(MBCategory mbCategory)
Deprecated. Use update(MBCategory mbCategory, boolean merge). |
MBCategory |
update(MBCategory mbCategory,
boolean merge)
Add, update, or merge, the entity. |
MBCategory |
updateImpl(MBCategory mbCategory,
boolean merge)
|
| Method Detail |
|---|
MBCategory create(long categoryId)
MBCategory remove(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
MBCategory remove(MBCategory mbCategory)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
MBCategory update(MBCategory mbCategory)
throws com.liferay.portal.SystemException
update(MBCategory mbCategory, boolean merge).
com.liferay.portal.SystemException
MBCategory update(MBCategory mbCategory,
boolean merge)
throws com.liferay.portal.SystemException
mbCategory - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when mbCategory is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
MBCategory updateImpl(MBCategory mbCategory,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
MBCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory[] findByUuid_PrevAndNext(long categoryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
MBCategory fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory[] findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory[] findByCompanyId_PrevAndNext(long categoryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory[] findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBCategory> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
com.liferay.portal.SystemException
NoSuchCategoryException
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||