Class SegmentsExperimentUtil

java.lang.Object
com.liferay.segments.service.persistence.SegmentsExperimentUtil

public class SegmentsExperimentUtil extends Object
The persistence utility for the segments experiment service. This utility wraps com.liferay.segments.service.persistence.impl.SegmentsExperimentPersistenceImpl 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

    • SegmentsExperimentUtil

      public SegmentsExperimentUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(SegmentsExperiment segmentsExperiment)
      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,SegmentsExperiment> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

      public static List<SegmentsExperiment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SegmentsExperiment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

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

      public static SegmentsExperiment update(SegmentsExperiment segmentsExperiment, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<SegmentsExperiment> findByUuid(String uuid)
      Returns all the segments experiments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching segments experiments
    • findByUuid

      public static List<SegmentsExperiment> findByUuid(String uuid, int start, int end)
      Returns a range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of matching segments experiments
    • findByUuid

      public static List<SegmentsExperiment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

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

      public static List<SegmentsExperiment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (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 segments experiments
    • findByUuid_First

      public static SegmentsExperiment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the first segments experiment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByUuid_First

      public static SegmentsExperiment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the first segments experiment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment, or null if a matching segments experiment could not be found
    • findByUuid_Last

      public static SegmentsExperiment findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the last segments experiment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByUuid_Last

      public static SegmentsExperiment fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the last segments experiment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment, or null if a matching segments experiment could not be found
    • findByUuid_PrevAndNext

      public static SegmentsExperiment[] findByUuid_PrevAndNext(long segmentsExperimentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ?.
      Parameters:
      segmentsExperimentId - the primary key of the current segments experiment
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • removeByUuid

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

      public static int countByUuid(String uuid)
      Returns the number of segments experiments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching segments experiments
    • findByUUID_G

      public static SegmentsExperiment findByUUID_G(String uuid, long groupId) throws NoSuchExperimentException
      Returns the segments experiment where uuid = ? and groupId = ? or throws a NoSuchExperimentException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByUUID_G

      public static SegmentsExperiment fetchByUUID_G(String uuid, long groupId)
      Returns the segments experiment where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • fetchByUUID_G

      public static SegmentsExperiment fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the segments experiment where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • removeByUUID_G

      public static SegmentsExperiment removeByUUID_G(String uuid, long groupId) throws NoSuchExperimentException
      Removes the segments experiment where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the segments experiment that was removed
      Throws:
      NoSuchExperimentException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of segments experiments where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching segments experiments
    • findByUuid_C

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

      public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of matching segments experiments
    • findByUuid_C

      public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

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

      public static List<SegmentsExperiment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiments 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 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 SegmentsExperimentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (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 segments experiments
    • findByUuid_C_First

      public static SegmentsExperiment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the first segments experiment 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 segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByUuid_C_First

      public static SegmentsExperiment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the first segments experiment 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 segments experiment, or null if a matching segments experiment could not be found
    • findByUuid_C_Last

      public static SegmentsExperiment findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the last segments experiment 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 last matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByUuid_C_Last

      public static SegmentsExperiment fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the last segments experiment 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 last matching segments experiment, or null if a matching segments experiment could not be found
    • findByUuid_C_PrevAndNext

      public static SegmentsExperiment[] findByUuid_C_PrevAndNext(long segmentsExperimentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the segments experiments before and after the current segments experiment in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      segmentsExperimentId - the primary key of the current segments experiment
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the segments experiments 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 segments experiments where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching segments experiments
    • findByGroupId

      public static List<SegmentsExperiment> findByGroupId(long groupId)
      Returns all the segments experiments where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching segments experiments
    • findByGroupId

      public static List<SegmentsExperiment> findByGroupId(long groupId, int start, int end)
      Returns a range of all the segments experiments where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of matching segments experiments
    • findByGroupId

      public static List<SegmentsExperiment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments experiments
    • findByGroupId

      public static List<SegmentsExperiment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiments where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (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 segments experiments
    • findByGroupId_First

      public static SegmentsExperiment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the first segments experiment in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByGroupId_First

      public static SegmentsExperiment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the first segments experiment in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment, or null if a matching segments experiment could not be found
    • findByGroupId_Last

      public static SegmentsExperiment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the last segments experiment in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByGroupId_Last

      public static SegmentsExperiment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the last segments experiment in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment, or null if a matching segments experiment could not be found
    • findByGroupId_PrevAndNext

      public static SegmentsExperiment[] findByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the segments experiments before and after the current segments experiment in the ordered set where groupId = ?.
      Parameters:
      segmentsExperimentId - the primary key of the current segments experiment
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • filterFindByGroupId

      public static List<SegmentsExperiment> filterFindByGroupId(long groupId)
      Returns all the segments experiments that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching segments experiments that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsExperiment> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the segments experiments that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of matching segments experiments that the user has permission to view
    • filterFindByGroupId

      public static List<SegmentsExperiment> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments experiments that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      public static SegmentsExperiment[] filterFindByGroupId_PrevAndNext(long segmentsExperimentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the segments experiments before and after the current segments experiment in the ordered set of segments experiments that the user has permission to view where groupId = ?.
      Parameters:
      segmentsExperimentId - the primary key of the current segments experiment
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the segments experiments where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of segments experiments where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching segments experiments
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of segments experiments that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching segments experiments that the user has permission to view
    • findBySegmentsExperimentKey

      public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey)
      Returns all the segments experiments where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      Returns:
      the matching segments experiments
    • findBySegmentsExperimentKey

      public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end)
      Returns a range of all the segments experiments where segmentsExperimentKey = ?.

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

      Parameters:
      segmentsExperimentKey - the segments experiment key
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of matching segments experiments
    • findBySegmentsExperimentKey

      public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.

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

      Parameters:
      segmentsExperimentKey - the segments experiment key
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments experiments
    • findBySegmentsExperimentKey

      public static List<SegmentsExperiment> findBySegmentsExperimentKey(String segmentsExperimentKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiments where segmentsExperimentKey = ?.

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

      Parameters:
      segmentsExperimentKey - the segments experiment key
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (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 segments experiments
    • findBySegmentsExperimentKey_First

      public static SegmentsExperiment findBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchBySegmentsExperimentKey_First

      public static SegmentsExperiment fetchBySegmentsExperimentKey_First(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the first segments experiment in the ordered set where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment, or null if a matching segments experiment could not be found
    • findBySegmentsExperimentKey_Last

      public static SegmentsExperiment findBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchBySegmentsExperimentKey_Last

      public static SegmentsExperiment fetchBySegmentsExperimentKey_Last(String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns the last segments experiment in the ordered set where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment, or null if a matching segments experiment could not be found
    • findBySegmentsExperimentKey_PrevAndNext

      public static SegmentsExperiment[] findBySegmentsExperimentKey_PrevAndNext(long segmentsExperimentId, String segmentsExperimentKey, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator) throws NoSuchExperimentException
      Returns the segments experiments before and after the current segments experiment in the ordered set where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentId - the primary key of the current segments experiment
      segmentsExperimentKey - the segments experiment key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • removeBySegmentsExperimentKey

      public static void removeBySegmentsExperimentKey(String segmentsExperimentKey)
      Removes all the segments experiments where segmentsExperimentKey = ? from the database.
      Parameters:
      segmentsExperimentKey - the segments experiment key
    • countBySegmentsExperimentKey

      public static int countBySegmentsExperimentKey(String segmentsExperimentKey)
      Returns the number of segments experiments where segmentsExperimentKey = ?.
      Parameters:
      segmentsExperimentKey - the segments experiment key
      Returns:
      the number of matching segments experiments
    • findByG_S

      public static SegmentsExperiment findByG_S(long groupId, String segmentsExperimentKey) throws NoSuchExperimentException
      Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or throws a NoSuchExperimentException if it could not be found.
      Parameters:
      groupId - the group ID
      segmentsExperimentKey - the segments experiment key
      Returns:
      the matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByG_S

      public static SegmentsExperiment fetchByG_S(long groupId, String segmentsExperimentKey)
      Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      segmentsExperimentKey - the segments experiment key
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • fetchByG_S

      public static SegmentsExperiment fetchByG_S(long groupId, String segmentsExperimentKey, boolean useFinderCache)
      Returns the segments experiment where groupId = ? and segmentsExperimentKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      segmentsExperimentKey - the segments experiment key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • removeByG_S

      public static SegmentsExperiment removeByG_S(long groupId, String segmentsExperimentKey) throws NoSuchExperimentException
      Removes the segments experiment where groupId = ? and segmentsExperimentKey = ? from the database.
      Parameters:
      groupId - the group ID
      segmentsExperimentKey - the segments experiment key
      Returns:
      the segments experiment that was removed
      Throws:
      NoSuchExperimentException
    • countByG_S

      public static int countByG_S(long groupId, String segmentsExperimentKey)
      Returns the number of segments experiments where groupId = ? and segmentsExperimentKey = ?.
      Parameters:
      groupId - the group ID
      segmentsExperimentKey - the segments experiment key
      Returns:
      the number of matching segments experiments
    • findByG_S_P

      public static SegmentsExperiment findByG_S_P(long groupId, long segmentsExperienceId, long plid) throws NoSuchExperimentException
      Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or throws a NoSuchExperimentException if it could not be found.
      Parameters:
      groupId - the group ID
      segmentsExperienceId - the segments experience ID
      plid - the plid
      Returns:
      the matching segments experiment
      Throws:
      NoSuchExperimentException - if a matching segments experiment could not be found
      NoSuchExperimentException
    • fetchByG_S_P

      public static SegmentsExperiment fetchByG_S_P(long groupId, long segmentsExperienceId, long plid)
      Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      segmentsExperienceId - the segments experience ID
      plid - the plid
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • fetchByG_S_P

      public static SegmentsExperiment fetchByG_S_P(long groupId, long segmentsExperienceId, long plid, boolean useFinderCache)
      Returns the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      segmentsExperienceId - the segments experience ID
      plid - the plid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments experiment, or null if a matching segments experiment could not be found
    • removeByG_S_P

      public static SegmentsExperiment removeByG_S_P(long groupId, long segmentsExperienceId, long plid) throws NoSuchExperimentException
      Removes the segments experiment where groupId = ? and segmentsExperienceId = ? and plid = ? from the database.
      Parameters:
      groupId - the group ID
      segmentsExperienceId - the segments experience ID
      plid - the plid
      Returns:
      the segments experiment that was removed
      Throws:
      NoSuchExperimentException
    • countByG_S_P

      public static int countByG_S_P(long groupId, long segmentsExperienceId, long plid)
      Returns the number of segments experiments where groupId = ? and segmentsExperienceId = ? and plid = ?.
      Parameters:
      groupId - the group ID
      segmentsExperienceId - the segments experience ID
      plid - the plid
      Returns:
      the number of matching segments experiments
    • cacheResult

      public static void cacheResult(SegmentsExperiment segmentsExperiment)
      Caches the segments experiment in the entity cache if it is enabled.
      Parameters:
      segmentsExperiment - the segments experiment
    • cacheResult

      public static void cacheResult(List<SegmentsExperiment> segmentsExperiments)
      Caches the segments experiments in the entity cache if it is enabled.
      Parameters:
      segmentsExperiments - the segments experiments
    • create

      public static SegmentsExperiment create(long segmentsExperimentId)
      Creates a new segments experiment with the primary key. Does not add the segments experiment to the database.
      Parameters:
      segmentsExperimentId - the primary key for the new segments experiment
      Returns:
      the new segments experiment
    • remove

      public static SegmentsExperiment remove(long segmentsExperimentId) throws NoSuchExperimentException
      Removes the segments experiment with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      segmentsExperimentId - the primary key of the segments experiment
      Returns:
      the segments experiment that was removed
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • updateImpl

      public static SegmentsExperiment updateImpl(SegmentsExperiment segmentsExperiment)
    • findByPrimaryKey

      public static SegmentsExperiment findByPrimaryKey(long segmentsExperimentId) throws NoSuchExperimentException
      Returns the segments experiment with the primary key or throws a NoSuchExperimentException if it could not be found.
      Parameters:
      segmentsExperimentId - the primary key of the segments experiment
      Returns:
      the segments experiment
      Throws:
      NoSuchExperimentException - if a segments experiment with the primary key could not be found
      NoSuchExperimentException
    • fetchByPrimaryKey

      public static SegmentsExperiment fetchByPrimaryKey(long segmentsExperimentId)
      Returns the segments experiment with the primary key or returns null if it could not be found.
      Parameters:
      segmentsExperimentId - the primary key of the segments experiment
      Returns:
      the segments experiment, or null if a segments experiment with the primary key could not be found
    • findAll

      public static List<SegmentsExperiment> findAll()
      Returns all the segments experiments.
      Returns:
      the segments experiments
    • findAll

      public static List<SegmentsExperiment> findAll(int start, int end)
      Returns a range of all the segments experiments.

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

      Parameters:
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      Returns:
      the range of segments experiments
    • findAll

      public static List<SegmentsExperiment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator)
      Returns an ordered range of all the segments experiments.

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

      Parameters:
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of segments experiments
    • findAll

      public static List<SegmentsExperiment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperiment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiments.

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

      Parameters:
      start - the lower bound of the range of segments experiments
      end - the upper bound of the range of segments experiments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of segments experiments
    • removeAll

      public static void removeAll()
      Removes all the segments experiments from the database.
    • countAll

      public static int countAll()
      Returns the number of segments experiments.
      Returns:
      the number of segments experiments
    • getPersistence

      public static SegmentsExperimentPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SegmentsExperimentPersistence persistence)