@ProviderType public interface CommerceChannelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceChannel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannel>
Caching information and settings can be found in portal.properties
CommerceChannelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceChannel commerceChannel)
Caches the commerce channel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceChannel> commerceChannels)
Caches the commerce channels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce channels.
|
int |
countByAccountEntryId(long accountEntryId)
Returns the number of commerce channels where accountEntryId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce channels where companyId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce channels where externalReferenceCode = ? and companyId = ?.
|
int |
countBySiteGroupId(long siteGroupId)
Returns the number of commerce channels where siteGroupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce channels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce channels where uuid = ?.
|
CommerceChannel |
create(long commerceChannelId)
Creates a new commerce channel with the primary key.
|
CommerceChannel |
fetchByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where accountEntryId = ?.
|
CommerceChannel |
fetchByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where accountEntryId = ?.
|
CommerceChannel |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where companyId = ?.
|
CommerceChannel |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where companyId = ?.
|
CommerceChannel |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce channel where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceChannel |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce channel where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceChannel |
fetchByPrimaryKey(long commerceChannelId)
Returns the commerce channel with the primary key or returns
null if it could not be found. |
CommerceChannel |
fetchBySiteGroupId(long siteGroupId)
Returns the commerce channel where siteGroupId = ? or returns
null if it could not be found. |
CommerceChannel |
fetchBySiteGroupId(long siteGroupId,
boolean useFinderCache)
Returns the commerce channel where siteGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceChannel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where uuid = ? and companyId = ?.
|
CommerceChannel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where uuid = ? and companyId = ?.
|
CommerceChannel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where uuid = ?.
|
CommerceChannel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where uuid = ?.
|
int |
filterCountByAccountEntryId(long accountEntryId)
Returns the number of commerce channels that the user has permission to view where accountEntryId = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce channels that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce channels that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce channels that the user has permission to view where uuid = ?.
|
CommerceChannel[] |
filterFindByAccountEntryId_PrevAndNext(long commerceChannelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set of commerce channels that the user has permission to view where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
filterFindByAccountEntryId(long accountEntryId)
Returns all the commerce channels that the user has permission to view where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
filterFindByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the commerce channels that the user has permission to view where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
filterFindByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels that the user has permissions to view where accountEntryId = ?.
|
CommerceChannel[] |
filterFindByCompanyId_PrevAndNext(long commerceChannelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set of commerce channels that the user has permission to view where companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByCompanyId(long companyId)
Returns all the commerce channels that the user has permission to view where companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce channels that the user has permission to view where companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels that the user has permissions to view where companyId = ?.
|
CommerceChannel[] |
filterFindByUuid_C_PrevAndNext(long commerceChannelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set of commerce channels that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce channels that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce channels that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels that the user has permissions to view where uuid = ? and companyId = ?.
|
CommerceChannel[] |
filterFindByUuid_PrevAndNext(long commerceChannelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set of commerce channels that the user has permission to view where uuid = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce channels that the user has permission to view where uuid = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce channels that the user has permission to view where uuid = ?.
|
java.util.List<CommerceChannel> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels that the user has permissions to view where uuid = ?.
|
java.util.List<CommerceChannel> |
findAll()
Returns all the commerce channels.
|
java.util.List<CommerceChannel> |
findAll(int start,
int end)
Returns a range of all the commerce channels.
|
java.util.List<CommerceChannel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels.
|
java.util.List<CommerceChannel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channels.
|
CommerceChannel |
findByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where accountEntryId = ?.
|
CommerceChannel |
findByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where accountEntryId = ?.
|
CommerceChannel[] |
findByAccountEntryId_PrevAndNext(long commerceChannelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
findByAccountEntryId(long accountEntryId)
Returns all the commerce channels where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the commerce channels where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels where accountEntryId = ?.
|
java.util.List<CommerceChannel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channels where accountEntryId = ?.
|
CommerceChannel |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where companyId = ?.
|
CommerceChannel |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where companyId = ?.
|
CommerceChannel[] |
findByCompanyId_PrevAndNext(long commerceChannelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set where companyId = ?.
|
java.util.List<CommerceChannel> |
findByCompanyId(long companyId)
Returns all the commerce channels where companyId = ?.
|
java.util.List<CommerceChannel> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce channels where companyId = ?.
|
java.util.List<CommerceChannel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels where companyId = ?.
|
java.util.List<CommerceChannel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channels where companyId = ?.
|
CommerceChannel |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce channel where externalReferenceCode = ? and companyId = ? or throws a
NoSuchChannelException if it could not be found. |
CommerceChannel |
findByPrimaryKey(long commerceChannelId)
Returns the commerce channel with the primary key or throws a
NoSuchChannelException if it could not be found. |
CommerceChannel |
findBySiteGroupId(long siteGroupId)
Returns the commerce channel where siteGroupId = ? or throws a
NoSuchChannelException if it could not be found. |
CommerceChannel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where uuid = ? and companyId = ?.
|
CommerceChannel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where uuid = ? and companyId = ?.
|
CommerceChannel[] |
findByUuid_C_PrevAndNext(long commerceChannelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce channels where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce channels where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels where uuid = ? and companyId = ?.
|
java.util.List<CommerceChannel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channels where uuid = ? and companyId = ?.
|
CommerceChannel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the first commerce channel in the ordered set where uuid = ?.
|
CommerceChannel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the last commerce channel in the ordered set where uuid = ?.
|
CommerceChannel[] |
findByUuid_PrevAndNext(long commerceChannelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns the commerce channels before and after the current commerce channel in the ordered set where uuid = ?.
|
java.util.List<CommerceChannel> |
findByUuid(java.lang.String uuid)
Returns all the commerce channels where uuid = ?.
|
java.util.List<CommerceChannel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce channels where uuid = ?.
|
java.util.List<CommerceChannel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Returns an ordered range of all the commerce channels where uuid = ?.
|
java.util.List<CommerceChannel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channels where uuid = ?.
|
CommerceChannel |
remove(long commerceChannelId)
Removes the commerce channel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce channels from the database.
|
void |
removeByAccountEntryId(long accountEntryId)
Removes all the commerce channels where accountEntryId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce channels where companyId = ? from the database.
|
CommerceChannel |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce channel where externalReferenceCode = ? and companyId = ? from the database.
|
CommerceChannel |
removeBySiteGroupId(long siteGroupId)
Removes the commerce channel where siteGroupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce channels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce channels where uuid = ? from the database.
|
CommerceChannel |
updateImpl(CommerceChannel commerceChannel) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceChannel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceChannel> 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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceChannel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceChannel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel[] findByUuid_PrevAndNext(long commerceChannelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channeluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundjava.util.List<CommerceChannel> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceChannel> filterFindByUuid(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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceChannel[] filterFindByUuid_PrevAndNext(long commerceChannelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channeluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceChannel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceChannel> 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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceChannel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceChannel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel[] findByUuid_C_PrevAndNext(long commerceChannelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channeluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundjava.util.List<CommerceChannel> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceChannel> filterFindByUuid_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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceChannel[] filterFindByUuid_C_PrevAndNext(long commerceChannelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channeluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel 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 IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceChannel> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceChannel> findByCompanyId(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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceChannel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceChannel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel[] findByCompanyId_PrevAndNext(long commerceChannelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channelcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundjava.util.List<CommerceChannel> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceChannel> filterFindByCompanyId(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, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceChannel[] filterFindByCompanyId_PrevAndNext(long commerceChannelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channelcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceChannel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceChannel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceChannel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel could not be foundCommerceChannel[] findByAccountEntryId_PrevAndNext(long commerceChannelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channelaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundjava.util.List<CommerceChannel> filterFindByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<CommerceChannel> filterFindByAccountEntryId(long accountEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> filterFindByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceChannel[] filterFindByAccountEntryId_PrevAndNext(long commerceChannelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator) throws NoSuchChannelException
commerceChannelId
- the primary key of the current commerce channelaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelException
- if a commerce channel with the primary key could not be foundvoid removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDint countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDint filterCountByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDCommerceChannel findBySiteGroupId(long siteGroupId) throws NoSuchChannelException
NoSuchChannelException
if it could not be found.siteGroupId
- the site group IDNoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchBySiteGroupId(long siteGroupId)
null
if it could not be found. Uses the finder cache.siteGroupId
- the site group IDnull
if a matching commerce channel could not be foundCommerceChannel fetchBySiteGroupId(long siteGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.siteGroupId
- the site group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce channel could not be foundCommerceChannel removeBySiteGroupId(long siteGroupId) throws NoSuchChannelException
siteGroupId
- the site group IDNoSuchChannelException
int countBySiteGroupId(long siteGroupId)
siteGroupId
- the site group IDCommerceChannel findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchChannelException
NoSuchChannelException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchChannelException
- if a matching commerce channel could not be foundCommerceChannel fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce channel could not be foundCommerceChannel fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce channel could not be foundCommerceChannel removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchChannelException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchChannelException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceChannel commerceChannel)
commerceChannel
- the commerce channelvoid cacheResult(java.util.List<CommerceChannel> commerceChannels)
commerceChannels
- the commerce channelsCommerceChannel create(long commerceChannelId)
commerceChannelId
- the primary key for the new commerce channelCommerceChannel remove(long commerceChannelId) throws NoSuchChannelException
commerceChannelId
- the primary key of the commerce channelNoSuchChannelException
- if a commerce channel with the primary key could not be foundCommerceChannel updateImpl(CommerceChannel commerceChannel)
CommerceChannel findByPrimaryKey(long commerceChannelId) throws NoSuchChannelException
NoSuchChannelException
if it could not be found.commerceChannelId
- the primary key of the commerce channelNoSuchChannelException
- if a commerce channel with the primary key could not be foundCommerceChannel fetchByPrimaryKey(long commerceChannelId)
null
if it could not be found.commerceChannelId
- the primary key of the commerce channelnull
if a commerce channel with the primary key could not be foundjava.util.List<CommerceChannel> findAll()
java.util.List<CommerceChannel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
start
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)java.util.List<CommerceChannel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
start
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceChannel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceChannelModelImpl
.
start
- the lower bound of the range of commerce channelsend
- the upper bound of the range of commerce channels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()