com.liferay.portal.service.persistence
Interface ListTypePersistence

All Known Implementing Classes:
ListTypePersistenceImpl

public interface ListTypePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByType(java.lang.String type)
           
 com.liferay.portal.model.ListType create(int listTypeId)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.ListType findByPrimaryKey(int listTypeId)
           
 com.liferay.portal.model.ListType findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.ListType findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.ListType remove(int listTypeId)
           
 com.liferay.portal.model.ListType remove(com.liferay.portal.model.ListType listType)
           
 void removeAll()
           
 void removeByType(java.lang.String type)
           
 com.liferay.portal.model.ListType update(com.liferay.portal.model.ListType listType)
           
 com.liferay.portal.model.ListType update(com.liferay.portal.model.ListType listType, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.ListType create(int listTypeId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portal.model.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 com.liferay.portal.model.ListType findByType_First(java.lang.String type,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          com.liferay.portal.NoSuchListTypeException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchListTypeException

findByType_Last

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

findByType_PrevAndNext

public com.liferay.portal.model.ListType[] findByType_PrevAndNext(int listTypeId,
                                                                  java.lang.String type,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portal.NoSuchListTypeException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.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