com.liferay.portal.service.persistence
Class ListTypeUtil
java.lang.Object
com.liferay.portal.service.persistence.ListTypeUtil
- public class ListTypeUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByType(java.lang.String type)
|
static com.liferay.portal.model.ListType |
create(int listTypeId)
|
static com.liferay.portal.model.ListType |
fetchByPrimaryKey(int listTypeId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.ListType |
findByPrimaryKey(int listTypeId)
|
static com.liferay.portal.model.ListType |
findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.ListType |
findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.ListType[] |
findByType_PrevAndNext(int listTypeId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByType(java.lang.String type)
|
static java.util.List |
findByType(java.lang.String type,
int begin,
int end)
|
static java.util.List |
findByType(java.lang.String type,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static ListTypePersistence |
getPersistence()
|
static com.liferay.portal.model.ListType |
remove(int listTypeId)
|
static com.liferay.portal.model.ListType |
remove(com.liferay.portal.model.ListType listType)
|
static void |
removeAll()
|
static void |
removeByType(java.lang.String type)
|
void |
setPersistence(ListTypePersistence persistence)
|
static com.liferay.portal.model.ListType |
update(com.liferay.portal.model.ListType listType)
|
static com.liferay.portal.model.ListType |
update(com.liferay.portal.model.ListType listType,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListTypeUtil
public ListTypeUtil()
create
public static com.liferay.portal.model.ListType create(int listTypeId)
remove
public static 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 static com.liferay.portal.model.ListType remove(com.liferay.portal.model.ListType listType)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.ListType update(com.liferay.portal.model.ListType listType)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static 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 static 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 static com.liferay.portal.model.ListType fetchByPrimaryKey(int listTypeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType
public static java.util.List findByType(java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType
public static java.util.List findByType(java.lang.String type,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByType
public static 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 static 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 static 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 static 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 static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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 static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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 static void removeByType(java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByType
public static int countByType(java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static ListTypePersistence getPersistence()
setPersistence
public void setPersistence(ListTypePersistence persistence)