com.liferay.portal.service.persistence
Class ListTypeUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ListTypeUtil

public class ListTypeUtil
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:
ListTypePersistence, ListTypePersistenceImpl
Generated:

Constructor Summary
ListTypeUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ListType> listTypes)
           
static void cacheResult(ListType listType)
           
static void clearCache()
           
static int countAll()
           
static int countByType(java.lang.String type)
           
static ListType create(int listTypeId)
           
static ListType fetchByPrimaryKey(int listTypeId)
           
static java.util.List<ListType> findAll()
           
static java.util.List<ListType> findAll(int start, int end)
           
static java.util.List<ListType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ListType findByPrimaryKey(int listTypeId)
           
static ListType findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ListType findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ListType[] findByType_PrevAndNext(int listTypeId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<ListType> findByType(java.lang.String type)
           
static java.util.List<ListType> findByType(java.lang.String type, int start, int end)
           
static java.util.List<ListType> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
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 ListTypePersistence getPersistence()
           
static ListType remove(int listTypeId)
           
static ListType remove(ListType listType)
           
static void removeAll()
           
static void removeByType(java.lang.String type)
           
 void setPersistence(ListTypePersistence persistence)
           
static ListType update(ListType listType, boolean merge)
           
static ListType updateImpl(ListType listType, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListTypeUtil

public ListTypeUtil()
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 ListType remove(ListType listType)
                       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 ListType update(ListType listType,
                              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(ListType listType)

cacheResult

public static void cacheResult(java.util.List<ListType> listTypes)

create

public static ListType create(int listTypeId)

remove

public static ListType remove(int listTypeId)
                       throws NoSuchListTypeException,
                              com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchListTypeException
com.liferay.portal.kernel.exception.SystemException

updateImpl

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

findByPrimaryKey

public static ListType findByPrimaryKey(int listTypeId)
                                 throws NoSuchListTypeException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchListTypeException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

public static ListType fetchByPrimaryKey(int listTypeId)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType

public static java.util.List<ListType> findByType(java.lang.String type)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType

public static java.util.List<ListType> findByType(java.lang.String type,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByType

public static java.util.List<ListType> findByType(java.lang.String type,
                                                  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

findByType_First

public static ListType findByType_First(java.lang.String type,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws NoSuchListTypeException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchListTypeException
com.liferay.portal.kernel.exception.SystemException

findByType_Last

public static ListType findByType_Last(java.lang.String type,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchListTypeException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchListTypeException
com.liferay.portal.kernel.exception.SystemException

findByType_PrevAndNext

public static ListType[] findByType_PrevAndNext(int listTypeId,
                                                java.lang.String type,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws NoSuchListTypeException,
                                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchListTypeException
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

public static java.util.List<ListType> 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<ListType> 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

removeByType

public static void removeByType(java.lang.String type)
                         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

countByType

public static int countByType(java.lang.String type)
                       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 ListTypePersistence getPersistence()

setPersistence

public void setPersistence(ListTypePersistence persistence)