public class ListTypeDefinitionUtil
extends java.lang.Object
com.liferay.list.type.service.persistence.impl.ListTypeDefinitionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ListTypeDefinitionPersistence
Constructor and Description |
---|
ListTypeDefinitionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ListTypeDefinition> listTypeDefinitions)
Caches the list type definitions in the entity cache if it is enabled.
|
static void |
cacheResult(ListTypeDefinition listTypeDefinition)
Caches the list type definition in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ListTypeDefinition listTypeDefinition) |
static int |
countAll()
Returns the number of list type definitions.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of list type definitions where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of list type definitions where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ListTypeDefinition |
create(long listTypeDefinitionId)
Creates a new list type definition with the primary key.
|
static ListTypeDefinition |
fetchByPrimaryKey(long listTypeDefinitionId)
Returns the list type definition with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ListTypeDefinition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ListTypeDefinition |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the first list type definition in the ordered set where uuid = ? and companyId = ?.
|
static ListTypeDefinition |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the last list type definition in the ordered set where uuid = ? and companyId = ?.
|
static ListTypeDefinition |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the first list type definition in the ordered set where uuid = ?.
|
static ListTypeDefinition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the last list type definition in the ordered set where uuid = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of list type definitions that the user has permission to view where uuid = ?.
|
static ListTypeDefinition[] |
filterFindByUuid_C_PrevAndNext(long listTypeDefinitionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the list type definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns an ordered range of all the list type definitions that the user has permissions to view where uuid = ? and companyId = ?.
|
static ListTypeDefinition[] |
filterFindByUuid_PrevAndNext(long listTypeDefinitionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the list type definitions before and after the current list type definition in the ordered set of list type definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid(java.lang.String uuid)
Returns all the list type definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the list type definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns an ordered range of all the list type definitions that the user has permissions to view where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findAll()
Returns all the list type definitions.
|
static java.util.List<ListTypeDefinition> |
findAll(int start,
int end)
Returns a range of all the list type definitions.
|
static java.util.List<ListTypeDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns an ordered range of all the list type definitions.
|
static java.util.List<ListTypeDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type definitions.
|
static ListTypeDefinition |
findByPrimaryKey(long listTypeDefinitionId)
Returns the list type definition with the primary key or throws a
NoSuchListTypeDefinitionException if it could not be found. |
static ListTypeDefinition |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the first list type definition in the ordered set where uuid = ? and companyId = ?.
|
static ListTypeDefinition |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the last list type definition in the ordered set where uuid = ? and companyId = ?.
|
static ListTypeDefinition[] |
findByUuid_C_PrevAndNext(long listTypeDefinitionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the list type definitions where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the list type definitions where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns an ordered range of all the list type definitions where uuid = ? and companyId = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type definitions where uuid = ? and companyId = ?.
|
static ListTypeDefinition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the first list type definition in the ordered set where uuid = ?.
|
static ListTypeDefinition |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the last list type definition in the ordered set where uuid = ?.
|
static ListTypeDefinition[] |
findByUuid_PrevAndNext(long listTypeDefinitionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns the list type definitions before and after the current list type definition in the ordered set where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid)
Returns all the list type definitions where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the list type definitions where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Returns an ordered range of all the list type definitions where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type definitions where uuid = ?.
|
static java.util.List<ListTypeDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ListTypeDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ListTypeDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) |
static ListTypeDefinitionPersistence |
getPersistence() |
static ListTypeDefinition |
remove(long listTypeDefinitionId)
Removes the list type definition with the primary key from the database.
|
static void |
removeAll()
Removes all the list type definitions from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the list type definitions where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the list type definitions where uuid = ? from the database.
|
static ListTypeDefinition |
update(ListTypeDefinition listTypeDefinition) |
static ListTypeDefinition |
update(ListTypeDefinition listTypeDefinition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ListTypeDefinition |
updateImpl(ListTypeDefinition listTypeDefinition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ListTypeDefinition listTypeDefinition)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ListTypeDefinition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ListTypeDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ListTypeDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ListTypeDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ListTypeDefinition update(ListTypeDefinition listTypeDefinition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ListTypeDefinition update(ListTypeDefinition listTypeDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ListTypeDefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ListTypeDefinition> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)public static java.util.List<ListTypeDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ListTypeDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ListTypeDefinition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a matching list type definition could not be foundpublic static ListTypeDefinition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type definition could not be foundpublic static ListTypeDefinition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a matching list type definition could not be foundpublic static ListTypeDefinition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type definition could not be foundpublic static ListTypeDefinition[] findByUuid_PrevAndNext(long listTypeDefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
listTypeDefinitionId
- the primary key of the current list type definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static java.util.List<ListTypeDefinition> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ListTypeDefinition> filterFindByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)public static java.util.List<ListTypeDefinition> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ListTypeDefinition[] filterFindByUuid_PrevAndNext(long listTypeDefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
listTypeDefinitionId
- the primary key of the current list type definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ListTypeDefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ListTypeDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)public static java.util.List<ListTypeDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ListTypeDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ListTypeDefinition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a matching list type definition could not be foundpublic static ListTypeDefinition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type definition could not be foundpublic static ListTypeDefinition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a matching list type definition could not be foundpublic static ListTypeDefinition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type definition could not be foundpublic static ListTypeDefinition[] findByUuid_C_PrevAndNext(long listTypeDefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
listTypeDefinitionId
- the primary key of the current list type definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static java.util.List<ListTypeDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ListTypeDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)public static java.util.List<ListTypeDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ListTypeDefinition[] filterFindByUuid_C_PrevAndNext(long listTypeDefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator) throws NoSuchListTypeDefinitionException
listTypeDefinitionId
- the primary key of the current list type definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static void cacheResult(ListTypeDefinition listTypeDefinition)
listTypeDefinition
- the list type definitionpublic static void cacheResult(java.util.List<ListTypeDefinition> listTypeDefinitions)
listTypeDefinitions
- the list type definitionspublic static ListTypeDefinition create(long listTypeDefinitionId)
listTypeDefinitionId
- the primary key for the new list type definitionpublic static ListTypeDefinition remove(long listTypeDefinitionId) throws NoSuchListTypeDefinitionException
listTypeDefinitionId
- the primary key of the list type definitionNoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static ListTypeDefinition updateImpl(ListTypeDefinition listTypeDefinition)
public static ListTypeDefinition findByPrimaryKey(long listTypeDefinitionId) throws NoSuchListTypeDefinitionException
NoSuchListTypeDefinitionException
if it could not be found.listTypeDefinitionId
- the primary key of the list type definitionNoSuchListTypeDefinitionException
- if a list type definition with the primary key could not be foundpublic static ListTypeDefinition fetchByPrimaryKey(long listTypeDefinitionId)
null
if it could not be found.listTypeDefinitionId
- the primary key of the list type definitionnull
if a list type definition with the primary key could not be foundpublic static java.util.List<ListTypeDefinition> findAll()
public static java.util.List<ListTypeDefinition> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
start
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)public static java.util.List<ListTypeDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
start
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ListTypeDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeDefinition> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ListTypeDefinitionModelImpl
.
start
- the lower bound of the range of list type definitionsend
- the upper bound of the range of list type definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ListTypeDefinitionPersistence getPersistence()