Class LaunchEntryUtil
com.liferay.launch.service.persistence.impl.LaunchEntryPersistenceImpl 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 voidcacheResult(LaunchEntry launchEntry) Caches the launch entry in the entity cache if it is enabled.static voidcacheResult(List<LaunchEntry> launchEntries) Caches the launch entries in the entity cache if it is enabled.static voidstatic voidclearCache(LaunchEntry launchEntry) static intcountAll()Returns the number of launch entries.static intcountByC_C_C(long classNameId, long classPK, String classVersion) Returns the number of launch entries where classNameId = ? and classPK = ? and classVersion = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of launch entries where externalReferenceCode = ? and companyId = ?.static intcountByLaunchSetId(long launchSetId) Returns the number of launch entries where launchSetId = ?.static intcountByUuid(String uuid) Returns the number of launch entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of launch entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static LaunchEntrycreate(long launchEntryId) Creates a new launch entry with the primary key.static LaunchEntryfetchByC_C_C(long classNameId, long classPK, String classVersion) Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or returnsnullif it could not be found.static LaunchEntryfetchByC_C_C(long classNameId, long classPK, String classVersion, boolean useFinderCache) Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or returnsnullif it could not be found, optionally using the finder cache.static LaunchEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the launch entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static LaunchEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the launch entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static LaunchEntryfetchByLaunchSetId_First(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where launchSetId = ?.static LaunchEntryfetchByLaunchSetId_Last(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where launchSetId = ?.static LaunchEntryfetchByPrimaryKey(long launchEntryId) Returns the launch entry with the primary key or returnsnullif it could not be found.static Map<Serializable, LaunchEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static LaunchEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where uuid = ? and companyId = ?.static LaunchEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where uuid = ? and companyId = ?.static LaunchEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where uuid = ?.static LaunchEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where uuid = ?.static List<LaunchEntry> findAll()Returns all the launch entries.static List<LaunchEntry> findAll(int start, int end) Returns a range of all the launch entries.static List<LaunchEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries.static List<LaunchEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries.static LaunchEntryfindByC_C_C(long classNameId, long classPK, String classVersion) Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or throws aNoSuchLaunchEntryExceptionif it could not be found.static LaunchEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the launch entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchLaunchEntryExceptionif it could not be found.static List<LaunchEntry> findByLaunchSetId(long launchSetId) Returns all the launch entries where launchSetId = ?.static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end) Returns a range of all the launch entries where launchSetId = ?.static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where launchSetId = ?.static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where launchSetId = ?.static LaunchEntryfindByLaunchSetId_First(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where launchSetId = ?.static LaunchEntryfindByLaunchSetId_Last(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where launchSetId = ?.static LaunchEntry[]findByLaunchSetId_PrevAndNext(long launchEntryId, long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the launch entries before and after the current launch entry in the ordered set where launchSetId = ?.static LaunchEntryfindByPrimaryKey(long launchEntryId) Returns the launch entry with the primary key or throws aNoSuchLaunchEntryExceptionif it could not be found.static List<LaunchEntry> findByUuid(String uuid) Returns all the launch entries where uuid = ?.static List<LaunchEntry> findByUuid(String uuid, int start, int end) Returns a range of all the launch entries where uuid = ?.static List<LaunchEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where uuid = ?.static List<LaunchEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where uuid = ?.static List<LaunchEntry> findByUuid_C(String uuid, long companyId) Returns all the launch entries where uuid = ? and companyId = ?.static List<LaunchEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the launch entries where uuid = ? and companyId = ?.static List<LaunchEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where uuid = ? and companyId = ?.static List<LaunchEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where uuid = ? and companyId = ?.static LaunchEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where uuid = ? and companyId = ?.static LaunchEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where uuid = ? and companyId = ?.static LaunchEntry[]findByUuid_C_PrevAndNext(long launchEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the launch entries before and after the current launch entry in the ordered set where uuid = ? and companyId = ?.static LaunchEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where uuid = ?.static LaunchEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where uuid = ?.static LaunchEntry[]findByUuid_PrevAndNext(long launchEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the launch entries before and after the current launch entry in the ordered set where uuid = ?.static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) static LaunchEntryPersistencestatic LaunchEntryremove(long launchEntryId) Removes the launch entry with the primary key from the database.static voidRemoves all the launch entries from the database.static LaunchEntryremoveByC_C_C(long classNameId, long classPK, String classVersion) Removes the launch entry where classNameId = ? and classPK = ? and classVersion = ? from the database.static LaunchEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the launch entry where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByLaunchSetId(long launchSetId) Removes all the launch entries where launchSetId = ? from the database.static voidremoveByUuid(String uuid) Removes all the launch entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the launch entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(LaunchEntryPersistence persistence) static LaunchEntryupdate(LaunchEntry launchEntry) static LaunchEntryupdate(LaunchEntry launchEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static LaunchEntryupdateImpl(LaunchEntry launchEntry)
-
Constructor Details
-
LaunchEntryUtil
public LaunchEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static LaunchEntry update(LaunchEntry launchEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the launch entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching launch entries
-
findByUuid
Returns a range of all the launch entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)- Returns:
- the range of matching launch entries
-
findByUuid
public static List<LaunchEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching launch entries
-
findByUuid
public static List<LaunchEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch 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 launch entries
-
findByUuid_First
public static LaunchEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the first launch entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching launch entry
-
fetchByUuid_First
public static LaunchEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching launch entry, or
nullif a matching launch entry could not be found
-
findByUuid_Last
public static LaunchEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the last launch entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching launch entry
-
fetchByUuid_Last
public static LaunchEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching launch entry, or
nullif a matching launch entry could not be found
-
findByUuid_PrevAndNext
public static LaunchEntry[] findByUuid_PrevAndNext(long launchEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the launch entries before and after the current launch entry in the ordered set where uuid = ?.- Parameters:
launchEntryId- the primary key of the current launch entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next launch entry
-
removeByUuid
Removes all the launch entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of launch entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching launch entries
-
findByUuid_C
Returns all the launch entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching launch entries
-
findByUuid_C
Returns a range of all the launch entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)- Returns:
- the range of matching launch entries
-
findByUuid_C
public static List<LaunchEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching launch entries
-
findByUuid_C
public static List<LaunchEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch 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 launch entries
-
findByUuid_C_First
public static LaunchEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the first launch 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 launch entry
-
fetchByUuid_C_First
public static LaunchEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch 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 launch entry, or
nullif a matching launch entry could not be found
-
findByUuid_C_Last
public static LaunchEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the last launch 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 launch entry
-
fetchByUuid_C_Last
public static LaunchEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch 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 launch entry, or
nullif a matching launch entry could not be found
-
findByUuid_C_PrevAndNext
public static LaunchEntry[] findByUuid_C_PrevAndNext(long launchEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the launch entries before and after the current launch entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
launchEntryId- the primary key of the current launch entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next launch entry
-
removeByUuid_C
Removes all the launch entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of launch entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching launch entries
-
findByLaunchSetId
Returns all the launch entries where launchSetId = ?.- Parameters:
launchSetId- the launch set ID- Returns:
- the matching launch entries
-
findByLaunchSetId
Returns a range of all the launch entries where launchSetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
launchSetId- the launch set IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)- Returns:
- the range of matching launch entries
-
findByLaunchSetId
public static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries where launchSetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
launchSetId- the launch set IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching launch entries
-
findByLaunchSetId
public static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries where launchSetId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
launchSetId- the launch set IDstart- the lower bound of the range of launch entriesend- the upper bound of the range of launch 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 launch entries
-
findByLaunchSetId_First
public static LaunchEntry findByLaunchSetId_First(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the first launch entry in the ordered set where launchSetId = ?.- Parameters:
launchSetId- the launch set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching launch entry
-
fetchByLaunchSetId_First
public static LaunchEntry fetchByLaunchSetId_First(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the first launch entry in the ordered set where launchSetId = ?.- Parameters:
launchSetId- the launch set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching launch entry, or
nullif a matching launch entry could not be found
-
findByLaunchSetId_Last
public static LaunchEntry findByLaunchSetId_Last(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the last launch entry in the ordered set where launchSetId = ?.- Parameters:
launchSetId- the launch set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching launch entry
-
fetchByLaunchSetId_Last
public static LaunchEntry fetchByLaunchSetId_Last(long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns the last launch entry in the ordered set where launchSetId = ?.- Parameters:
launchSetId- the launch set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching launch entry, or
nullif a matching launch entry could not be found
-
findByLaunchSetId_PrevAndNext
public static LaunchEntry[] findByLaunchSetId_PrevAndNext(long launchEntryId, long launchSetId, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) throws NoSuchLaunchEntryException Returns the launch entries before and after the current launch entry in the ordered set where launchSetId = ?.- Parameters:
launchEntryId- the primary key of the current launch entrylaunchSetId- the launch set IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next launch entry
-
removeByLaunchSetId
public static void removeByLaunchSetId(long launchSetId) Removes all the launch entries where launchSetId = ? from the database.- Parameters:
launchSetId- the launch set ID
-
countByLaunchSetId
public static int countByLaunchSetId(long launchSetId) Returns the number of launch entries where launchSetId = ?.- Parameters:
launchSetId- the launch set ID- Returns:
- the number of matching launch entries
-
findByC_C_C
public static LaunchEntry findByC_C_C(long classNameId, long classPK, String classVersion) throws NoSuchLaunchEntryException Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or throws aNoSuchLaunchEntryExceptionif it could not be found.- Parameters:
classNameId- the class name IDclassPK- the class pkclassVersion- the class version- Returns:
- the matching launch entry
-
fetchByC_C_C
Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkclassVersion- the class version- Returns:
- the matching launch entry, or
nullif a matching launch entry could not be found
-
fetchByC_C_C
public static LaunchEntry fetchByC_C_C(long classNameId, long classPK, String classVersion, boolean useFinderCache) Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkclassVersion- the class versionuseFinderCache- whether to use the finder cache- Returns:
- the matching launch entry, or
nullif a matching launch entry could not be found
-
removeByC_C_C
public static LaunchEntry removeByC_C_C(long classNameId, long classPK, String classVersion) throws NoSuchLaunchEntryException Removes the launch entry where classNameId = ? and classPK = ? and classVersion = ? from the database.- Parameters:
classNameId- the class name IDclassPK- the class pkclassVersion- the class version- Returns:
- the launch entry that was removed
- Throws:
NoSuchLaunchEntryException
-
countByC_C_C
Returns the number of launch entries where classNameId = ? and classPK = ? and classVersion = ?.- Parameters:
classNameId- the class name IDclassPK- the class pkclassVersion- the class version- Returns:
- the number of matching launch entries
-
findByERC_C
public static LaunchEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchLaunchEntryException Returns the launch entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchLaunchEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching launch entry
-
fetchByERC_C
Returns the launch entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching launch entry, or
nullif a matching launch entry could not be found
-
fetchByERC_C
public static LaunchEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the launch entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching launch entry, or
nullif a matching launch entry could not be found
-
removeByERC_C
public static LaunchEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchLaunchEntryException Removes the launch entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the launch entry that was removed
- Throws:
NoSuchLaunchEntryException
-
countByERC_C
Returns the number of launch entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching launch entries
-
cacheResult
Caches the launch entry in the entity cache if it is enabled.- Parameters:
launchEntry- the launch entry
-
cacheResult
Caches the launch entries in the entity cache if it is enabled.- Parameters:
launchEntries- the launch entries
-
create
Creates a new launch entry with the primary key. Does not add the launch entry to the database.- Parameters:
launchEntryId- the primary key for the new launch entry- Returns:
- the new launch entry
-
remove
Removes the launch entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
launchEntryId- the primary key of the launch entry- Returns:
- the launch entry that was removed
-
updateImpl
-
findByPrimaryKey
Returns the launch entry with the primary key or throws aNoSuchLaunchEntryExceptionif it could not be found.- Parameters:
launchEntryId- the primary key of the launch entry- Returns:
- the launch entry
-
fetchByPrimaryKey
Returns the launch entry with the primary key or returnsnullif it could not be found.- Parameters:
launchEntryId- the primary key of the launch entry- Returns:
- the launch entry, or
nullif a launch entry with the primary key could not be found
-
findAll
Returns all the launch entries.- Returns:
- the launch entries
-
findAll
Returns a range of all the launch entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
start- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)- Returns:
- the range of launch entries
-
findAll
public static List<LaunchEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator) Returns an ordered range of all the launch entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
start- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of launch entries
-
findAll
public static List<LaunchEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LaunchEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the launch entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromLaunchEntryModelImpl.- Parameters:
start- the lower bound of the range of launch entriesend- the upper bound of the range of launch entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of launch entries
-
removeAll
public static void removeAll()Removes all the launch entries from the database. -
countAll
public static int countAll()Returns the number of launch entries.- Returns:
- the number of launch entries
-
getPersistence
-
setPersistence
-