@ProviderType
public class ChannelInstanceUtil
extends java.lang.Object
com.liferay.content.targeting.service.persistence.impl.ChannelInstancePersistenceImpl
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
ChannelInstancePersistence
,
com.liferay.content.targeting.service.persistence.impl.ChannelInstancePersistenceImpl
Constructor and Description |
---|
ChannelInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(ChannelInstance channelInstance)
Caches the channel instance in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<ChannelInstance> channelInstances)
Caches the channel instances in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ChannelInstance channelInstance) |
static int |
countAll()
Returns the number of channel instances.
|
static int |
countByC_K(long campaignId,
java.lang.String channelKey)
Returns the number of channel instances where campaignId = ? and channelKey = ?.
|
static int |
countByCampaignId(long campaignId)
Returns the number of channel instances where campaignId = ?.
|
static int |
countByChannelKey(java.lang.String channelKey)
Returns the number of channel instances where channelKey = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of channel instances where groupId = ?.
|
static int |
countByT_A(long tacticId,
java.lang.String alias)
Returns the number of channel instances where tacticId = ? and alias = ?.
|
static int |
countByT_K(long tacticId,
java.lang.String channelKey)
Returns the number of channel instances where tacticId = ? and channelKey = ?.
|
static int |
countByTacticId(long tacticId)
Returns the number of channel instances where tacticId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of channel instances where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of channel instances where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of channel instances where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ChannelInstance |
create(long channelInstanceId)
Creates a new channel instance with the primary key.
|
static ChannelInstance |
fetchByC_K_First(long campaignId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ? and channelKey = ?.
|
static ChannelInstance |
fetchByC_K_Last(long campaignId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ? and channelKey = ?.
|
static ChannelInstance |
fetchByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ?.
|
static ChannelInstance |
fetchByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ?.
|
static ChannelInstance |
fetchByChannelKey_First(java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where channelKey = ?.
|
static ChannelInstance |
fetchByChannelKey_Last(java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where channelKey = ?.
|
static ChannelInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where groupId = ?.
|
static ChannelInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where groupId = ?.
|
static ChannelInstance |
fetchByPrimaryKey(long channelInstanceId)
Returns the channel instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ChannelInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ChannelInstance |
fetchByT_A(long tacticId,
java.lang.String alias)
Returns the channel instance where tacticId = ? and alias = ? or returns
null if it could not be found. |
static ChannelInstance |
fetchByT_A(long tacticId,
java.lang.String alias,
boolean retrieveFromCache)
Returns the channel instance where tacticId = ? and alias = ? or returns
null if it could not be found, optionally using the finder cache. |
static ChannelInstance |
fetchByT_K_First(long tacticId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ? and channelKey = ?.
|
static ChannelInstance |
fetchByT_K_Last(long tacticId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ? and channelKey = ?.
|
static ChannelInstance |
fetchByTacticId_First(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ?.
|
static ChannelInstance |
fetchByTacticId_Last(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ?.
|
static ChannelInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where uuid = ? and companyId = ?.
|
static ChannelInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where uuid = ? and companyId = ?.
|
static ChannelInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where uuid = ?.
|
static ChannelInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the channel instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
static ChannelInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the channel instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static ChannelInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where uuid = ?.
|
static java.util.List<ChannelInstance> |
findAll()
Returns all the channel instances.
|
static java.util.List<ChannelInstance> |
findAll(int start,
int end)
Returns a range of all the channel instances.
|
static java.util.List<ChannelInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances.
|
static java.util.List<ChannelInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances.
|
static ChannelInstance |
findByC_K_First(long campaignId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ? and channelKey = ?.
|
static ChannelInstance |
findByC_K_Last(long campaignId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ? and channelKey = ?.
|
static ChannelInstance[] |
findByC_K_PrevAndNext(long channelInstanceId,
long campaignId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where campaignId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByC_K(long campaignId,
java.lang.String channelKey)
Returns all the channel instances where campaignId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByC_K(long campaignId,
java.lang.String channelKey,
int start,
int end)
Returns a range of all the channel instances where campaignId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByC_K(long campaignId,
java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where campaignId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByC_K(long campaignId,
java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where campaignId = ? and channelKey = ?.
|
static ChannelInstance |
findByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ?.
|
static ChannelInstance |
findByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ?.
|
static ChannelInstance[] |
findByCampaignId_PrevAndNext(long channelInstanceId,
long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where campaignId = ?.
|
static java.util.List<ChannelInstance> |
findByCampaignId(long campaignId)
Returns all the channel instances where campaignId = ?.
|
static java.util.List<ChannelInstance> |
findByCampaignId(long campaignId,
int start,
int end)
Returns a range of all the channel instances where campaignId = ?.
|
static java.util.List<ChannelInstance> |
findByCampaignId(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where campaignId = ?.
|
static java.util.List<ChannelInstance> |
findByCampaignId(long campaignId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where campaignId = ?.
|
static ChannelInstance |
findByChannelKey_First(java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where channelKey = ?.
|
static ChannelInstance |
findByChannelKey_Last(java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where channelKey = ?.
|
static ChannelInstance[] |
findByChannelKey_PrevAndNext(long channelInstanceId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey)
Returns all the channel instances where channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey,
int start,
int end)
Returns a range of all the channel instances where channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where channelKey = ?.
|
static ChannelInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where groupId = ?.
|
static ChannelInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where groupId = ?.
|
static ChannelInstance[] |
findByGroupId_PrevAndNext(long channelInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where groupId = ?.
|
static java.util.List<ChannelInstance> |
findByGroupId(long groupId)
Returns all the channel instances where groupId = ?.
|
static java.util.List<ChannelInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the channel instances where groupId = ?.
|
static java.util.List<ChannelInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where groupId = ?.
|
static java.util.List<ChannelInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where groupId = ?.
|
static ChannelInstance |
findByPrimaryKey(long channelInstanceId)
Returns the channel instance with the primary key or throws a
NoSuchChannelInstanceException if it could not be found. |
static ChannelInstance |
findByT_A(long tacticId,
java.lang.String alias)
Returns the channel instance where tacticId = ? and alias = ? or throws a
NoSuchChannelInstanceException if it could not be found. |
static ChannelInstance |
findByT_K_First(long tacticId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ? and channelKey = ?.
|
static ChannelInstance |
findByT_K_Last(long tacticId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ? and channelKey = ?.
|
static ChannelInstance[] |
findByT_K_PrevAndNext(long channelInstanceId,
long tacticId,
java.lang.String channelKey,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where tacticId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByT_K(long tacticId,
java.lang.String channelKey)
Returns all the channel instances where tacticId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByT_K(long tacticId,
java.lang.String channelKey,
int start,
int end)
Returns a range of all the channel instances where tacticId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByT_K(long tacticId,
java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where tacticId = ? and channelKey = ?.
|
static java.util.List<ChannelInstance> |
findByT_K(long tacticId,
java.lang.String channelKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where tacticId = ? and channelKey = ?.
|
static ChannelInstance |
findByTacticId_First(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ?.
|
static ChannelInstance |
findByTacticId_Last(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ?.
|
static ChannelInstance[] |
findByTacticId_PrevAndNext(long channelInstanceId,
long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where tacticId = ?.
|
static java.util.List<ChannelInstance> |
findByTacticId(long tacticId)
Returns all the channel instances where tacticId = ?.
|
static java.util.List<ChannelInstance> |
findByTacticId(long tacticId,
int start,
int end)
Returns a range of all the channel instances where tacticId = ?.
|
static java.util.List<ChannelInstance> |
findByTacticId(long tacticId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where tacticId = ?.
|
static java.util.List<ChannelInstance> |
findByTacticId(long tacticId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where tacticId = ?.
|
static ChannelInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where uuid = ? and companyId = ?.
|
static ChannelInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where uuid = ? and companyId = ?.
|
static ChannelInstance[] |
findByUuid_C_PrevAndNext(long channelInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ChannelInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the channel instances where uuid = ? and companyId = ?.
|
static java.util.List<ChannelInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the channel instances where uuid = ? and companyId = ?.
|
static java.util.List<ChannelInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where uuid = ? and companyId = ?.
|
static java.util.List<ChannelInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where uuid = ? and companyId = ?.
|
static ChannelInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where uuid = ?.
|
static ChannelInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the channel instance where uuid = ? and groupId = ? or throws a
NoSuchChannelInstanceException if it could not be found. |
static ChannelInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where uuid = ?.
|
static ChannelInstance[] |
findByUuid_PrevAndNext(long channelInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the channel instances before and after the current channel instance in the ordered set where uuid = ?.
|
static java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid)
Returns all the channel instances where uuid = ?.
|
static java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the channel instances where uuid = ?.
|
static java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns an ordered range of all the channel instances where uuid = ?.
|
static java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the channel instances where uuid = ?.
|
static java.util.List<ChannelInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ChannelInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ChannelInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static ChannelInstancePersistence |
getPersistence() |
static ChannelInstance |
remove(long channelInstanceId)
Removes the channel instance with the primary key from the database.
|
static void |
removeAll()
Removes all the channel instances from the database.
|
static void |
removeByC_K(long campaignId,
java.lang.String channelKey)
Removes all the channel instances where campaignId = ? and channelKey = ? from the database.
|
static void |
removeByCampaignId(long campaignId)
Removes all the channel instances where campaignId = ? from the database.
|
static void |
removeByChannelKey(java.lang.String channelKey)
Removes all the channel instances where channelKey = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the channel instances where groupId = ? from the database.
|
static ChannelInstance |
removeByT_A(long tacticId,
java.lang.String alias)
Removes the channel instance where tacticId = ? and alias = ? from the database.
|
static void |
removeByT_K(long tacticId,
java.lang.String channelKey)
Removes all the channel instances where tacticId = ? and channelKey = ? from the database.
|
static void |
removeByTacticId(long tacticId)
Removes all the channel instances where tacticId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the channel instances where uuid = ? and companyId = ? from the database.
|
static ChannelInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the channel instance where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the channel instances where uuid = ? from the database.
|
static ChannelInstance |
update(ChannelInstance channelInstance) |
static ChannelInstance |
update(ChannelInstance channelInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ChannelInstance |
updateImpl(ChannelInstance channelInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ChannelInstance channelInstance)
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.List<ChannelInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ChannelInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ChannelInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ChannelInstance update(ChannelInstance channelInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ChannelInstance update(ChannelInstance channelInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ChannelInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ChannelInstance> findByUuid(java.lang.String uuid, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByUuid_PrevAndNext(long channelInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static ChannelInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchChannelInstanceException
NoSuchChannelInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching channel instance could not be foundpublic static ChannelInstance fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching channel instance could not be foundpublic static ChannelInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchChannelInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchChannelInstanceException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<ChannelInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ChannelInstance> findByUuid_C(java.lang.String uuid, long companyId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByUuid_C_PrevAndNext(long channelInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ChannelInstance> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<ChannelInstance> findByGroupId(long groupId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByGroupId_PrevAndNext(long channelInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<ChannelInstance> findByChannelKey(java.lang.String channelKey)
channelKey
- the channel keypublic static java.util.List<ChannelInstance> findByChannelKey(java.lang.String channelKey, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
channelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByChannelKey(java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
channelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByChannelKey(java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
channelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByChannelKey_First(java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByChannelKey_First(java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
channelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByChannelKey_Last(java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByChannelKey_Last(java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
channelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByChannelKey_PrevAndNext(long channelInstanceId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancechannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByChannelKey(java.lang.String channelKey)
channelKey
- the channel keypublic static int countByChannelKey(java.lang.String channelKey)
channelKey
- the channel keypublic static java.util.List<ChannelInstance> findByCampaignId(long campaignId)
campaignId
- the campaign IDpublic static java.util.List<ChannelInstance> findByCampaignId(long campaignId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByCampaignId(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByCampaignId(long campaignId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByCampaignId_First(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
campaignId
- the campaign IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByCampaignId_First(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
campaignId
- the campaign IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByCampaignId_Last(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
campaignId
- the campaign IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByCampaignId_Last(long campaignId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
campaignId
- the campaign IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByCampaignId_PrevAndNext(long channelInstanceId, long campaignId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancecampaignId
- the campaign IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByCampaignId(long campaignId)
campaignId
- the campaign IDpublic static int countByCampaignId(long campaignId)
campaignId
- the campaign IDpublic static java.util.List<ChannelInstance> findByTacticId(long tacticId)
tacticId
- the tactic IDpublic static java.util.List<ChannelInstance> findByTacticId(long tacticId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByTacticId(long tacticId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByTacticId(long tacticId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDstart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByTacticId_First(long tacticId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
tacticId
- the tactic IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByTacticId_First(long tacticId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
tacticId
- the tactic IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByTacticId_Last(long tacticId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
tacticId
- the tactic IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByTacticId_Last(long tacticId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
tacticId
- the tactic IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByTacticId_PrevAndNext(long channelInstanceId, long tacticId, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancetacticId
- the tactic IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByTacticId(long tacticId)
tacticId
- the tactic IDpublic static int countByTacticId(long tacticId)
tacticId
- the tactic IDpublic static java.util.List<ChannelInstance> findByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keypublic static java.util.List<ChannelInstance> findByC_K(long campaignId, java.lang.String channelKey, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByC_K(long campaignId, java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByC_K(long campaignId, java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
campaignId
- the campaign IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByC_K_First(long campaignId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
campaignId
- the campaign IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByC_K_First(long campaignId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
campaignId
- the campaign IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByC_K_Last(long campaignId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
campaignId
- the campaign IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByC_K_Last(long campaignId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
campaignId
- the campaign IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByC_K_PrevAndNext(long channelInstanceId, long campaignId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancecampaignId
- the campaign IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keypublic static int countByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keypublic static java.util.List<ChannelInstance> findByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keypublic static java.util.List<ChannelInstance> findByT_K(long tacticId, java.lang.String channelKey, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findByT_K(long tacticId, java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findByT_K(long tacticId, java.lang.String channelKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tacticId
- the tactic IDchannelKey
- the channel keystart
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static ChannelInstance findByT_K_First(long tacticId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
tacticId
- the tactic IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByT_K_First(long tacticId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
tacticId
- the tactic IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance findByT_K_Last(long tacticId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
tacticId
- the tactic IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByT_K_Last(long tacticId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
tacticId
- the tactic IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching channel instance could not be foundpublic static ChannelInstance[] findByT_K_PrevAndNext(long channelInstanceId, long tacticId, java.lang.String channelKey, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the current channel instancetacticId
- the tactic IDchannelKey
- the channel keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static void removeByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keypublic static int countByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keypublic static ChannelInstance findByT_A(long tacticId, java.lang.String alias) throws NoSuchChannelInstanceException
NoSuchChannelInstanceException
if it could not be found.tacticId
- the tactic IDalias
- the aliasNoSuchChannelInstanceException
- if a matching channel instance could not be foundpublic static ChannelInstance fetchByT_A(long tacticId, java.lang.String alias)
null
if it could not be found. Uses the finder cache.tacticId
- the tactic IDalias
- the aliasnull
if a matching channel instance could not be foundpublic static ChannelInstance fetchByT_A(long tacticId, java.lang.String alias, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.tacticId
- the tactic IDalias
- the aliasretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching channel instance could not be foundpublic static ChannelInstance removeByT_A(long tacticId, java.lang.String alias) throws NoSuchChannelInstanceException
tacticId
- the tactic IDalias
- the aliasNoSuchChannelInstanceException
public static int countByT_A(long tacticId, java.lang.String alias)
tacticId
- the tactic IDalias
- the aliaspublic static void cacheResult(ChannelInstance channelInstance)
channelInstance
- the channel instancepublic static void cacheResult(java.util.List<ChannelInstance> channelInstances)
channelInstances
- the channel instancespublic static ChannelInstance create(long channelInstanceId)
channelInstanceId
- the primary key for the new channel instancepublic static ChannelInstance remove(long channelInstanceId) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the channel instanceNoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static ChannelInstance updateImpl(ChannelInstance channelInstance)
public static ChannelInstance findByPrimaryKey(long channelInstanceId) throws NoSuchChannelInstanceException
NoSuchChannelInstanceException
if it could not be found.channelInstanceId
- the primary key of the channel instanceNoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundpublic static ChannelInstance fetchByPrimaryKey(long channelInstanceId)
null
if it could not be found.channelInstanceId
- the primary key of the channel instancenull
if a channel instance with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,ChannelInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<ChannelInstance> findAll()
public static java.util.List<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)public static java.util.List<ChannelInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ChannelInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChannelInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of channel instancesend
- the upper bound of the range of channel instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static ChannelInstancePersistence getPersistence()