com.liferay.portal.service.persistence
Interface ListTypePersistence


public interface ListTypePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByType(java.lang.String type)
           
 ListType create(int listTypeId)
           
 ListType fetchByPrimaryKey(int listTypeId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ListType findByPrimaryKey(int listTypeId)
           
 ListType findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ListType findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ListType[] findByType_PrevAndNext(int listTypeId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByType(java.lang.String type)
           
 java.util.List findByType(java.lang.String type, int begin, int end)
           
 java.util.List findByType(java.lang.String type, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 ListType remove(int listTypeId)
           
 ListType remove(ListType listType)
           
 void removeAll()
           
 void removeByType(java.lang.String type)
           
 ListType update(ListType listType)
           
 ListType update(ListType listType, boolean merge)
           
 ListType updateImpl(ListType listType, boolean merge)
           
 

Method Detail

create

public ListType create(int listTypeId)

remove

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

remove

public ListType remove(ListType listType)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public ListType update(ListType listType)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByType

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

findByType

public java.util.List findByType(java.lang.String type,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByType

public java.util.List findByType(java.lang.String type,
                                 int begin,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByType_First

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

findByType_Last

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

findByType_PrevAndNext

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByType

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

removeAll

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

countByType

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

countAll

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