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

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

public class ShoppingItemFieldUtil
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:
ShoppingItemFieldPersistence, ShoppingItemFieldPersistenceImpl
Generated:

Constructor Summary
ShoppingItemFieldUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingItemField> shoppingItemFields)
           
static void cacheResult(ShoppingItemField shoppingItemField)
           
static void clearCache()
           
static int countAll()
           
static int countByItemId(long itemId)
           
static ShoppingItemField create(long itemFieldId)
           
static ShoppingItemField fetchByPrimaryKey(long itemFieldId)
           
static java.util.List<ShoppingItemField> findAll()
           
static java.util.List<ShoppingItemField> findAll(int start, int end)
           
static java.util.List<ShoppingItemField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemField findByItemId_First(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemField findByItemId_Last(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemField[] findByItemId_PrevAndNext(long itemFieldId, long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<ShoppingItemField> findByItemId(long itemId)
           
static java.util.List<ShoppingItemField> findByItemId(long itemId, int start, int end)
           
static java.util.List<ShoppingItemField> findByItemId(long itemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemField findByPrimaryKey(long itemFieldId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static ShoppingItemFieldPersistence getPersistence()
           
static ShoppingItemField remove(long itemFieldId)
           
static ShoppingItemField remove(ShoppingItemField shoppingItemField)
           
static void removeAll()
           
static void removeByItemId(long itemId)
           
 void setPersistence(ShoppingItemFieldPersistence persistence)
           
static ShoppingItemField update(ShoppingItemField shoppingItemField, boolean merge)
           
static ShoppingItemField updateImpl(ShoppingItemField shoppingItemField, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemFieldUtil

public ShoppingItemFieldUtil()
Method Detail

clearCache

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

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static ShoppingItemField remove(ShoppingItemField shoppingItemField)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ShoppingItemField update(ShoppingItemField shoppingItemField,
                                       boolean merge)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(ShoppingItemField shoppingItemField)

cacheResult

public static void cacheResult(java.util.List<ShoppingItemField> shoppingItemFields)

create

public static ShoppingItemField create(long itemFieldId)

remove

public static ShoppingItemField remove(long itemFieldId)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchItemFieldException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemFieldException

updateImpl

public static ShoppingItemField updateImpl(ShoppingItemField shoppingItemField,
                                           boolean merge)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static ShoppingItemField findByPrimaryKey(long itemFieldId)
                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                 NoSuchItemFieldException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemFieldException

fetchByPrimaryKey

public static ShoppingItemField fetchByPrimaryKey(long itemFieldId)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByItemId

public static java.util.List<ShoppingItemField> findByItemId(long itemId)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByItemId

public static java.util.List<ShoppingItemField> findByItemId(long itemId,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByItemId

public static java.util.List<ShoppingItemField> findByItemId(long itemId,
                                                             int start,
                                                             int end,
                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByItemId_First

public static ShoppingItemField findByItemId_First(long itemId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchItemFieldException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemFieldException

findByItemId_Last

public static ShoppingItemField findByItemId_Last(long itemId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                  NoSuchItemFieldException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemFieldException

findByItemId_PrevAndNext

public static ShoppingItemField[] findByItemId_PrevAndNext(long itemFieldId,
                                                           long itemId,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.kernel.exception.SystemException,
                                                           NoSuchItemFieldException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemFieldException

findAll

public static java.util.List<ShoppingItemField> findAll()
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<ShoppingItemField> findAll(int start,
                                                        int end)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<ShoppingItemField> findAll(int start,
                                                        int end,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByItemId

public static void removeByItemId(long itemId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByItemId

public static int countByItemId(long itemId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getPersistence

public static ShoppingItemFieldPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingItemFieldPersistence persistence)