Class LaunchEntryUtil

java.lang.Object
com.liferay.launch.service.persistence.LaunchEntryUtil

public class LaunchEntryUtil extends Object
The persistence utility for the launch entry service. This utility wraps 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 Details

    • LaunchEntryUtil

      public LaunchEntryUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<LaunchEntry> launchEntries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(LaunchEntry launchEntry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(LaunchEntry launchEntry)
      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

      public static Map<Serializable,LaunchEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<LaunchEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • 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:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static LaunchEntry update(LaunchEntry launchEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static LaunchEntry update(LaunchEntry launchEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching launch entry, or null if a matching launch entry could not be found
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the launch entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of launch entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching launch entry, or null if a matching launch entry could not be found
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the launch entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of launch entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      launchSetId - the launch set ID
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching launch entry, or null if a matching launch entry could not be found
    • 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 a NoSuchLaunchEntryException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      classVersion - the class version
      Returns:
      the matching launch entry
    • 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      classVersion - the class version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching launch entry, or null if 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 ID
      classPK - the class pk
      classVersion - the class version
      Returns:
      the launch entry that was removed
      Throws:
      NoSuchLaunchEntryException
    • countByC_C_C

      public static int countByC_C_C(long classNameId, long classPK, String classVersion)
      Returns the number of launch entries where classNameId = ? and classPK = ? and classVersion = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      classVersion - 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 a NoSuchLaunchEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching launch entry
    • fetchByERC_C

      public static LaunchEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the launch entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching launch entry, or null if 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 code
      companyId - the company ID
      Returns:
      the launch entry that was removed
      Throws:
      NoSuchLaunchEntryException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of launch entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching launch entries
    • create

      public static LaunchEntry create(long launchEntryId)
      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

      public static LaunchEntry remove(long launchEntryId) throws NoSuchLaunchEntryException
      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

      public static LaunchEntry updateImpl(LaunchEntry launchEntry)
    • findByPrimaryKey

      public static LaunchEntry findByPrimaryKey(long launchEntryId) throws NoSuchLaunchEntryException
      Returns the launch entry with the primary key or throws a NoSuchLaunchEntryException if it could not be found.
      Parameters:
      launchEntryId - the primary key of the launch entry
      Returns:
      the launch entry
    • fetchByPrimaryKey

      public static LaunchEntry fetchByPrimaryKey(long launchEntryId)
      Returns the launch entry with the primary key or returns null if it could not be found.
      Parameters:
      launchEntryId - the primary key of the launch entry
      Returns:
      the launch entry, or null if a launch entry with the primary key could not be found
    • fetchByC_C_C

      public static LaunchEntry fetchByC_C_C(long classNameId, long classPK, String classVersion)
      Returns the launch entry where classNameId = ? and classPK = ? and classVersion = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      classVersion - the class version
      Returns:
      the matching launch entry, or null if a matching launch entry could not be found
    • fetchByERC_C

      public static LaunchEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the launch entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching launch entry, or null if a matching launch entry could not be found
    • findByUuid

      public static List<LaunchEntry> findByUuid(String uuid)
      Returns all the launch entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching launch entries
    • findByUuid

      public static List<LaunchEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the launch entries where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of launch entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching launch entries
    • findByUuid_C

      public static List<LaunchEntry> findByUuid_C(String uuid, long companyId)
      Returns all the launch entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching launch entries
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of launch entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching launch entries
    • findByLaunchSetId

      public static List<LaunchEntry> findByLaunchSetId(long launchSetId)
      Returns all the launch entries where launchSetId = ?.
      Parameters:
      launchSetId - the launch set ID
      Returns:
      the matching launch entries
    • findByLaunchSetId

      public static List<LaunchEntry> findByLaunchSetId(long launchSetId, int start, int end)
      Returns a range of all the launch entries where launchSetId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      launchSetId - the launch set ID
      start - the lower bound of the range of launch entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.launch.model.impl.LaunchEntryModelImpl.

      Parameters:
      launchSetId - the launch set ID
      start - the lower bound of the range of launch entries
      end - the upper bound of the range of launch entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching launch entries
    • getPersistence

      public static LaunchEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(LaunchEntryPersistence persistence)