@ProviderType public interface ChannelInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ChannelInstance>
Caching information and settings can be found in portal.properties
com.liferay.content.targeting.service.persistence.impl.ChannelInstancePersistenceImpl
,
ChannelInstanceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(ChannelInstance channelInstance)
Caches the channel instance in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<ChannelInstance> channelInstances)
Caches the channel instances in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of channel instances.
|
int |
countByC_K(long campaignId,
java.lang.String channelKey)
Returns the number of channel instances where campaignId = ? and channelKey = ?.
|
int |
countByCampaignId(long campaignId)
Returns the number of channel instances where campaignId = ?.
|
int |
countByChannelKey(java.lang.String channelKey)
Returns the number of channel instances where channelKey = ?.
|
int |
countByGroupId(long groupId)
Returns the number of channel instances where groupId = ?.
|
int |
countByT_A(long tacticId,
java.lang.String alias)
Returns the number of channel instances where tacticId = ? and alias = ?.
|
int |
countByT_K(long tacticId,
java.lang.String channelKey)
Returns the number of channel instances where tacticId = ? and channelKey = ?.
|
int |
countByTacticId(long tacticId)
Returns the number of channel instances where tacticId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of channel instances where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of channel instances where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of channel instances where uuid = ?.
|
ChannelInstance |
create(long channelInstanceId)
Creates a new channel instance with the primary key.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
fetchByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ?.
|
ChannelInstance |
fetchByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ?.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where groupId = ?.
|
ChannelInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where groupId = ?.
|
ChannelInstance |
fetchByPrimaryKey(long channelInstanceId)
Returns the channel instance with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,ChannelInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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. |
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. |
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 = ?.
|
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 = ?.
|
ChannelInstance |
fetchByTacticId_First(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ?.
|
ChannelInstance |
fetchByTacticId_Last(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
java.util.List<ChannelInstance> |
findAll()
Returns all the channel instances.
|
java.util.List<ChannelInstance> |
findAll(int start,
int end)
Returns a range of all the channel instances.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByC_K(long campaignId,
java.lang.String channelKey)
Returns all the channel instances where campaignId = ? and channelKey = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
findByCampaignId_First(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where campaignId = ?.
|
ChannelInstance |
findByCampaignId_Last(long campaignId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where campaignId = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByCampaignId(long campaignId)
Returns all the channel instances where campaignId = ?.
|
java.util.List<ChannelInstance> |
findByCampaignId(long campaignId,
int start,
int end)
Returns a range of all the channel instances where campaignId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey)
Returns all the channel instances where channelKey = ?.
|
java.util.List<ChannelInstance> |
findByChannelKey(java.lang.String channelKey,
int start,
int end)
Returns a range of all the channel instances where channelKey = ?.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where groupId = ?.
|
ChannelInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByGroupId(long groupId)
Returns all the channel instances where groupId = ?.
|
java.util.List<ChannelInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the channel instances where groupId = ?.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
findByPrimaryKey(long channelInstanceId)
Returns the channel instance with the primary key or throws a
NoSuchChannelInstanceException if it could not be found. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByT_K(long tacticId,
java.lang.String channelKey)
Returns all the channel instances where tacticId = ? and channelKey = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
ChannelInstance |
findByTacticId_First(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the first channel instance in the ordered set where tacticId = ?.
|
ChannelInstance |
findByTacticId_Last(long tacticId,
com.liferay.portal.kernel.util.OrderByComparator<ChannelInstance> orderByComparator)
Returns the last channel instance in the ordered set where tacticId = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByTacticId(long tacticId)
Returns all the channel instances where tacticId = ?.
|
java.util.List<ChannelInstance> |
findByTacticId(long tacticId,
int start,
int end)
Returns a range of all the channel instances where tacticId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the channel instances where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid)
Returns all the channel instances where uuid = ?.
|
java.util.List<ChannelInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the channel instances where uuid = ?.
|
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 = ?.
|
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 = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
ChannelInstance |
remove(long channelInstanceId)
Removes the channel instance with the primary key from the database.
|
void |
removeAll()
Removes all the channel instances from the database.
|
void |
removeByC_K(long campaignId,
java.lang.String channelKey)
Removes all the channel instances where campaignId = ? and channelKey = ? from the database.
|
void |
removeByCampaignId(long campaignId)
Removes all the channel instances where campaignId = ? from the database.
|
void |
removeByChannelKey(java.lang.String channelKey)
Removes all the channel instances where channelKey = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the channel instances where groupId = ? from the database.
|
ChannelInstance |
removeByT_A(long tacticId,
java.lang.String alias)
Removes the channel instance where tacticId = ? and alias = ? from the database.
|
void |
removeByT_K(long tacticId,
java.lang.String channelKey)
Removes all the channel instances where tacticId = ? and channelKey = ? from the database.
|
void |
removeByTacticId(long tacticId)
Removes all the channel instances where tacticId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the channel instances where uuid = ? and companyId = ? from the database.
|
ChannelInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the channel instance where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the channel instances where uuid = ? from the database.
|
ChannelInstance |
updateImpl(ChannelInstance channelInstance) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ChannelInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchChannelInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchChannelInstanceException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<ChannelInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ChannelInstance> findByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<ChannelInstance> findByChannelKey(java.lang.String channelKey)
channelKey
- the channel keyjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByChannelKey(java.lang.String channelKey)
channelKey
- the channel keyint countByChannelKey(java.lang.String channelKey)
channelKey
- the channel keyjava.util.List<ChannelInstance> findByCampaignId(long campaignId)
campaignId
- the campaign IDjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByCampaignId(long campaignId)
campaignId
- the campaign IDint countByCampaignId(long campaignId)
campaignId
- the campaign IDjava.util.List<ChannelInstance> findByTacticId(long tacticId)
tacticId
- the tactic IDjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByTacticId(long tacticId)
tacticId
- the tactic IDint countByTacticId(long tacticId)
tacticId
- the tactic IDjava.util.List<ChannelInstance> findByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keyjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keyint countByC_K(long campaignId, java.lang.String channelKey)
campaignId
- the campaign IDchannelKey
- the channel keyjava.util.List<ChannelInstance> findByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keyjava.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)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
)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 cacheChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance[] 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 foundvoid removeByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keyint countByT_K(long tacticId, java.lang.String channelKey)
tacticId
- the tactic IDchannelKey
- the channel keyChannelInstance 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 foundChannelInstance 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 foundChannelInstance 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 foundChannelInstance removeByT_A(long tacticId, java.lang.String alias) throws NoSuchChannelInstanceException
tacticId
- the tactic IDalias
- the aliasNoSuchChannelInstanceException
int countByT_A(long tacticId, java.lang.String alias)
tacticId
- the tactic IDalias
- the aliasvoid cacheResult(ChannelInstance channelInstance)
channelInstance
- the channel instancevoid cacheResult(java.util.List<ChannelInstance> channelInstances)
channelInstances
- the channel instancesChannelInstance create(long channelInstanceId)
channelInstanceId
- the primary key for the new channel instanceChannelInstance remove(long channelInstanceId) throws NoSuchChannelInstanceException
channelInstanceId
- the primary key of the channel instanceNoSuchChannelInstanceException
- if a channel instance with the primary key could not be foundChannelInstance updateImpl(ChannelInstance channelInstance)
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 foundChannelInstance 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 foundjava.util.Map<java.io.Serializable,ChannelInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ChannelInstance>
java.util.List<ChannelInstance> findAll()
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)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
)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 cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<ChannelInstance>