com.liferay.portal.service.persistence
Interface ListTypePersistence

All Superinterfaces:
BasePersistence<ListType>

public interface ListTypePersistence
extends BasePersistence<ListType>

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

Method Summary
 void cacheResult(java.util.List<ListType> listTypes)
           
 void cacheResult(ListType listType)
           
 int countAll()
           
 int countByType(java.lang.String type)
           
 ListType create(int listTypeId)
           
 ListType fetchByPrimaryKey(int listTypeId)
           
 java.util.List<ListType> findAll()
           
 java.util.List<ListType> findAll(int start, int end)
           
 java.util.List<ListType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ListType findByPrimaryKey(int listTypeId)
           
 ListType findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ListType findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ListType[] findByType_PrevAndNext(int listTypeId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<ListType> findByType(java.lang.String type)
           
 java.util.List<ListType> findByType(java.lang.String type, int start, int end)
           
 java.util.List<ListType> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ListType remove(int listTypeId)
           
 void removeAll()
           
 void removeByType(java.lang.String type)
           
 ListType update(ListType listType)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 ListType updateImpl(ListType listType, 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
 

Method Detail

cacheResult

void cacheResult(ListType listType)

cacheResult

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

create

ListType create(int listTypeId)

remove

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

update

ListType update(ListType listType)
                throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

ListType fetchByPrimaryKey(int listTypeId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByType

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

findByType

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

findByType

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

findByType_First

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

findByType_Last

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

findByType_PrevAndNext

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

findAll

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

findAll

java.util.List<ListType> findAll(int start,
                                 int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<ListType> findAll(int start,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByType

void removeByType(java.lang.String type)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByType

int countByType(java.lang.String type)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException