Class AnalyticsAssociationUtil

java.lang.Object
com.liferay.analytics.message.storage.service.persistence.AnalyticsAssociationUtil

public class AnalyticsAssociationUtil extends Object
The persistence utility for the analytics association service. This utility wraps com.liferay.analytics.message.storage.service.persistence.impl.AnalyticsAssociationPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • AnalyticsAssociationUtil

      public AnalyticsAssociationUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<AnalyticsAssociation> analyticsAssociations)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

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

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

      public static void clearCache(AnalyticsAssociation analyticsAssociation)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

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

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

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

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

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

      public static AnalyticsAssociation update(AnalyticsAssociation analyticsAssociation, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static 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

      public static 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
    • fetchByCompanyId_First

      public static 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

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
    • fetchByC_LtM_First

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
    • fetchByC_A_First

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
    • fetchByC_GtM_A_First

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
    • fetchByC_A_A_First

      public static 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

      public static 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

      public static 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
    • create

      public static 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

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

      public static AnalyticsAssociation updateImpl(AnalyticsAssociation analyticsAssociation)
    • findByPrimaryKey

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

      public static 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
    • findByCompanyId

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

      public static 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

      public static 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
    • findByC_A

      public static 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

      public static 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

      public static 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_A

      public static 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

      public static 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

      public static 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
    • getPersistence

      public static AnalyticsAssociationPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AnalyticsAssociationPersistence persistence)