com.liferay.portlet.shopping.service.persistence
Class ShoppingCategoryUtil

java.lang.Object
  extended by com.liferay.portlet.shopping.service.persistence.ShoppingCategoryUtil

public class ShoppingCategoryUtil
extends java.lang.Object

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:
ShoppingCategoryPersistence, ShoppingCategoryPersistenceImpl
Generated:

Constructor Summary
ShoppingCategoryUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingCategory> shoppingCategories)
           
static void cacheResult(ShoppingCategory shoppingCategory)
           
static void clearCache()
           
static void clearCache(ShoppingCategory shoppingCategory)
           
static int countAll()
           
static int countByG_P(long groupId, long parentCategoryId)
           
static int countByGroupId(long groupId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static ShoppingCategory create(long categoryId)
           
static ShoppingCategory fetchByPrimaryKey(long categoryId)
           
static int filterCountByG_P(long groupId, long parentCategoryId)
           
static int filterCountByGroupId(long groupId)
           
static java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId)
           
static java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
           
static java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId)
           
static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId, int start, int end)
           
static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingCategory> findAll()
           
static java.util.List<ShoppingCategory> findAll(int start, int end)
           
static java.util.List<ShoppingCategory> findAll(int start, int end, OrderByComparator orderByComparator)
           
static ShoppingCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
static ShoppingCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
static ShoppingCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId)
           
static java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId, int start, int end)
           
static java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
           
static ShoppingCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
static ShoppingCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
static ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingCategory> findByGroupId(long groupId)
           
static java.util.List<ShoppingCategory> findByGroupId(long groupId, int start, int end)
           
static java.util.List<ShoppingCategory> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
static ShoppingCategory findByPrimaryKey(long categoryId)
           
static java.util.List<ShoppingCategory> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<ShoppingCategory> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static ShoppingCategoryPersistence getPersistence()
           
static ShoppingCategory remove(long categoryId)
           
static ShoppingCategory remove(ShoppingCategory shoppingCategory)
           
static void removeAll()
           
static void removeByG_P(long groupId, long parentCategoryId)
           
static void removeByGroupId(long groupId)
           
 void setPersistence(ShoppingCategoryPersistence persistence)
           
static ShoppingCategory update(ShoppingCategory shoppingCategory, boolean merge)
           
static ShoppingCategory updateImpl(ShoppingCategory shoppingCategory, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCategoryUtil

public ShoppingCategoryUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ShoppingCategory shoppingCategory)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(ShoppingCategory)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingCategory> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingCategory> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static ShoppingCategory remove(ShoppingCategory shoppingCategory)
                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ShoppingCategory update(ShoppingCategory shoppingCategory,
                                      boolean merge)
                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(ShoppingCategory shoppingCategory)

cacheResult

public static void cacheResult(java.util.List<ShoppingCategory> shoppingCategories)

create

public static ShoppingCategory create(long categoryId)

remove

public static ShoppingCategory remove(long categoryId)
                               throws SystemException,
                                      NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

updateImpl

public static ShoppingCategory updateImpl(ShoppingCategory shoppingCategory,
                                          boolean merge)
                                   throws SystemException
Throws:
SystemException

findByPrimaryKey

public static ShoppingCategory findByPrimaryKey(long categoryId)
                                         throws SystemException,
                                                NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

fetchByPrimaryKey

public static ShoppingCategory fetchByPrimaryKey(long categoryId)
                                          throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List<ShoppingCategory> findByGroupId(long groupId)
                                                      throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List<ShoppingCategory> findByGroupId(long groupId,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List<ShoppingCategory> findByGroupId(long groupId,
                                                             int start,
                                                             int end,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException
Throws:
SystemException

findByGroupId_First

public static ShoppingCategory findByGroupId_First(long groupId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByGroupId_Last

public static ShoppingCategory findByGroupId_Last(long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByGroupId_PrevAndNext

public static ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId,
                                                           long groupId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

filterFindByGroupId

public static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId)
                                                            throws SystemException
Throws:
SystemException

filterFindByGroupId

public static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId,
                                                                   int start,
                                                                   int end)
                                                            throws SystemException
Throws:
SystemException

filterFindByGroupId

public static java.util.List<ShoppingCategory> filterFindByGroupId(long groupId,
                                                                   int start,
                                                                   int end,
                                                                   OrderByComparator orderByComparator)
                                                            throws SystemException
Throws:
SystemException

findByG_P

public static java.util.List<ShoppingCategory> findByG_P(long groupId,
                                                         long parentCategoryId)
                                                  throws SystemException
Throws:
SystemException

findByG_P

public static java.util.List<ShoppingCategory> findByG_P(long groupId,
                                                         long parentCategoryId,
                                                         int start,
                                                         int end)
                                                  throws SystemException
Throws:
SystemException

findByG_P

public static java.util.List<ShoppingCategory> findByG_P(long groupId,
                                                         long parentCategoryId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Throws:
SystemException

findByG_P_First

public static ShoppingCategory findByG_P_First(long groupId,
                                               long parentCategoryId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByG_P_Last

public static ShoppingCategory findByG_P_Last(long groupId,
                                              long parentCategoryId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByG_P_PrevAndNext

public static ShoppingCategory[] findByG_P_PrevAndNext(long categoryId,
                                                       long groupId,
                                                       long parentCategoryId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

filterFindByG_P

public static java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                               long parentCategoryId)
                                                        throws SystemException
Throws:
SystemException

filterFindByG_P

public static java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                               long parentCategoryId,
                                                               int start,
                                                               int end)
                                                        throws SystemException
Throws:
SystemException

filterFindByG_P

public static java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                               long parentCategoryId,
                                                               int start,
                                                               int end,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException
Throws:
SystemException

findAll

public static java.util.List<ShoppingCategory> findAll()
                                                throws SystemException
Throws:
SystemException

findAll

public static java.util.List<ShoppingCategory> findAll(int start,
                                                       int end)
                                                throws SystemException
Throws:
SystemException

findAll

public static java.util.List<ShoppingCategory> findAll(int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Throws:
SystemException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws SystemException
Throws:
SystemException

removeByG_P

public static void removeByG_P(long groupId,
                               long parentCategoryId)
                        throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Throws:
SystemException

filterCountByGroupId

public static int filterCountByGroupId(long groupId)
                                throws SystemException
Throws:
SystemException

countByG_P

public static int countByG_P(long groupId,
                             long parentCategoryId)
                      throws SystemException
Throws:
SystemException

filterCountByG_P

public static int filterCountByG_P(long groupId,
                                   long parentCategoryId)
                            throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static ShoppingCategoryPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingCategoryPersistence persistence)