Interface SegmentsExperimentPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsExperiment>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment>

@ProviderType public interface SegmentsExperimentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsExperiment>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsExperiment>
The persistence interface for the segments experiment service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

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

      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

      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

      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

      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
    • fetchByGroupId_First

      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

      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
    • fetchByGroupId_Last

      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

      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
    • filterFindByGroupId

      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

      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

      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

      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
    • removeByGroupId

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

      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

      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

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

      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

      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

      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

      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
    • fetchBySegmentsExperimentKey_First

      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

      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
    • fetchBySegmentsExperimentKey_Last

      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

      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
    • removeBySegmentsExperimentKey

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

      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

      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
    • fetchByG_S

      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

      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

      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

      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

      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
    • fetchByG_S_P

      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

      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

      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

      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

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

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

      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

      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
    • updateImpl

      SegmentsExperiment updateImpl(SegmentsExperiment segmentsExperiment)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the segments experiments.
      Returns:
      the segments experiments
    • findAll

      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

      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

      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

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

      int countAll()
      Returns the number of segments experiments.
      Returns:
      the number of segments experiments