Interface AnalyticsAssociationPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsAssociation>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AnalyticsAssociation>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(AnalyticsAssociation analyticsAssociation) Caches the analytics association in the entity cache if it is enabled.voidcacheResult(List<AnalyticsAssociation> analyticsAssociations) Caches the analytics associations in the entity cache if it is enabled.intcountAll()Returns the number of analytics associations.intcountByC_A(long companyId, String associationClassName) Returns the number of analytics associations where companyId = ? and associationClassName = ?.intcountByC_A_A(long companyId, String associationClassName, long associationClassPK) Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.intcountByC_GtM_A(long companyId, Date modifiedDate, String associationClassName) Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.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_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 = ?.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_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 = ?.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_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 = ?.fetchByPrimaryKey(long analyticsAssociationId) Returns the analytics association with the primary key or returnsnullif it could not be found.findAll()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.Returns all the analytics associations where companyId = ? and associationClassName = ?.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_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 = ?.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 = ?.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_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 = ?.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 = ?.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_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 = ?.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 = ?.findByPrimaryKey(long analyticsAssociationId) Returns the analytics association with the primary key or throws aNoSuchAssociationExceptionif it could not be found.remove(long analyticsAssociationId) Removes the analytics association with the primary key from the database.voidRemoves all the analytics associations from the database.voidremoveByC_A(long companyId, String associationClassName) Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.voidremoveByC_A_A(long companyId, String associationClassName, long associationClassPK) Removes all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ? from the database.voidremoveByC_GtM_A(long companyId, Date modifiedDate, String associationClassName) Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? 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, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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
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 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 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
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 found
-
fetchByC_A_Last
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
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 found
-
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
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
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
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
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
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 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 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
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 found
-
fetchByC_GtM_A_Last
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
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 found
-
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
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
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
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
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
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 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 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
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 found
-
fetchByC_A_A_Last
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
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 found
-
removeByC_A_A
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
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
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
-
findByPrimaryKey
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 found
-
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
List<AnalyticsAssociation> 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
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
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
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
-