com.liferay.portlet.shopping.service.persistence
Interface ShoppingCategoryPersistence
- All Superinterfaces:
- BasePersistence<ShoppingCategory>
public interface ShoppingCategoryPersistence
- extends BasePersistence<ShoppingCategory>
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:
ShoppingCategoryPersistenceImpl
,
ShoppingCategoryUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<ShoppingCategory> shoppingCategories)
|
void |
cacheResult(ShoppingCategory shoppingCategory)
|
int |
countAll()
|
int |
countByG_P(long groupId,
long parentCategoryId)
|
int |
countByGroupId(long groupId)
|
ShoppingCategory |
create(long categoryId)
|
ShoppingCategory |
fetchByPrimaryKey(long categoryId)
|
java.util.List<ShoppingCategory> |
findAll()
|
java.util.List<ShoppingCategory> |
findAll(int start,
int end)
|
java.util.List<ShoppingCategory> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory |
findByG_P_First(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory |
findByG_P_Last(long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory[] |
findByG_P_PrevAndNext(long categoryId,
long groupId,
long parentCategoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<ShoppingCategory> |
findByG_P(long groupId,
long parentCategoryId)
|
java.util.List<ShoppingCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end)
|
java.util.List<ShoppingCategory> |
findByG_P(long groupId,
long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory[] |
findByGroupId_PrevAndNext(long categoryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<ShoppingCategory> |
findByGroupId(long groupId)
|
java.util.List<ShoppingCategory> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<ShoppingCategory> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingCategory |
findByPrimaryKey(long categoryId)
|
ShoppingCategory |
remove(long categoryId)
|
void |
removeAll()
|
void |
removeByG_P(long groupId,
long parentCategoryId)
|
void |
removeByGroupId(long groupId)
|
ShoppingCategory |
update(ShoppingCategory shoppingCategory)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
ShoppingCategory |
updateImpl(ShoppingCategory shoppingCategory,
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(ShoppingCategory shoppingCategory)
cacheResult
void cacheResult(java.util.List<ShoppingCategory> shoppingCategories)
create
ShoppingCategory create(long categoryId)
remove
ShoppingCategory remove(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
update
ShoppingCategory update(ShoppingCategory shoppingCategory)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
ShoppingCategory updateImpl(ShoppingCategory shoppingCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ShoppingCategory findByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchCategoryException
- Throws:
com.liferay.portal.SystemException
NoSuchCategoryException
fetchByPrimaryKey
ShoppingCategory fetchByPrimaryKey(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<ShoppingCategory> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<ShoppingCategory> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<ShoppingCategory> 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
ShoppingCategory 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
ShoppingCategory 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
ShoppingCategory[] 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
findByG_P
java.util.List<ShoppingCategory> findByG_P(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
java.util.List<ShoppingCategory> 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<ShoppingCategory> 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
ShoppingCategory 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
ShoppingCategory 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
ShoppingCategory[] 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<ShoppingCategory> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingCategory> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingCategory> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
void removeByGroupId(long groupId)
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
countByGroupId
int countByGroupId(long groupId)
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