Class ListTypeEntryUtil
com.liferay.list.type.service.persistence.impl.ListTypeEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(ListTypeEntry listTypeEntry) Caches the list type entry in the entity cache if it is enabled.static void
cacheResult
(List<ListTypeEntry> listTypeEntries) Caches the list type entries in the entity cache if it is enabled.static void
static void
clearCache
(ListTypeEntry listTypeEntry) static int
countAll()
Returns the number of list type entries.static int
countByC_U
(long companyId, long userId) Returns the number of list type entries where companyId = ? and userId = ?.static int
countByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Returns the number of list type entries where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ?.static int
countByListTypeDefinitionId
(long listTypeDefinitionId) Returns the number of list type entries where listTypeDefinitionId = ?.static int
countByListTypeDefinitionId
(long[] listTypeDefinitionIds) Returns the number of list type entries where listTypeDefinitionId = any ?.static int
countByListTypeEntryId
(long listTypeEntryId) Returns the number of list type entries where listTypeEntryId = ?.static int
countByListTypeEntryId
(long[] listTypeEntryIds) Returns the number of list type entries where listTypeEntryId = any ?.static int
countByLTDI_K
(long listTypeDefinitionId, String key) Returns the number of list type entries where listTypeDefinitionId = ? and key = ?.static int
countByUuid
(String uuid) Returns the number of list type entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of list type entries where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ListTypeEntry
create
(long listTypeEntryId) Creates a new list type entry with the primary key.static 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 = ?.static 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 = ?.static 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.static 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.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ListTypeEntry
fetchByLTDI_K
(long listTypeDefinitionId, String key) Returns the list type entry where listTypeDefinitionId = ? and key = ? or returnsnull
if it could not be found.static ListTypeEntry
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.static ListTypeEntry
fetchByPrimaryKey
(long listTypeEntryId) Returns the list type entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ListTypeEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<ListTypeEntry>
findAll()
Returns all the list type entries.static List<ListTypeEntry>
findAll
(int start, int end) Returns a range of all the list type entries.static 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.static 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.static List<ListTypeEntry>
findByC_U
(long companyId, long userId) Returns all the list type entries where companyId = ? and userId = ?.static List<ListTypeEntry>
findByC_U
(long companyId, long userId, int start, int end) Returns a range of all the list type entries where companyId = ? and userId = ?.static 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 = ?.static 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 = ?.static ListTypeEntry
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 = ?.static ListTypeEntry
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 = ?.static ListTypeEntry[]
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 = ?.static ListTypeEntry
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.static List<ListTypeEntry>
findByListTypeDefinitionId
(long listTypeDefinitionId) Returns all the list type entries where listTypeDefinitionId = ?.static List<ListTypeEntry>
findByListTypeDefinitionId
(long[] listTypeDefinitionIds) Returns all the list type entries where listTypeDefinitionId = any ?.static List<ListTypeEntry>
findByListTypeDefinitionId
(long[] listTypeDefinitionIds, int start, int end) Returns a range of all the list type entries where listTypeDefinitionId = any ?.static 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 ?.static 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.static List<ListTypeEntry>
findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end) Returns a range of all the list type entries where listTypeDefinitionId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<ListTypeEntry>
findByListTypeEntryId
(long listTypeEntryId) Returns all the list type entries where listTypeEntryId = ?.static List<ListTypeEntry>
findByListTypeEntryId
(long[] listTypeEntryIds) Returns all the list type entries where listTypeEntryId = any ?.static List<ListTypeEntry>
findByListTypeEntryId
(long[] listTypeEntryIds, int start, int end) Returns a range of all the list type entries where listTypeEntryId = any ?.static 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 ?.static 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.static List<ListTypeEntry>
findByListTypeEntryId
(long listTypeEntryId, int start, int end) Returns a range of all the list type entries where listTypeEntryId = ?.static 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 = ?.static 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 = ?.static ListTypeEntry
findByListTypeEntryId_First
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where listTypeEntryId = ?.static ListTypeEntry
findByListTypeEntryId_Last
(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where listTypeEntryId = ?.static ListTypeEntry
findByLTDI_K
(long listTypeDefinitionId, String key) Returns the list type entry where listTypeDefinitionId = ? and key = ? or throws aNoSuchListTypeEntryException
if it could not be found.static ListTypeEntry
findByPrimaryKey
(long listTypeEntryId) Returns the list type entry with the primary key or throws aNoSuchListTypeEntryException
if it could not be found.static List<ListTypeEntry>
findByUuid
(String uuid) Returns all the list type entries where uuid = ?.static List<ListTypeEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the list type entries where uuid = ?.static 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 = ?.static 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 = ?.static List<ListTypeEntry>
findByUuid_C
(String uuid, long companyId) Returns all the list type entries where uuid = ? and companyId = ?.static List<ListTypeEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the list type entries where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static ListTypeEntry
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 = ?.static ListTypeEntry
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 = ?.static ListTypeEntry[]
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 = ?.static ListTypeEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the first list type entry in the ordered set where uuid = ?.static ListTypeEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) Returns the last list type entry in the ordered set where uuid = ?.static ListTypeEntry[]
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 = ?.static List<ListTypeEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ListTypeEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ListTypeEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) static ListTypeEntryPersistence
static ListTypeEntry
remove
(long listTypeEntryId) Removes the list type entry with the primary key from the database.static void
Removes all the list type entries from the database.static void
removeByC_U
(long companyId, long userId) Removes all the list type entries where companyId = ? and userId = ? from the database.static ListTypeEntry
removeByERC_C_LTDI
(String externalReferenceCode, long companyId, long listTypeDefinitionId) Removes the list type entry where externalReferenceCode = ? and companyId = ? and listTypeDefinitionId = ? from the database.static void
removeByListTypeDefinitionId
(long listTypeDefinitionId) Removes all the list type entries where listTypeDefinitionId = ? from the database.static void
removeByListTypeEntryId
(long listTypeEntryId) Removes all the list type entries where listTypeEntryId = ? from the database.static ListTypeEntry
removeByLTDI_K
(long listTypeDefinitionId, String key) Removes the list type entry where listTypeDefinitionId = ? and key = ? from the database.static void
removeByUuid
(String uuid) Removes all the list type entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the list type entries where uuid = ? and companyId = ? from the database.static void
setPersistence
(ListTypeEntryPersistence persistence) static ListTypeEntry
update
(ListTypeEntry listTypeEntry) static ListTypeEntry
update
(ListTypeEntry listTypeEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ListTypeEntry
updateImpl
(ListTypeEntry listTypeEntry)
-
Constructor Details
-
ListTypeEntryUtil
public ListTypeEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ListTypeEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ListTypeEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ListTypeEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ListTypeEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ListTypeEntry update(ListTypeEntry listTypeEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchListTypeEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchListTypeEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByListTypeEntryId_First
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByListTypeEntryId_Last
public static 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
public static List<ListTypeEntry> findByListTypeEntryId(long[] listTypeEntryIds, int start, int end) 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
public static 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
public static 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
public static void removeByListTypeEntryId(long listTypeEntryId) Removes all the list type entries where listTypeEntryId = ? from the database.- Parameters:
listTypeEntryId
- the list type entry ID
-
countByListTypeEntryId
public static 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
public static 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
public static List<ListTypeEntry> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByListTypeDefinitionId_First
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByListTypeDefinitionId_Last
public static 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
public static 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 foundNoSuchListTypeEntryException
-
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
public static List<ListTypeEntry> findByListTypeDefinitionId(long[] listTypeDefinitionIds, int start, int end) 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
public static 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
public static 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
public static void removeByListTypeDefinitionId(long listTypeDefinitionId) Removes all the list type entries where listTypeDefinitionId = ? from the database.- Parameters:
listTypeDefinitionId
- the list type definition ID
-
countByListTypeDefinitionId
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByC_U_First
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByC_U_Last
public static 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
public static 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 foundNoSuchListTypeEntryException
-
removeByC_U
public static 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
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
public static ListTypeEntry 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.- 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
public static 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
public static 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 foundNoSuchListTypeEntryException
-
fetchByERC_C_LTDI
public static 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
public static 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
public static 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
public static int countByERC_C_LTDI(String externalReferenceCode, long companyId, long listTypeDefinitionId) 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 foundNoSuchListTypeEntryException
-
updateImpl
-
findByPrimaryKey
public static ListTypeEntry findByPrimaryKey(long listTypeEntryId) throws NoSuchListTypeEntryException 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 foundNoSuchListTypeEntryException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the list type entries from the database. -
countAll
public static int countAll()Returns the number of list type entries.- Returns:
- the number of list type entries
-
getPersistence
-
setPersistence
-