@ProviderType public interface AnalyticsAssociationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsAssociation>
Caching information and settings can be found in portal.properties
AnalyticsAssociationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AnalyticsAssociation analyticsAssociation)
Caches the analytics association in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AnalyticsAssociation> analyticsAssociations)
Caches the analytics associations in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of analytics associations.
|
int |
countByC_A_A(long companyId,
java.lang.String associationClassName,
long associationClassPK)
Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
|
int |
countByC_A(long companyId,
java.lang.String associationClassName)
Returns the number of analytics associations where companyId = ? and associationClassName = ?.
|
int |
countByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.String associationClassName)
Returns the number of analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
|
AnalyticsAssociation |
create(long analyticsAssociationId)
Creates a new analytics association with the primary key.
|
AnalyticsAssociation |
fetchByC_A_A_First(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation |
fetchByC_A_A_Last(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation |
fetchByC_A_First(long companyId,
java.lang.String associationClassName,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
|
AnalyticsAssociation |
fetchByC_A_Last(long companyId,
java.lang.String associationClassName,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.
|
AnalyticsAssociation |
fetchByC_GtM_A_First(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
AnalyticsAssociation |
fetchByC_GtM_A_Last(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
AnalyticsAssociation |
fetchByPrimaryKey(long analyticsAssociationId)
Returns the analytics association with the primary key or returns
null if it could not be found. |
java.util.List<AnalyticsAssociation> |
findAll()
Returns all the analytics associations.
|
java.util.List<AnalyticsAssociation> |
findAll(int start,
int end)
Returns a range of all the analytics associations.
|
java.util.List<AnalyticsAssociation> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Returns an ordered range of all the analytics associations.
|
java.util.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.
|
AnalyticsAssociation |
findByC_A_A_First(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation |
findByC_A_A_Last(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation[] |
findByC_A_A_PrevAndNext(long analyticsAssociationId,
long companyId,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A_A(long companyId,
java.lang.String associationClassName,
long associationClassPK)
Returns all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A_A(long companyId,
java.lang.String associationClassName,
long associationClassPK,
int start,
int end)
Returns a range of all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A_A(long companyId,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A_A(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation |
findByC_A_First(long companyId,
java.lang.String associationClassName,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Returns the first analytics association in the ordered set where companyId = ? and associationClassName = ?.
|
AnalyticsAssociation |
findByC_A_Last(long companyId,
java.lang.String associationClassName,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Returns the last analytics association in the ordered set where companyId = ? and associationClassName = ?.
|
AnalyticsAssociation[] |
findByC_A_PrevAndNext(long analyticsAssociationId,
long companyId,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A(long companyId,
java.lang.String associationClassName)
Returns all the analytics associations where companyId = ? and associationClassName = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A(long companyId,
java.lang.String associationClassName,
int start,
int end)
Returns a range of all the analytics associations where companyId = ? and associationClassName = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A(long companyId,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_A(long companyId,
java.lang.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 = ?.
|
AnalyticsAssociation |
findByC_GtM_A_First(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
AnalyticsAssociation |
findByC_GtM_A_Last(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
AnalyticsAssociation[] |
findByC_GtM_A_PrevAndNext(long analyticsAssociationId,
long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.String associationClassName)
Returns all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.String associationClassName,
int start,
int end)
Returns a range of all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
java.util.List<AnalyticsAssociation> |
findByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.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 = ?.
|
AnalyticsAssociation |
findByPrimaryKey(long analyticsAssociationId)
Returns the analytics association with the primary key or throws a
NoSuchAssociationException if it could not be found. |
AnalyticsAssociation |
remove(long analyticsAssociationId)
Removes the analytics association with the primary key from the database.
|
void |
removeAll()
Removes all the analytics associations from the database.
|
void |
removeByC_A_A(long companyId,
java.lang.String associationClassName,
long associationClassPK)
Removes all the analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ? from the database.
|
void |
removeByC_A(long companyId,
java.lang.String associationClassName)
Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.
|
void |
removeByC_GtM_A(long companyId,
java.util.Date modifiedDate,
java.lang.String associationClassName)
Removes all the analytics associations where companyId = ? and modifiedDate > ? and associationClassName = ? from the database.
|
AnalyticsAssociation |
updateImpl(AnalyticsAssociation analyticsAssociation) |
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, setDataSource, unregisterListener, update, update
java.util.List<AnalyticsAssociation> findByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class namejava.util.List<AnalyticsAssociation> findByC_A(long companyId, java.lang.String associationClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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)java.util.List<AnalyticsAssociation> findByC_A(long companyId, java.lang.String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)java.util.List<AnalyticsAssociation> findByC_A(long companyId, java.lang.String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAnalyticsAssociation findByC_A_First(long companyId, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_A_First(long companyId, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation findByC_A_Last(long companyId, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_A_Last(long companyId, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation[] findByC_A_PrevAndNext(long analyticsAssociationId, long companyId, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
analyticsAssociationId
- the primary key of the current analytics associationcompanyId
- the company IDassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a analytics association with the primary key could not be foundvoid removeByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class nameint countByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class namejava.util.List<AnalyticsAssociation> findByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class namejava.util.List<AnalyticsAssociation> findByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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)java.util.List<AnalyticsAssociation> findByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)java.util.List<AnalyticsAssociation> findByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAnalyticsAssociation findByC_GtM_A_First(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_GtM_A_First(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation findByC_GtM_A_Last(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_GtM_A_Last(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation[] findByC_GtM_A_PrevAndNext(long analyticsAssociationId, long companyId, java.util.Date modifiedDate, java.lang.String associationClassName, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
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 (optionally null
)NoSuchAssociationException
- if a analytics association with the primary key could not be foundvoid removeByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class nameint countByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class namejava.util.List<AnalyticsAssociation> findByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkjava.util.List<AnalyticsAssociation> findByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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)java.util.List<AnalyticsAssociation> findByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)java.util.List<AnalyticsAssociation> findByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAnalyticsAssociation findByC_A_A_First(long companyId, java.lang.String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_A_A_First(long companyId, java.lang.String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation findByC_A_A_Last(long companyId, java.lang.String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAssociationException
- if a matching analytics association could not be foundAnalyticsAssociation fetchByC_A_A_Last(long companyId, java.lang.String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics association could not be foundAnalyticsAssociation[] findByC_A_A_PrevAndNext(long analyticsAssociationId, long companyId, java.lang.String associationClassName, long associationClassPK, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) throws NoSuchAssociationException
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 (optionally null
)NoSuchAssociationException
- if a analytics association with the primary key could not be foundvoid removeByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkint countByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkvoid cacheResult(AnalyticsAssociation analyticsAssociation)
analyticsAssociation
- the analytics associationvoid cacheResult(java.util.List<AnalyticsAssociation> analyticsAssociations)
analyticsAssociations
- the analytics associationsAnalyticsAssociation create(long analyticsAssociationId)
analyticsAssociationId
- the primary key for the new analytics associationAnalyticsAssociation remove(long analyticsAssociationId) throws NoSuchAssociationException
analyticsAssociationId
- the primary key of the analytics associationNoSuchAssociationException
- if a analytics association with the primary key could not be foundAnalyticsAssociation updateImpl(AnalyticsAssociation analyticsAssociation)
AnalyticsAssociation findByPrimaryKey(long analyticsAssociationId) throws NoSuchAssociationException
NoSuchAssociationException
if it could not be found.analyticsAssociationId
- the primary key of the analytics associationNoSuchAssociationException
- if a analytics association with the primary key could not be foundAnalyticsAssociation fetchByPrimaryKey(long analyticsAssociationId)
null
if it could not be found.analyticsAssociationId
- the primary key of the analytics associationnull
if a analytics association with the primary key could not be foundjava.util.List<AnalyticsAssociation> findAll()
java.util.List<AnalyticsAssociation> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
start
- the lower bound of the range of analytics associationsend
- the upper bound of the range of analytics associations (not inclusive)java.util.List<AnalyticsAssociation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)java.util.List<AnalyticsAssociation> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AnalyticsAssociationModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()