Interface SegmentsExperimentRelPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findBySegmentsExperimentId

      List<SegmentsExperimentRel> findBySegmentsExperimentId(long segmentsExperimentId)
      Returns all the segments experiment rels where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      Returns:
      the matching segments experiment rels
    • findBySegmentsExperimentId

      List<SegmentsExperimentRel> findBySegmentsExperimentId(long segmentsExperimentId, int start, int end)
      Returns a range of all the segments experiment rels where segmentsExperimentId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperimentId - the segments experiment ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (not inclusive)
      Returns:
      the range of matching segments experiment rels
    • findBySegmentsExperimentId

      List<SegmentsExperimentRel> findBySegmentsExperimentId(long segmentsExperimentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns an ordered range of all the segments experiment rels where segmentsExperimentId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperimentId - the segments experiment ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments experiment rels
    • findBySegmentsExperimentId

      List<SegmentsExperimentRel> findBySegmentsExperimentId(long segmentsExperimentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiment rels where segmentsExperimentId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperimentId - the segments experiment ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (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 experiment rels
    • findBySegmentsExperimentId_First

      SegmentsExperimentRel findBySegmentsExperimentId_First(long segmentsExperimentId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the first segments experiment rel in the ordered set where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a matching segments experiment rel could not be found
    • fetchBySegmentsExperimentId_First

      SegmentsExperimentRel fetchBySegmentsExperimentId_First(long segmentsExperimentId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns the first segments experiment rel in the ordered set where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • findBySegmentsExperimentId_Last

      SegmentsExperimentRel findBySegmentsExperimentId_Last(long segmentsExperimentId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the last segments experiment rel in the ordered set where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a matching segments experiment rel could not be found
    • fetchBySegmentsExperimentId_Last

      SegmentsExperimentRel fetchBySegmentsExperimentId_Last(long segmentsExperimentId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns the last segments experiment rel in the ordered set where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • findBySegmentsExperimentId_PrevAndNext

      SegmentsExperimentRel[] findBySegmentsExperimentId_PrevAndNext(long segmentsExperimentRelId, long segmentsExperimentId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the segments experiment rels before and after the current segments experiment rel in the ordered set where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentRelId - the primary key of the current segments experiment rel
      segmentsExperimentId - the segments experiment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a segments experiment rel with the primary key could not be found
    • removeBySegmentsExperimentId

      void removeBySegmentsExperimentId(long segmentsExperimentId)
      Removes all the segments experiment rels where segmentsExperimentId = ? from the database.
      Parameters:
      segmentsExperimentId - the segments experiment ID
    • countBySegmentsExperimentId

      int countBySegmentsExperimentId(long segmentsExperimentId)
      Returns the number of segments experiment rels where segmentsExperimentId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      Returns:
      the number of matching segments experiment rels
    • findBySegmentsExperienceId

      List<SegmentsExperimentRel> findBySegmentsExperienceId(long segmentsExperienceId)
      Returns all the segments experiment rels where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching segments experiment rels
    • findBySegmentsExperienceId

      List<SegmentsExperimentRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end)
      Returns a range of all the segments experiment rels where segmentsExperienceId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (not inclusive)
      Returns:
      the range of matching segments experiment rels
    • findBySegmentsExperienceId

      List<SegmentsExperimentRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns an ordered range of all the segments experiment rels where segmentsExperienceId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching segments experiment rels
    • findBySegmentsExperienceId

      List<SegmentsExperimentRel> findBySegmentsExperienceId(long segmentsExperienceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the segments experiment rels where segmentsExperienceId = ?.

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      segmentsExperienceId - the segments experience ID
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (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 experiment rels
    • findBySegmentsExperienceId_First

      SegmentsExperimentRel findBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the first segments experiment rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a matching segments experiment rel could not be found
    • fetchBySegmentsExperienceId_First

      SegmentsExperimentRel fetchBySegmentsExperienceId_First(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns the first segments experiment rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • findBySegmentsExperienceId_Last

      SegmentsExperimentRel findBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the last segments experiment rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a matching segments experiment rel could not be found
    • fetchBySegmentsExperienceId_Last

      SegmentsExperimentRel fetchBySegmentsExperienceId_Last(long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns the last segments experiment rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • findBySegmentsExperienceId_PrevAndNext

      SegmentsExperimentRel[] findBySegmentsExperienceId_PrevAndNext(long segmentsExperimentRelId, long segmentsExperienceId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator) throws NoSuchExperimentRelException
      Returns the segments experiment rels before and after the current segments experiment rel in the ordered set where segmentsExperienceId = ?.
      Parameters:
      segmentsExperimentRelId - the primary key of the current segments experiment rel
      segmentsExperienceId - the segments experience ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a segments experiment rel with the primary key could not be found
    • removeBySegmentsExperienceId

      void removeBySegmentsExperienceId(long segmentsExperienceId)
      Removes all the segments experiment rels where segmentsExperienceId = ? from the database.
      Parameters:
      segmentsExperienceId - the segments experience ID
    • countBySegmentsExperienceId

      int countBySegmentsExperienceId(long segmentsExperienceId)
      Returns the number of segments experiment rels where segmentsExperienceId = ?.
      Parameters:
      segmentsExperienceId - the segments experience ID
      Returns:
      the number of matching segments experiment rels
    • findByS_S

      SegmentsExperimentRel findByS_S(long segmentsExperimentId, long segmentsExperienceId) throws NoSuchExperimentRelException
      Returns the segments experiment rel where segmentsExperimentId = ? and segmentsExperienceId = ? or throws a NoSuchExperimentRelException if it could not be found.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a matching segments experiment rel could not be found
    • fetchByS_S

      SegmentsExperimentRel fetchByS_S(long segmentsExperimentId, long segmentsExperienceId)
      Returns the segments experiment rel where segmentsExperimentId = ? and segmentsExperienceId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • fetchByS_S

      SegmentsExperimentRel fetchByS_S(long segmentsExperimentId, long segmentsExperienceId, boolean useFinderCache)
      Returns the segments experiment rel where segmentsExperimentId = ? and segmentsExperienceId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      segmentsExperienceId - the segments experience ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching segments experiment rel, or null if a matching segments experiment rel could not be found
    • removeByS_S

      SegmentsExperimentRel removeByS_S(long segmentsExperimentId, long segmentsExperienceId) throws NoSuchExperimentRelException
      Removes the segments experiment rel where segmentsExperimentId = ? and segmentsExperienceId = ? from the database.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the segments experiment rel that was removed
      Throws:
      NoSuchExperimentRelException
    • countByS_S

      int countByS_S(long segmentsExperimentId, long segmentsExperienceId)
      Returns the number of segments experiment rels where segmentsExperimentId = ? and segmentsExperienceId = ?.
      Parameters:
      segmentsExperimentId - the segments experiment ID
      segmentsExperienceId - the segments experience ID
      Returns:
      the number of matching segments experiment rels
    • cacheResult

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

      void cacheResult(List<SegmentsExperimentRel> segmentsExperimentRels)
      Caches the segments experiment rels in the entity cache if it is enabled.
      Parameters:
      segmentsExperimentRels - the segments experiment rels
    • create

      SegmentsExperimentRel create(long segmentsExperimentRelId)
      Creates a new segments experiment rel with the primary key. Does not add the segments experiment rel to the database.
      Parameters:
      segmentsExperimentRelId - the primary key for the new segments experiment rel
      Returns:
      the new segments experiment rel
    • remove

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

      SegmentsExperimentRel updateImpl(SegmentsExperimentRel segmentsExperimentRel)
    • findByPrimaryKey

      SegmentsExperimentRel findByPrimaryKey(long segmentsExperimentRelId) throws NoSuchExperimentRelException
      Returns the segments experiment rel with the primary key or throws a NoSuchExperimentRelException if it could not be found.
      Parameters:
      segmentsExperimentRelId - the primary key of the segments experiment rel
      Returns:
      the segments experiment rel
      Throws:
      NoSuchExperimentRelException - if a segments experiment rel with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the segments experiment rels.
      Returns:
      the segments experiment rels
    • findAll

      List<SegmentsExperimentRel> findAll(int start, int end)
      Returns a range of all the segments experiment rels.

      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 SegmentsExperimentRelModelImpl.

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

      List<SegmentsExperimentRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsExperimentRel> orderByComparator)
      Returns an ordered range of all the segments experiment rels.

      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 SegmentsExperimentRelModelImpl.

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

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

      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 SegmentsExperimentRelModelImpl.

      Parameters:
      start - the lower bound of the range of segments experiment rels
      end - the upper bound of the range of segments experiment rels (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 experiment rels
    • removeAll

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

      int countAll()
      Returns the number of segments experiment rels.
      Returns:
      the number of segments experiment rels