Interface ListTypeEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ListTypeEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ListTypeEntry listTypeEntry) Caches the list type entry in the entity cache if it is enabled.void
cacheResult
(List<ListTypeEntry> listTypeEntries) Caches the list type entries in the entity cache if it is enabled.int
countAll()
Returns the number of list type entries.int
countByC_U
(long companyId, long userId) Returns the number of list type entries where companyId = ? and userId = ?.int
countByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Returns the number of list type entries where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ?.int
countByListTypeDefinitionId
(long listTypeDefinitionId) Returns the number of list type entries where listTypeDefinitionId = ?.int
countByListTypeDefinitionId
(long[] listTypeDefinitionIds) Returns the number of list type entries where listTypeDefinitionId = any ?.int
countByListTypeEntryId
(long listTypeEntryId) Returns the number of list type entries where listTypeEntryId = ?.int
countByListTypeEntryId
(long[] listTypeEntryIds) Returns the number of list type entries where listTypeEntryId = any ?.int
countByLTDI_K
(long listTypeDefinitionId, String key) Returns the number of list type entries where listTypeDefinitionId = ? and key = ?.int
countByUuid
(String uuid) Returns the number of list type entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of list type entries where uuid = ? and companyId = ?.create
(long listTypeEntryId) Creates a new list type entry with the primary key.fetchByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where companyId = ? and userId = ?.fetchByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where companyId = ? and userId = ?.fetchByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found.fetchByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId, boolean useFinderCache) Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeDefinitionId = ?.fetchByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeDefinitionId = ?.fetchByListTypeEntryId_First
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeEntryId = ?.fetchByListTypeEntryId_Last
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeEntryId = ?.fetchByLTDI_K
(long listTypeDefinitionId, String key) Returns the list type entry where listTypeDefinitionId = ? and key = ? or returnsnull
if it could not be found.fetchByLTDI_K
(long listTypeDefinitionId, String key, boolean useFinderCache) Returns the list type entry where listTypeDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long listTypeEntryId) Returns the list type entry with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where uuid = ?.findAll()
Returns all the list type entries.findAll
(int start, int end) Returns a range of all the list type entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries.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.findByC_U
(long companyId, long userId) Returns all the list type entries where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end) Returns a range of all the list type entries where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, 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 companyId = ? and userId = ?.findByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where companyId = ? and userId = ?.findByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where companyId = ? and userId = ?.findByC_U_PrevAndNext
(long listTypeEntryId, long companyId, long userId, 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 companyId = ? and userId = ?.findByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or throws aNoSuchListTypeEntryException
if it could not be found.findByListTypeDefinitionId
(long listTypeDefinitionId) Returns all the list type entries where listTypeDefinitionId = ?.findByListTypeDefinitionId
(long[] listTypeDefinitionIds) Returns all the list type entries where listTypeDefinitionId = any ?.findByListTypeDefinitionId
(long[] listTypeDefinitionIds, int start, int end) Returns a range of all the list type entries where listTypeDefinitionId = any ?.findByListTypeDefinitionId
(long[] listTypeDefinitionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeDefinitionId = any ?.findByListTypeDefinitionId
(long[] listTypeDefinitionIds, 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 = ?, optionally using the finder cache.findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end) Returns a range of all the list type entries where listTypeDefinitionId = ?.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 = ?.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 = ?.findByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeDefinitionId = ?.findByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeDefinitionId = ?.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 = ?.findByListTypeEntryId
(long listTypeEntryId) Returns all the list type entries where listTypeEntryId = ?.findByListTypeEntryId
(long[] listTypeEntryIds) Returns all the list type entries where listTypeEntryId = any ?.findByListTypeEntryId
(long[] listTypeEntryIds, int start, int end) Returns a range of all the list type entries where listTypeEntryId = any ?.findByListTypeEntryId
(long[] listTypeEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeEntryId = any ?.findByListTypeEntryId
(long[] listTypeEntryIds, 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 listTypeEntryId = ?, optionally using the finder cache.findByListTypeEntryId
(long listTypeEntryId, int start, int end) Returns a range of all the list type entries where listTypeEntryId = ?.findByListTypeEntryId
(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeEntryId = ?.findByListTypeEntryId
(long listTypeEntryId, 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 listTypeEntryId = ?.findByListTypeEntryId_First
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeEntryId = ?.findByListTypeEntryId_Last
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeEntryId = ?.findByLTDI_K
(long listTypeDefinitionId, String key) Returns the list type entry where listTypeDefinitionId = ? and key = ? or throws aNoSuchListTypeEntryException
if it could not be found.findByPrimaryKey
(long listTypeEntryId) Returns the list type entry with the primary key or throws aNoSuchListTypeEntryException
if it could not be found.findByUuid
(String uuid) Returns all the list type entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the list type entries where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the list type entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the list type entries where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long listTypeEntryId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long listTypeEntryId, 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 = ?.remove
(long listTypeEntryId) Removes the list type entry with the primary key from the database.void
Removes all the list type entries from the database.void
removeByC_U
(long companyId, long userId) Removes all the list type entries where companyId = ? and userId = ? from the database.removeByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Removes the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? from the database.void
removeByListTypeDefinitionId
(long listTypeDefinitionId) Removes all the list type entries where listTypeDefinitionId = ? from the database.void
removeByListTypeEntryId
(long listTypeEntryId) Removes all the list type entries where listTypeEntryId = ? from the database.removeByLTDI_K
(long listTypeDefinitionId, String key) Removes the list type entry where listTypeDefinitionId = ? and key = ? from the database.void
removeByUuid
(String uuid) Removes all the list type entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the list type entries where uuid = ? and companyId = ? from the database.updateImpl
(ListTypeEntry listTypeEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the list type entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching list type entries
-
findByUuid
Returns a range of all the list type entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching list type entries
-
findByUuid
List<ListTypeEntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByUuid
List<ListTypeEntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
findByUuid_First
ListTypeEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the first list type entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByUuid_First
ListTypeEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry, or
null
if a matching list type entry could not be found
-
findByUuid_Last
ListTypeEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the last list type entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByUuid_Last
ListTypeEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry, or
null
if a matching list type entry could not be found
-
findByUuid_PrevAndNext
ListTypeEntry[] findByUuid_PrevAndNext(long listTypeEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the list type entries before and after the current list type entry in the ordered set where uuid = ?.- Parameters:
listTypeEntryId
- the primary key of the current list type entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next list type entry
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
removeByUuid
Removes all the list type entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of list type entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching list type entries
-
findByUuid_C
Returns all the list type entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching list type entries
-
findByUuid_C
Returns a range of all the list type entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching list type entries
-
findByUuid_C
List<ListTypeEntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByUuid_C
List<ListTypeEntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
findByUuid_C_First
ListTypeEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the first list type entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByUuid_C_First
ListTypeEntry fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry, or
null
if a matching list type entry could not be found
-
findByUuid_C_Last
ListTypeEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the last list type entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByUuid_C_Last
ListTypeEntry fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry, or
null
if a matching list type entry could not be found
-
findByUuid_C_PrevAndNext
ListTypeEntry[] findByUuid_C_PrevAndNext(long listTypeEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the list type entries before and after the current list type entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
listTypeEntryId
- the primary key of the current list type entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next list type entry
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
removeByUuid_C
Removes all the list type entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of list type entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching list type entries
-
findByListTypeEntryId
Returns all the list type entries where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry ID- Returns:
- the matching list type entries
-
findByListTypeEntryId
Returns a range of all the list type entries where listTypeEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryId
- the list type entry IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)- Returns:
- the range of matching list type entries
-
findByListTypeEntryId
List<ListTypeEntry> findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryId
- the list type entry 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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByListTypeEntryId
List<ListTypeEntry> findByListTypeEntryId(long listTypeEntryId, 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 listTypeEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryId
- the list type entry 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
findByListTypeEntryId_First
ListTypeEntry findByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the first list type entry in the ordered set where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByListTypeEntryId_First
ListTypeEntry fetchByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry, or
null
if a matching list type entry could not be found
-
findByListTypeEntryId_Last
ListTypeEntry findByListTypeEntryId_Last(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the last list type entry in the ordered set where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByListTypeEntryId_Last
ListTypeEntry fetchByListTypeEntryId_Last(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry, or
null
if a matching list type entry could not be found
-
findByListTypeEntryId
Returns all the list type entries where listTypeEntryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryIds
- the list type entry IDs- Returns:
- the matching list type entries
-
findByListTypeEntryId
Returns a range of all the list type entries where listTypeEntryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryIds
- the list type entry IDsstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)- Returns:
- the range of matching list type entries
-
findByListTypeEntryId
List<ListTypeEntry> findByListTypeEntryId(long[] listTypeEntryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeEntryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryIds
- the list type entry IDsstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByListTypeEntryId
List<ListTypeEntry> findByListTypeEntryId(long[] listTypeEntryIds, 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 listTypeEntryId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeEntryIds
- the list type entry IDsstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
removeByListTypeEntryId
void removeByListTypeEntryId(long listTypeEntryId) Removes all the list type entries where listTypeEntryId = ? from the database.- Parameters:
listTypeEntryId
- the list type entry ID
-
countByListTypeEntryId
int countByListTypeEntryId(long listTypeEntryId) Returns the number of list type entries where listTypeEntryId = ?.- Parameters:
listTypeEntryId
- the list type entry ID- Returns:
- the number of matching list type entries
-
countByListTypeEntryId
int countByListTypeEntryId(long[] listTypeEntryIds) Returns the number of list type entries where listTypeEntryId = any ?.- Parameters:
listTypeEntryIds
- the list type entry IDs- Returns:
- the number of matching list type entries
-
findByListTypeDefinitionId
Returns all the list type entries where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition ID- Returns:
- the matching list type entries
-
findByListTypeDefinitionId
Returns a range of all the list type entries where listTypeDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching list type entries
-
findByListTypeDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByListTypeDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
findByListTypeDefinitionId_First
ListTypeEntry findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the first list type entry in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByListTypeDefinitionId_First
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 = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry, or
null
if a matching list type entry could not be found
-
findByListTypeDefinitionId_Last
ListTypeEntry findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the last list type entry in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByListTypeDefinitionId_Last
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 = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry, or
null
if a matching list type entry could not be found
-
findByListTypeDefinitionId_PrevAndNext
ListTypeEntry[] findByListTypeDefinitionId_PrevAndNext(long listTypeEntryId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the list type entries before and after the current list type entry in the ordered set where listTypeDefinitionId = ?.- Parameters:
listTypeEntryId
- the primary key of the current list type entrylistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next list type entry
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
findByListTypeDefinitionId
Returns all the list type entries where listTypeDefinitionId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeDefinitionIds
- the list type definition IDs- Returns:
- the matching list type entries
-
findByListTypeDefinitionId
Returns a range of all the list type entries where listTypeDefinitionId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeDefinitionIds
- the list type definition IDsstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)- Returns:
- the range of matching list type entries
-
findByListTypeDefinitionId
List<ListTypeEntry> findByListTypeDefinitionId(long[] listTypeDefinitionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where listTypeDefinitionId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeDefinitionIds
- the list type definition IDsstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByListTypeDefinitionId
List<ListTypeEntry> findByListTypeDefinitionId(long[] listTypeDefinitionIds, 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 = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
listTypeDefinitionIds
- the list type definition IDsstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
removeByListTypeDefinitionId
void removeByListTypeDefinitionId(long listTypeDefinitionId) Removes all the list type entries where listTypeDefinitionId = ? from the database.- Parameters:
listTypeDefinitionId
- the list type definition ID
-
countByListTypeDefinitionId
int countByListTypeDefinitionId(long listTypeDefinitionId) Returns the number of list type entries where listTypeDefinitionId = ?.- Parameters:
listTypeDefinitionId
- the list type definition ID- Returns:
- the number of matching list type entries
-
countByListTypeDefinitionId
int countByListTypeDefinitionId(long[] listTypeDefinitionIds) Returns the number of list type entries where listTypeDefinitionId = any ?.- Parameters:
listTypeDefinitionIds
- the list type definition IDs- Returns:
- the number of matching list type entries
-
findByC_U
Returns all the list type entries where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching list type entries
-
findByC_U
Returns a range of all the list type entries where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)- Returns:
- the range of matching list type entries
-
findByC_U
List<ListTypeEntry> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns an ordered range of all the list type entries where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user 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 (optionallynull
)- Returns:
- the ordered range of matching list type entries
-
findByC_U
List<ListTypeEntry> findByC_U(long companyId, long userId, 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 companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching list type entries
-
findByC_U_First
ListTypeEntry findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the first list type entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByC_U_First
ListTypeEntry fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching list type entry, or
null
if a matching list type entry could not be found
-
findByC_U_Last
ListTypeEntry findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the last list type entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByC_U_Last
ListTypeEntry fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching list type entry, or
null
if a matching list type entry could not be found
-
findByC_U_PrevAndNext
ListTypeEntry[] findByC_U_PrevAndNext(long listTypeEntryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) throws NoSuchListTypeEntryException Returns the list type entries before and after the current list type entry in the ordered set where companyId = ? and userId = ?.- Parameters:
listTypeEntryId
- the primary key of the current list type entrycompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next list type entry
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the list type entries where companyId = ? and userId = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of list type entries where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching list type entries
-
findByLTDI_K
ListTypeEntry findByLTDI_K(long listTypeDefinitionId, String key) throws NoSuchListTypeEntryException Returns the list type entry where listTypeDefinitionId = ? and key = ? or throws aNoSuchListTypeEntryException
if it could not be found.- Parameters:
listTypeDefinitionId
- the list type definition IDkey
- the key- Returns:
- the matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByLTDI_K
Returns the list type entry where listTypeDefinitionId = ? and key = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
listTypeDefinitionId
- the list type definition IDkey
- the key- Returns:
- the matching list type entry, or
null
if a matching list type entry could not be found
-
fetchByLTDI_K
Returns the list type entry where listTypeDefinitionId = ? and key = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
listTypeDefinitionId
- the list type definition IDkey
- the keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching list type entry, or
null
if a matching list type entry could not be found
-
removeByLTDI_K
ListTypeEntry removeByLTDI_K(long listTypeDefinitionId, String key) throws NoSuchListTypeEntryException Removes the list type entry where listTypeDefinitionId = ? and key = ? from the database.- Parameters:
listTypeDefinitionId
- the list type definition IDkey
- the key- Returns:
- the list type entry that was removed
- Throws:
NoSuchListTypeEntryException
-
countByLTDI_K
Returns the number of list type entries where listTypeDefinitionId = ? and key = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDkey
- the key- Returns:
- the number of matching list type entries
-
findByERC_C_LTDI
ListTypeEntry findByERC_C_LTDI(String externalReferenceCode, long companyId, long listTypeDefinitionId) throws NoSuchListTypeEntryException Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or throws aNoSuchListTypeEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the matching list type entry
- Throws:
NoSuchListTypeEntryException
- if a matching list type entry could not be found
-
fetchByERC_C_LTDI
ListTypeEntry fetchByERC_C_LTDI(String externalReferenceCode, long companyId, long listTypeDefinitionId) Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the matching list type entry, or
null
if a matching list type entry could not be found
-
fetchByERC_C_LTDI
ListTypeEntry fetchByERC_C_LTDI(String externalReferenceCode, long companyId, long listTypeDefinitionId, boolean useFinderCache) Returns the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDlistTypeDefinitionId
- the list type definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching list type entry, or
null
if a matching list type entry could not be found
-
removeByERC_C_LTDI
ListTypeEntry removeByERC_C_LTDI(String externalReferenceCode, long companyId, long listTypeDefinitionId) throws NoSuchListTypeEntryException Removes the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the list type entry that was removed
- Throws:
NoSuchListTypeEntryException
-
countByERC_C_LTDI
Returns the number of list type entries where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDlistTypeDefinitionId
- the list type definition ID- Returns:
- the number of matching list type entries
-
cacheResult
Caches the list type entry in the entity cache if it is enabled.- Parameters:
listTypeEntry
- the list type entry
-
cacheResult
Caches the list type entries in the entity cache if it is enabled.- Parameters:
listTypeEntries
- the list type entries
-
create
Creates a new list type entry with the primary key. Does not add the list type entry to the database.- Parameters:
listTypeEntryId
- the primary key for the new list type entry- Returns:
- the new list type entry
-
remove
Removes the list type entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
listTypeEntryId
- the primary key of the list type entry- Returns:
- the list type entry that was removed
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the list type entry with the primary key or throws aNoSuchListTypeEntryException
if it could not be found.- Parameters:
listTypeEntryId
- the primary key of the list type entry- Returns:
- the list type entry
- Throws:
NoSuchListTypeEntryException
- if a list type entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the list type entry with the primary key or returnsnull
if it could not be found.- Parameters:
listTypeEntryId
- the primary key of the list type entry- Returns:
- the list type entry, or
null
if a list type entry with the primary key could not be found
-
findAll
List<ListTypeEntry> findAll()Returns all the list type entries.- Returns:
- the list type entries
-
findAll
Returns a range of all the list type entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
start
- the lower bound of the range of list type entriesend
- the upper bound of the range of list type entries (not inclusive)- Returns:
- the range of list type entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of list type entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromListTypeEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of list type entries
-
removeAll
void removeAll()Removes all the list type entries from the database. -
countAll
int countAll()Returns the number of list type entries.- Returns:
- the number of list type entries
-