Liferay 6.0.3

com.liferay.portal.service.persistence
Interface ListTypePersistence

All Superinterfaces:
BasePersistence<ListType>
All Known Implementing Classes:
ListTypePersistenceImpl

public interface ListTypePersistence
extends BasePersistence<ListType>

See Also:
ListTypePersistenceImpl, ListTypeUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<ListType> listTypes)
           
 void cacheResult(ListType listType)
           
 int countAll()
           
 int countByType(String type)
           
 ListType create(int listTypeId)
           
 ListType fetchByPrimaryKey(int listTypeId)
           
 List<ListType> findAll()
           
 List<ListType> findAll(int start, int end)
           
 List<ListType> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ListType findByPrimaryKey(int listTypeId)
           
 ListType findByType_First(String type, OrderByComparator orderByComparator)
           
 ListType findByType_Last(String type, OrderByComparator orderByComparator)
           
 ListType[] findByType_PrevAndNext(int listTypeId, String type, OrderByComparator orderByComparator)
           
 List<ListType> findByType(String type)
           
 List<ListType> findByType(String type, int start, int end)
           
 List<ListType> findByType(String type, int start, int end, OrderByComparator orderByComparator)
           
 ListType remove(int listTypeId)
           
 void removeAll()
           
 void removeByType(String type)
           
 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, update
 

Method Detail

cacheResult

void cacheResult(ListType listType)

cacheResult

void cacheResult(List<ListType> listTypes)

create

ListType create(int listTypeId)

remove

ListType remove(int listTypeId)
                throws NoSuchListTypeException,
                       SystemException
Throws:
NoSuchListTypeException
SystemException

updateImpl

ListType updateImpl(ListType listType,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

ListType findByPrimaryKey(int listTypeId)
                          throws NoSuchListTypeException,
                                 SystemException
Throws:
NoSuchListTypeException
SystemException

fetchByPrimaryKey

ListType fetchByPrimaryKey(int listTypeId)
                           throws SystemException
Throws:
SystemException

findByType

List<ListType> findByType(String type)
                          throws SystemException
Throws:
SystemException

findByType

List<ListType> findByType(String type,
                          int start,
                          int end)
                          throws SystemException
Throws:
SystemException

findByType

List<ListType> findByType(String type,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

findByType_First

ListType findByType_First(String type,
                          OrderByComparator orderByComparator)
                          throws NoSuchListTypeException,
                                 SystemException
Throws:
NoSuchListTypeException
SystemException

findByType_Last

ListType findByType_Last(String type,
                         OrderByComparator orderByComparator)
                         throws NoSuchListTypeException,
                                SystemException
Throws:
NoSuchListTypeException
SystemException

findByType_PrevAndNext

ListType[] findByType_PrevAndNext(int listTypeId,
                                  String type,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchListTypeException,
                                         SystemException
Throws:
NoSuchListTypeException
SystemException

findAll

List<ListType> findAll()
                       throws SystemException
Throws:
SystemException

findAll

List<ListType> findAll(int start,
                       int end)
                       throws SystemException
Throws:
SystemException

findAll

List<ListType> findAll(int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Throws:
SystemException

removeByType

void removeByType(String type)
                  throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByType

int countByType(String type)
                throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3