Interface AnalyticsAssociationPersistence

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

@ProviderType public interface AnalyticsAssociationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsAssociation>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AnalyticsAssociation>
The persistence interface for the analytics association service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(AnalyticsAssociation analyticsAssociation)
    Caches the analytics association in the entity cache if it is enabled.
    void
    cacheResult(List<AnalyticsAssociation> analyticsAssociations)
    Caches the analytics associations in the entity cache if it is enabled.
    int
    Returns the number of analytics associations.
    int
    countByC_A(long companyId, String associationClassName)
    Returns the number of analytics associations where companyId = ? and associationClassName = ?.
    int
    countByC_A_A(long companyId, String associationClassName, long associationClassPK)
    Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
    int
    countByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
    Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
    int
    countByC_LtM(long companyId, Date modifiedDate)
    Returns the number of analytics associations where companyId = ? and modifiedDate < ?.
    int
    countByCompanyId(long companyId)
    Returns the number of analytics associations where companyId = ?.
    create(long analyticsAssociationId)
    Creates a new analytics association with the primary key.
    fetchByC_A_A_First(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.
    fetchByC_A_First(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
    fetchByC_GtM_A_First(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.
    fetchByC_LtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and modifiedDate < ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ?.
    fetchByPrimaryKey(long analyticsAssociationId)
    Returns the analytics association with the primary key or returns null if it could not be found.
    Returns all the analytics associations.
    findAll(int start, int end)
    Returns a range of all the analytics associations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations.
    findByC_A(long companyId, String associationClassName)
    Returns all the analytics associations where companyId = ? and associationClassName = ?.
    findByC_A(long companyId, String associationClassName, int start, int end)
    Returns a range of all the analytics associations where companyId = ? and associationClassName = ?.
    findByC_A(long companyId, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ?.
    findByC_A(long companyId, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ?.
    findByC_A_A(long companyId, String associationClassName, long associationClassPK)
    Returns all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
    findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end)
    Returns a range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
    findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
    findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
    findByC_A_A_First(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.
    findByC_A_First(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
    findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
    Returns all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
    findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end)
    Returns a range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
    findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
    findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
    findByC_GtM_A_First(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.
    findByC_LtM(long companyId, Date modifiedDate)
    Returns all the analytics associations where companyId = ? and modifiedDate < ?.
    findByC_LtM(long companyId, Date modifiedDate, int start, int end)
    Returns a range of all the analytics associations where companyId = ? and modifiedDate < ?.
    findByC_LtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate < ?.
    findByC_LtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate < ?.
    findByC_LtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ? and modifiedDate < ?.
    findByCompanyId(long companyId)
    Returns all the analytics associations where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the analytics associations where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns an ordered range of all the analytics associations where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the analytics associations where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
    Returns the first analytics association in the ordered set where companyId = ?.
    findByPrimaryKey(long analyticsAssociationId)
    Returns the analytics association with the primary key or throws a NoSuchAssociationException if it could not be found.
    remove(long analyticsAssociationId)
    Removes the analytics association with the primary key from the database.
    void
    Removes all the analytics associations from the database.
    void
    removeByC_A(long companyId, String associationClassName)
    Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.
    void
    removeByC_A_A(long companyId, String associationClassName, long associationClassPK)
    Removes all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ? from the database.
    void
    removeByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
    Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? from the database.
    void
    removeByC_LtM(long companyId, Date modifiedDate)
    Removes all the analytics associations where companyId = ? and modifiedDate < ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the analytics associations where companyId = ? from the database.
    updateImpl(AnalyticsAssociation analyticsAssociation)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByCompanyId

      List<AnalyticsAssociation> findByCompanyId(long companyId)
      Returns all the analytics associations where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching analytics associations
    • findByCompanyId

      List<AnalyticsAssociation> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the analytics associations where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      Returns:
      the range of matching analytics associations
    • findByCompanyId

      List<AnalyticsAssociation> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations where companyId = ?.

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

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

      List<AnalyticsAssociation> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (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 analytics associations
    • findByCompanyId_First

      AnalyticsAssociation findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
      Returns the first analytics association in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association
      Throws:
      NoSuchAssociationException - if a matching analytics association could not be found
    • fetchByCompanyId_First

      AnalyticsAssociation fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns the first analytics association in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association, or null if a matching analytics association could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the analytics associations where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of analytics associations where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching analytics associations
    • findByC_LtM

      List<AnalyticsAssociation> findByC_LtM(long companyId, Date modifiedDate)
      Returns all the analytics associations where companyId = ? and modifiedDate < ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      Returns:
      the matching analytics associations
    • findByC_LtM

      List<AnalyticsAssociation> findByC_LtM(long companyId, Date modifiedDate, int start, int end)
      Returns a range of all the analytics associations where companyId = ? and modifiedDate < ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      Returns:
      the range of matching analytics associations
    • findByC_LtM

      List<AnalyticsAssociation> findByC_LtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate < ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics associations
    • findByC_LtM

      List<AnalyticsAssociation> findByC_LtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate < ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (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 analytics associations
    • findByC_LtM_First

      AnalyticsAssociation findByC_LtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
      Returns the first analytics association in the ordered set where companyId = ? and modifiedDate < ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association
      Throws:
      NoSuchAssociationException - if a matching analytics association could not be found
    • fetchByC_LtM_First

      AnalyticsAssociation fetchByC_LtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns the first analytics association in the ordered set where companyId = ? and modifiedDate < ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association, or null if a matching analytics association could not be found
    • removeByC_LtM

      void removeByC_LtM(long companyId, Date modifiedDate)
      Removes all the analytics associations where companyId = ? and modifiedDate < ? from the database.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
    • countByC_LtM

      int countByC_LtM(long companyId, Date modifiedDate)
      Returns the number of analytics associations where companyId = ? and modifiedDate < ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      Returns:
      the number of matching analytics associations
    • findByC_A

      List<AnalyticsAssociation> findByC_A(long companyId, String associationClassName)
      Returns all the analytics associations where companyId = ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      Returns:
      the matching analytics associations
    • findByC_A

      List<AnalyticsAssociation> findByC_A(long companyId, String associationClassName, int start, int end)
      Returns a range of all the analytics associations where companyId = ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      Returns:
      the range of matching analytics associations
    • findByC_A

      List<AnalyticsAssociation> findByC_A(long companyId, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics associations
    • findByC_A

      List<AnalyticsAssociation> findByC_A(long companyId, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (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 analytics associations
    • findByC_A_First

      AnalyticsAssociation findByC_A_First(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
      Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association
      Throws:
      NoSuchAssociationException - if a matching analytics association could not be found
    • fetchByC_A_First

      AnalyticsAssociation fetchByC_A_First(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association, or null if a matching analytics association could not be found
    • removeByC_A

      void removeByC_A(long companyId, String associationClassName)
      Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
    • countByC_A

      int countByC_A(long companyId, String associationClassName)
      Returns the number of analytics associations where companyId = ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      Returns:
      the number of matching analytics associations
    • findByC_GtM_A

      List<AnalyticsAssociation> findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
      Returns all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      Returns:
      the matching analytics associations
    • findByC_GtM_A

      List<AnalyticsAssociation> findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end)
      Returns a range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      Returns:
      the range of matching analytics associations
    • findByC_GtM_A

      List<AnalyticsAssociation> findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics associations
    • findByC_GtM_A

      List<AnalyticsAssociation> findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.

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

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (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 analytics associations
    • findByC_GtM_A_First

      AnalyticsAssociation findByC_GtM_A_First(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
      Returns the first analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association
      Throws:
      NoSuchAssociationException - if a matching analytics association could not be found
    • fetchByC_GtM_A_First

      AnalyticsAssociation fetchByC_GtM_A_First(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns the first analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association, or null if a matching analytics association could not be found
    • removeByC_GtM_A

      void removeByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
      Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? from the database.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
    • countByC_GtM_A

      int countByC_GtM_A(long companyId, Date modifiedDate, String associationClassName)
      Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      associationClassName - the association class name
      Returns:
      the number of matching analytics associations
    • findByC_A_A

      List<AnalyticsAssociation> findByC_A_A(long companyId, String associationClassName, long associationClassPK)
      Returns all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      Returns:
      the matching analytics associations
    • findByC_A_A

      List<AnalyticsAssociation> findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end)
      Returns a range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      Returns:
      the range of matching analytics associations
    • findByC_A_A

      List<AnalyticsAssociation> findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics associations
    • findByC_A_A

      List<AnalyticsAssociation> findByC_A_A(long companyId, String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.

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

      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      start - the lower bound of the range of analytics associations
      end - the upper bound of the range of analytics associations (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 analytics associations
    • findByC_A_A_First

      AnalyticsAssociation findByC_A_A_First(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
      Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association
      Throws:
      NoSuchAssociationException - if a matching analytics association could not be found
    • fetchByC_A_A_First

      AnalyticsAssociation fetchByC_A_A_First(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics association, or null if a matching analytics association could not be found
    • removeByC_A_A

      void removeByC_A_A(long companyId, String associationClassName, long associationClassPK)
      Removes all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ? from the database.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
    • countByC_A_A

      int countByC_A_A(long companyId, String associationClassName, long associationClassPK)
      Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
      Parameters:
      companyId - the company ID
      associationClassName - the association class name
      associationClassPK - the association class pk
      Returns:
      the number of matching analytics associations
    • cacheResult

      void cacheResult(AnalyticsAssociation analyticsAssociation)
      Caches the analytics association in the entity cache if it is enabled.
      Parameters:
      analyticsAssociation - the analytics association
    • cacheResult

      void cacheResult(List<AnalyticsAssociation> analyticsAssociations)
      Caches the analytics associations in the entity cache if it is enabled.
      Parameters:
      analyticsAssociations - the analytics associations
    • create

      AnalyticsAssociation create(long analyticsAssociationId)
      Creates a new analytics association with the primary key. Does not add the analytics association to the database.
      Parameters:
      analyticsAssociationId - the primary key for the new analytics association
      Returns:
      the new analytics association
    • remove

      AnalyticsAssociation remove(long analyticsAssociationId) throws NoSuchAssociationException
      Removes the analytics association with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      analyticsAssociationId - the primary key of the analytics association
      Returns:
      the analytics association that was removed
      Throws:
      NoSuchAssociationException - if a analytics association with the primary key could not be found
    • updateImpl

      AnalyticsAssociation updateImpl(AnalyticsAssociation analyticsAssociation)
    • findByPrimaryKey

      AnalyticsAssociation findByPrimaryKey(long analyticsAssociationId) throws NoSuchAssociationException
      Returns the analytics association with the primary key or throws a NoSuchAssociationException if it could not be found.
      Parameters:
      analyticsAssociationId - the primary key of the analytics association
      Returns:
      the analytics association
      Throws:
      NoSuchAssociationException - if a analytics association with the primary key could not be found
    • fetchByPrimaryKey

      AnalyticsAssociation fetchByPrimaryKey(long analyticsAssociationId)
      Returns the analytics association with the primary key or returns null if it could not be found.
      Parameters:
      analyticsAssociationId - the primary key of the analytics association
      Returns:
      the analytics association, or null if a analytics association with the primary key could not be found
    • findAll

      Returns all the analytics associations.
      Returns:
      the analytics associations
    • findAll

      List<AnalyticsAssociation> findAll(int start, int end)
      Returns a range of all the analytics associations.

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

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

      List<AnalyticsAssociation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
      Returns an ordered range of all the analytics associations.

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

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

      List<AnalyticsAssociation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics associations.

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

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

      void removeAll()
      Removes all the analytics associations from the database.
    • countAll

      int countAll()
      Returns the number of analytics associations.
      Returns:
      the number of analytics associations