Class AnalyticsAssociationUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AnalyticsAssociation analyticsAssociation) Caches the analytics association in the entity cache if it is enabled.static voidcacheResult(List<AnalyticsAssociation> analyticsAssociations) Caches the analytics associations in the entity cache if it is enabled.static voidstatic voidclearCache(AnalyticsAssociation analyticsAssociation) static intcountAll()Returns the number of analytics associations.static intcountByC_A(long companyId, String associationClassName) Returns the number of analytics associations where companyId = ? and associationClassName = ?.static intcountByC_A_A(long companyId, String associationClassName, long associationClassPK) Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.static intcountByC_GtM_A(long companyId, Date modifiedDate, String associationClassName) Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AnalyticsAssociationcreate(long analyticsAssociationId) Creates a new analytics association with the primary key.static AnalyticsAssociationfetchByC_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 = ?.static AnalyticsAssociationfetchByC_A_A_Last(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.static AnalyticsAssociationfetchByC_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 = ?.static AnalyticsAssociationfetchByC_A_Last(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.static AnalyticsAssociationfetchByC_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 = ?.static AnalyticsAssociationfetchByC_GtM_A_Last(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.static AnalyticsAssociationfetchByPrimaryKey(long analyticsAssociationId) Returns the analytics association with the primary key or returnsnullif it could not be found.static Map<Serializable,AnalyticsAssociation> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<AnalyticsAssociation>findAll()Returns all the analytics associations.static List<AnalyticsAssociation>findAll(int start, int end) Returns a range of all the analytics associations.static List<AnalyticsAssociation>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns an ordered range of all the analytics associations.static 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.static List<AnalyticsAssociation>Returns all the analytics associations where companyId = ? and associationClassName = ?.static List<AnalyticsAssociation>Returns a range of all the analytics associations where companyId = ? and associationClassName = ?.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 = ?.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 = ?.static List<AnalyticsAssociation>findByC_A_A(long companyId, String associationClassName, long associationClassPK) Returns all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.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 = ?.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 = ?.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 = ?.static AnalyticsAssociationfindByC_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 = ?.static AnalyticsAssociationfindByC_A_A_Last(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.static AnalyticsAssociation[]findByC_A_A_PrevAndNext(long analyticsAssociationId, long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.static AnalyticsAssociationfindByC_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 = ?.static AnalyticsAssociationfindByC_A_Last(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.static AnalyticsAssociation[]findByC_A_PrevAndNext(long analyticsAssociationId, long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and associationClassName = ?.static List<AnalyticsAssociation>findByC_GtM_A(long companyId, Date modifiedDate, String associationClassName) Returns all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.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 = ?.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 = ?.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 = ?.static AnalyticsAssociationfindByC_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 = ?.static AnalyticsAssociationfindByC_GtM_A_Last(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.static AnalyticsAssociation[]findByC_GtM_A_PrevAndNext(long analyticsAssociationId, long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.static AnalyticsAssociationfindByPrimaryKey(long analyticsAssociationId) Returns the analytics association with the primary key or throws aNoSuchAssociationExceptionif it could not be found.static List<AnalyticsAssociation>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AnalyticsAssociation>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AnalyticsAssociation>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) static AnalyticsAssociationremove(long analyticsAssociationId) Removes the analytics association with the primary key from the database.static voidRemoves all the analytics associations from the database.static voidremoveByC_A(long companyId, String associationClassName) Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.static voidremoveByC_A_A(long companyId, String associationClassName, long associationClassPK) Removes all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ? from the database.static voidremoveByC_GtM_A(long companyId, Date modifiedDate, String associationClassName) Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? from the database.static voidsetPersistence(AnalyticsAssociationPersistence persistence) static AnalyticsAssociationupdate(AnalyticsAssociation analyticsAssociation) static AnalyticsAssociationupdate(AnalyticsAssociation analyticsAssociation, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AnalyticsAssociationupdateImpl(AnalyticsAssociation analyticsAssociation)
-
Constructor Details
-
AnalyticsAssociationUtil
public AnalyticsAssociationUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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)
-
findByC_A
Returns all the analytics associations where companyId = ? and associationClassName = ?.- Parameters:
companyId- the company IDassociationClassName- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered 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, boolean useFinderCache) Returns an ordered range of all the analytics associations where companyId = ? and associationClassName = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
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 IDassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_A_Last
public static AnalyticsAssociation findByC_A_Last(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.- Parameters:
companyId- the company IDassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
fetchByC_A_Last
public static AnalyticsAssociation fetchByC_A_Last(long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.- Parameters:
companyId- the company IDassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_A_PrevAndNext
public static AnalyticsAssociation[] findByC_A_PrevAndNext(long analyticsAssociationId, long companyId, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and associationClassName = ?.- Parameters:
analyticsAssociationId- the primary key of the current analytics associationcompanyId- the company IDassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next analytics association
- Throws:
NoSuchAssociationException- if a analytics association with the primary key could not be foundNoSuchAssociationException
-
removeByC_A
Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.- Parameters:
companyId- the company IDassociationClassName- the association class name
-
countByC_A
Returns the number of analytics associations where companyId = ? and associationClassName = ?.- Parameters:
companyId- the company IDassociationClassName- 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 IDmodifiedDate- the modified dateassociationClassName- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class namestart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDmodifiedDate- the modified dateassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
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 IDmodifiedDate- the modified dateassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_GtM_A_Last
public static AnalyticsAssociation findByC_GtM_A_Last(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the last analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
fetchByC_GtM_A_Last
public static AnalyticsAssociation fetchByC_GtM_A_Last(long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_GtM_A_PrevAndNext
public static AnalyticsAssociation[] findByC_GtM_A_PrevAndNext(long analyticsAssociationId, long companyId, Date modifiedDate, String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and modifiedDate > ? and associationClassName = ?.- Parameters:
analyticsAssociationId- the primary key of the current analytics associationcompanyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next analytics association
- Throws:
NoSuchAssociationException- if a analytics association with the primary key could not be foundNoSuchAssociationException
-
removeByC_GtM_A
Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? from the database.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- the association class name
-
countByC_GtM_A
Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.- Parameters:
companyId- the company IDmodifiedDate- the modified dateassociationClassName- 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) Returns all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkstart- the lower bound of the range of analytics associationsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkstart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkstart- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDassociationClassName- the association class nameassociationClassPK- the association class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
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 IDassociationClassName- the association class nameassociationClassPK- the association class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_A_A_Last
public static AnalyticsAssociation findByC_A_A_Last(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association
- Throws:
NoSuchAssociationException- if a matching analytics association could not be foundNoSuchAssociationException
-
fetchByC_A_A_Last
public static AnalyticsAssociation fetchByC_A_A_Last(long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.- Parameters:
companyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics association, or
nullif a matching analytics association could not be found
-
findByC_A_A_PrevAndNext
public static AnalyticsAssociation[] findByC_A_A_PrevAndNext(long analyticsAssociationId, long companyId, String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException Returns the analytics associations before and after the current analytics association in the ordered set where companyId = ? and associationClassName = ? and associationClassPK = ?.- Parameters:
analyticsAssociationId- the primary key of the current analytics associationcompanyId- the company IDassociationClassName- the association class nameassociationClassPK- the association class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next analytics association
- Throws:
NoSuchAssociationException- if a analytics association with the primary key could not be foundNoSuchAssociationException
-
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 IDassociationClassName- the association class nameassociationClassPK- 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 IDassociationClassName- the association class nameassociationClassPK- the association class pk- Returns:
- the number of matching analytics associations
-
cacheResult
Caches the analytics association in the entity cache if it is enabled.- Parameters:
analyticsAssociation- the analytics association
-
cacheResult
Caches the analytics associations in the entity cache if it is enabled.- Parameters:
analyticsAssociations- the analytics associations
-
create
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
- Throws:
NoSuchAssociationException- if a analytics association with the primary key could not be foundNoSuchAssociationException
-
updateImpl
-
findByPrimaryKey
public static AnalyticsAssociation findByPrimaryKey(long analyticsAssociationId) throws NoSuchAssociationException Returns the analytics association with the primary key or throws aNoSuchAssociationExceptionif 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 foundNoSuchAssociationException
-
fetchByPrimaryKey
Returns the analytics association with the primary key or returnsnullif it could not be found.- Parameters:
analyticsAssociationId- the primary key of the analytics association- Returns:
- the analytics association, or
nullif a analytics association with the primary key could not be found
-
findAll
Returns all the analytics associations.- Returns:
- the analytics associations
-
findAll
Returns a range of all the analytics associations.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
start- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)- Returns:
- the range of analytics associations
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
start- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of analytics associations
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsAssociationModelImpl.- Parameters:
start- the lower bound of the range of analytics associationsend- the upper bound of the range of analytics associations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of analytics associations
-
removeAll
public static void removeAll()Removes all the analytics associations from the database. -
countAll
public static int countAll()Returns the number of analytics associations.- Returns:
- the number of analytics associations
-
getPersistence
-
setPersistence
-