public class AnalyticsAssociationUtil
extends java.lang.Object
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
AnalyticsAssociationPersistence
Constructor and Description |
---|
AnalyticsAssociationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AnalyticsAssociation analyticsAssociation)
Caches the analytics association in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AnalyticsAssociation> analyticsAssociations)
Caches the analytics associations in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AnalyticsAssociation analyticsAssociation) |
static int |
countAll()
Returns the number of analytics associations.
|
static int |
countByC_A_A(long companyId,
java.lang.String associationClassName,
long associationClassPK)
Returns the number of analytics associations where companyId = ? and associationClassName = ? and associationClassPK = ?.
|
static int |
countByC_A(long companyId,
java.lang.String associationClassName)
Returns the number of analytics associations where companyId = ? and associationClassName = ?.
|
static 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 = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AnalyticsAssociation |
create(long analyticsAssociationId)
Creates a new analytics association with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AnalyticsAssociation |
fetchByPrimaryKey(long analyticsAssociationId)
Returns the analytics association with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AnalyticsAssociation> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AnalyticsAssociation> |
findAll()
Returns all the analytics associations.
|
static java.util.List<AnalyticsAssociation> |
findAll(int start,
int end)
Returns a range of all the analytics associations.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AnalyticsAssociation> |
findByC_A(long companyId,
java.lang.String associationClassName)
Returns all the analytics associations where companyId = ? and associationClassName = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static AnalyticsAssociation |
findByPrimaryKey(long analyticsAssociationId)
Returns the analytics association with the primary key or throws a
NoSuchAssociationException if it could not be found. |
static java.util.List<AnalyticsAssociation> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AnalyticsAssociation> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AnalyticsAssociation> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator) |
static AnalyticsAssociationPersistence |
getPersistence() |
static AnalyticsAssociation |
remove(long analyticsAssociationId)
Removes the analytics association with the primary key from the database.
|
static void |
removeAll()
Removes all the analytics associations from the database.
|
static 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.
|
static void |
removeByC_A(long companyId,
java.lang.String associationClassName)
Removes all the analytics associations where companyId = ? and associationClassName = ? from the database.
|
static 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.
|
static AnalyticsAssociation |
update(AnalyticsAssociation analyticsAssociation) |
static AnalyticsAssociation |
update(AnalyticsAssociation analyticsAssociation,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AnalyticsAssociation |
updateImpl(AnalyticsAssociation analyticsAssociation) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AnalyticsAssociation analyticsAssociation)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AnalyticsAssociation> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AnalyticsAssociation> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AnalyticsAssociation> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AnalyticsAssociation> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsAssociation> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AnalyticsAssociation update(AnalyticsAssociation analyticsAssociation)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AnalyticsAssociation update(AnalyticsAssociation analyticsAssociation, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AnalyticsAssociation> findByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class namepublic static java.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)public static 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
)public static 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 cachepublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation[] 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 foundpublic static void removeByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class namepublic static int countByC_A(long companyId, java.lang.String associationClassName)
companyId
- the company IDassociationClassName
- the association class namepublic static java.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 namepublic static java.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)public static 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
)public static 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 cachepublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static 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) 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 foundpublic static void removeByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class namepublic static int countByC_GtM_A(long companyId, java.util.Date modifiedDate, java.lang.String associationClassName)
companyId
- the company IDmodifiedDate
- the modified dateassociationClassName
- the association class namepublic static java.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 pkpublic static java.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)public static 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
)public static 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 cachepublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation 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 foundpublic static AnalyticsAssociation[] 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 foundpublic static void removeByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkpublic static int countByC_A_A(long companyId, java.lang.String associationClassName, long associationClassPK)
companyId
- the company IDassociationClassName
- the association class nameassociationClassPK
- the association class pkpublic static void cacheResult(AnalyticsAssociation analyticsAssociation)
analyticsAssociation
- the analytics associationpublic static void cacheResult(java.util.List<AnalyticsAssociation> analyticsAssociations)
analyticsAssociations
- the analytics associationspublic static AnalyticsAssociation create(long analyticsAssociationId)
analyticsAssociationId
- the primary key for the new analytics associationpublic static AnalyticsAssociation remove(long analyticsAssociationId) throws NoSuchAssociationException
analyticsAssociationId
- the primary key of the analytics associationNoSuchAssociationException
- if a analytics association with the primary key could not be foundpublic static AnalyticsAssociation updateImpl(AnalyticsAssociation analyticsAssociation)
public static 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 foundpublic static AnalyticsAssociation 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 foundpublic static java.util.List<AnalyticsAssociation> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static AnalyticsAssociationPersistence getPersistence()