@ProviderType public interface ListTypeDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ListTypeDefinition>
Caching information and settings can be found in portal.properties
ListTypeDefinitionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ListTypeDefinition> listTypeDefinitions)
Caches the list type definitions in the entity cache if it is enabled.
|
void |
cacheResult(ListTypeDefinition listTypeDefinition)
Caches the list type definition in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of list type definitions.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of list type definitions where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of list type definitions where uuid = ?.
|
ListTypeDefinition |
create(long listTypeDefinitionId)
Creates a new list type definition with the primary key.
|
ListTypeDefinition |
fetchByPrimaryKey(long listTypeDefinitionId)
Returns the list type definition with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of list type definitions that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ListTypeDefinition> |
filterFindByUuid(java.lang.String uuid)
Returns all the list type definitions that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ListTypeDefinition> |
findAll()
Returns all the list type definitions.
|
java.util.List<ListTypeDefinition> |
findAll(int start,
int end)
Returns a range of all the list type definitions.
|
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.
|
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.
|
ListTypeDefinition |
findByPrimaryKey(long listTypeDefinitionId)
Returns the list type definition with the primary key or throws a
NoSuchListTypeDefinitionException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ListTypeDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the list type definitions where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid)
Returns all the list type definitions where uuid = ?.
|
java.util.List<ListTypeDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the list type definitions where uuid = ?.
|
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 = ?.
|
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 = ?.
|
ListTypeDefinition |
remove(long listTypeDefinitionId)
Removes the list type definition with the primary key from the database.
|
void |
removeAll()
Removes all the list type definitions from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the list type definitions where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the list type definitions where uuid = ? from the database.
|
ListTypeDefinition |
updateImpl(ListTypeDefinition listTypeDefinition) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ListTypeDefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition[] 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 foundjava.util.List<ListTypeDefinition> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ListTypeDefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition 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 foundListTypeDefinition[] 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 foundjava.util.List<ListTypeDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDvoid cacheResult(ListTypeDefinition listTypeDefinition)
listTypeDefinition
- the list type definitionvoid cacheResult(java.util.List<ListTypeDefinition> listTypeDefinitions)
listTypeDefinitions
- the list type definitionsListTypeDefinition create(long listTypeDefinitionId)
listTypeDefinitionId
- the primary key for the new list type definitionListTypeDefinition 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 foundListTypeDefinition updateImpl(ListTypeDefinition listTypeDefinition)
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 foundListTypeDefinition 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 foundjava.util.List<ListTypeDefinition> findAll()
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)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
)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 cachevoid removeAll()
int countAll()