@ProviderType public interface ListTypeEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ListTypeEntry>
Caching information and settings can be found in portal.properties
ListTypeEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ListTypeEntry> listTypeEntries)
Caches the list type entries in the entity cache if it is enabled.
|
void |
cacheResult(ListTypeEntry listTypeEntry)
Caches the list type entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of list type entries.
|
int |
countByListTypeDefinitionId(long listTypeDefinitionId)
Returns the number of list type entries where listTypeDefinitionId = ?.
|
int |
countByLTDI_K(long listTypeDefinitionId,
java.lang.String key)
Returns the number of list type entries where listTypeDefinitionId = ? and key = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of list type entries where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of list type entries where uuid = ?.
|
ListTypeEntry |
create(long listTypeEntryId)
Creates a new list type entry with the primary key.
|
ListTypeEntry |
fetchByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where listTypeDefinitionId = ?.
|
ListTypeEntry |
fetchByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where listTypeDefinitionId = ?.
|
ListTypeEntry |
fetchByLTDI_K(long listTypeDefinitionId,
java.lang.String key)
Returns the list type entry where listTypeDefinitionId = ? and key = ? or returns
null if it could not be found. |
ListTypeEntry |
fetchByLTDI_K(long listTypeDefinitionId,
java.lang.String key,
boolean useFinderCache)
Returns the list type entry where listTypeDefinitionId = ? and key = ? or returns
null if it could not be found, optionally using the finder cache. |
ListTypeEntry |
fetchByPrimaryKey(long listTypeEntryId)
Returns the list type entry with the primary key or returns
null if it could not be found. |
ListTypeEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where uuid = ? and companyId = ?.
|
ListTypeEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where uuid = ? and companyId = ?.
|
ListTypeEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where uuid = ?.
|
ListTypeEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where uuid = ?.
|
java.util.List<ListTypeEntry> |
findAll()
Returns all the list type entries.
|
java.util.List<ListTypeEntry> |
findAll(int start,
int end)
Returns a range of all the list type entries.
|
java.util.List<ListTypeEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns an ordered range of all the list type entries.
|
java.util.List<ListTypeEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type entries.
|
ListTypeEntry |
findByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where listTypeDefinitionId = ?.
|
ListTypeEntry |
findByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where listTypeDefinitionId = ?.
|
ListTypeEntry[] |
findByListTypeDefinitionId_PrevAndNext(long listTypeEntryId,
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the list type entries before and after the current list type entry in the ordered set where listTypeDefinitionId = ?.
|
java.util.List<ListTypeEntry> |
findByListTypeDefinitionId(long listTypeDefinitionId)
Returns all the list type entries where listTypeDefinitionId = ?.
|
java.util.List<ListTypeEntry> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end)
Returns a range of all the list type entries where listTypeDefinitionId = ?.
|
java.util.List<ListTypeEntry> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns an ordered range of all the list type entries where listTypeDefinitionId = ?.
|
java.util.List<ListTypeEntry> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type entries where listTypeDefinitionId = ?.
|
ListTypeEntry |
findByLTDI_K(long listTypeDefinitionId,
java.lang.String key)
Returns the list type entry where listTypeDefinitionId = ? and key = ? or throws a
NoSuchListTypeEntryException if it could not be found. |
ListTypeEntry |
findByPrimaryKey(long listTypeEntryId)
Returns the list type entry with the primary key or throws a
NoSuchListTypeEntryException if it could not be found. |
ListTypeEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where uuid = ? and companyId = ?.
|
ListTypeEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where uuid = ? and companyId = ?.
|
ListTypeEntry[] |
findByUuid_C_PrevAndNext(long listTypeEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the list type entries before and after the current list type entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<ListTypeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the list type entries where uuid = ? and companyId = ?.
|
java.util.List<ListTypeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the list type entries where uuid = ? and companyId = ?.
|
java.util.List<ListTypeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns an ordered range of all the list type entries where uuid = ? and companyId = ?.
|
java.util.List<ListTypeEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type entries where uuid = ? and companyId = ?.
|
ListTypeEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the first list type entry in the ordered set where uuid = ?.
|
ListTypeEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the last list type entry in the ordered set where uuid = ?.
|
ListTypeEntry[] |
findByUuid_PrevAndNext(long listTypeEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns the list type entries before and after the current list type entry in the ordered set where uuid = ?.
|
java.util.List<ListTypeEntry> |
findByUuid(java.lang.String uuid)
Returns all the list type entries where uuid = ?.
|
java.util.List<ListTypeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the list type entries where uuid = ?.
|
java.util.List<ListTypeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
Returns an ordered range of all the list type entries where uuid = ?.
|
java.util.List<ListTypeEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the list type entries where uuid = ?.
|
ListTypeEntry |
remove(long listTypeEntryId)
Removes the list type entry with the primary key from the database.
|
void |
removeAll()
Removes all the list type entries from the database.
|
void |
removeByListTypeDefinitionId(long listTypeDefinitionId)
Removes all the list type entries where listTypeDefinitionId = ? from the database.
|
ListTypeEntry |
removeByLTDI_K(long listTypeDefinitionId,
java.lang.String key)
Removes the list type entry where listTypeDefinitionId = ? and key = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the list type entries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the list type entries where uuid = ? from the database.
|
ListTypeEntry |
updateImpl(ListTypeEntry listTypeEntry) |
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<ListTypeEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)java.util.List<ListTypeEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ListTypeEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheListTypeEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry[] findByUuid_PrevAndNext(long listTypeEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
listTypeEntryId
- the primary key of the current list type entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a list type entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ListTypeEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)java.util.List<ListTypeEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ListTypeEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheListTypeEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry[] findByUuid_C_PrevAndNext(long listTypeEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
listTypeEntryId
- the primary key of the current list type entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a list type entry 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 IDjava.util.List<ListTypeEntry> findByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDjava.util.List<ListTypeEntry> findByListTypeDefinitionId(long listTypeDefinitionId, 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 ListTypeEntryModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)java.util.List<ListTypeEntry> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ListTypeEntry> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheListTypeEntry findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching list type entry could not be foundListTypeEntry[] findByListTypeDefinitionId_PrevAndNext(long listTypeEntryId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException
listTypeEntryId
- the primary key of the current list type entrylistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchListTypeEntryException
- if a list type entry with the primary key could not be foundvoid removeByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDint countByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDListTypeEntry findByLTDI_K(long listTypeDefinitionId, java.lang.String key) throws NoSuchListTypeEntryException
NoSuchListTypeEntryException
if it could not be found.listTypeDefinitionId
- the list type definition IDkey
- the keyNoSuchListTypeEntryException
- if a matching list type entry could not be foundListTypeEntry fetchByLTDI_K(long listTypeDefinitionId, java.lang.String key)
null
if it could not be found. Uses the finder cache.listTypeDefinitionId
- the list type definition IDkey
- the keynull
if a matching list type entry could not be foundListTypeEntry fetchByLTDI_K(long listTypeDefinitionId, java.lang.String key, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.listTypeDefinitionId
- the list type definition IDkey
- the keyuseFinderCache
- whether to use the finder cachenull
if a matching list type entry could not be foundListTypeEntry removeByLTDI_K(long listTypeDefinitionId, java.lang.String key) throws NoSuchListTypeEntryException
listTypeDefinitionId
- the list type definition IDkey
- the keyNoSuchListTypeEntryException
int countByLTDI_K(long listTypeDefinitionId, java.lang.String key)
listTypeDefinitionId
- the list type definition IDkey
- the keyvoid cacheResult(ListTypeEntry listTypeEntry)
listTypeEntry
- the list type entryvoid cacheResult(java.util.List<ListTypeEntry> listTypeEntries)
listTypeEntries
- the list type entriesListTypeEntry create(long listTypeEntryId)
listTypeEntryId
- the primary key for the new list type entryListTypeEntry remove(long listTypeEntryId) throws NoSuchListTypeEntryException
listTypeEntryId
- the primary key of the list type entryNoSuchListTypeEntryException
- if a list type entry with the primary key could not be foundListTypeEntry updateImpl(ListTypeEntry listTypeEntry)
ListTypeEntry findByPrimaryKey(long listTypeEntryId) throws NoSuchListTypeEntryException
NoSuchListTypeEntryException
if it could not be found.listTypeEntryId
- the primary key of the list type entryNoSuchListTypeEntryException
- if a list type entry with the primary key could not be foundListTypeEntry fetchByPrimaryKey(long listTypeEntryId)
null
if it could not be found.listTypeEntryId
- the primary key of the list type entrynull
if a list type entry with the primary key could not be foundjava.util.List<ListTypeEntry> findAll()
java.util.List<ListTypeEntry> 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 ListTypeEntryModelImpl
.
start
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)java.util.List<ListTypeEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
start
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<ListTypeEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> 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 ListTypeEntryModelImpl
.
start
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()