Interface CommerceChannelRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceChannelRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceChannelRel commerceChannelRel) Caches the commerce channel rel in the entity cache if it is enabled.void
cacheResult
(List<CommerceChannelRel> commerceChannelRels) Caches the commerce channel rels in the entity cache if it is enabled.int
countAll()
Returns the number of commerce channel rels.int
countByC_C
(long classNameId, long classPK) Returns the number of commerce channel rels where classNameId = ? and classPK = ?.int
countByC_C_C
(long classNameId, long classPK, long commerceChannelId) Returns the number of commerce channel rels where classNameId = ? and classPK = ? and commerceChannelId = ?.int
countByCommerceChannelId
(long commerceChannelId) Returns the number of commerce channel rels where commerceChannelId = ?.create
(long commerceChannelRelId) Creates a new commerce channel rel with the primary key.fetchByC_C_C
(long classNameId, long classPK, long commerceChannelId) Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long commerceChannelId, boolean useFinderCache) Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.fetchByCommerceChannelId_First
(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.fetchByCommerceChannelId_Last
(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.fetchByPrimaryKey
(long commerceChannelRelId) Returns the commerce channel rel with the primary key or returnsnull
if it could not be found.findAll()
Returns all the commerce channel rels.findAll
(int start, int end) Returns a range of all the commerce channel rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels.findByC_C
(long classNameId, long classPK) Returns all the commerce channel rels where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the commerce channel rels where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.findByC_C_C
(long classNameId, long classPK, long commerceChannelId) Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or throws aNoSuchChannelRelException
if it could not be found.findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.findByC_C_PrevAndNext
(long commerceChannelRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where classNameId = ? and classPK = ?.findByCommerceChannelId
(long commerceChannelId) Returns all the commerce channel rels where commerceChannelId = ?.findByCommerceChannelId
(long commerceChannelId, int start, int end) Returns a range of all the commerce channel rels where commerceChannelId = ?.findByCommerceChannelId
(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.findByCommerceChannelId
(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.findByCommerceChannelId_First
(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.findByCommerceChannelId_Last
(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.findByCommerceChannelId_PrevAndNext
(long commerceChannelRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where commerceChannelId = ?.findByPrimaryKey
(long commerceChannelRelId) Returns the commerce channel rel with the primary key or throws aNoSuchChannelRelException
if it could not be found.remove
(long commerceChannelRelId) Removes the commerce channel rel with the primary key from the database.void
Removes all the commerce channel rels from the database.void
removeByC_C
(long classNameId, long classPK) Removes all the commerce channel rels where classNameId = ? and classPK = ? from the database.removeByC_C_C
(long classNameId, long classPK, long commerceChannelId) Removes the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? from the database.void
removeByCommerceChannelId
(long commerceChannelId) Removes all the commerce channel rels where commerceChannelId = ? from the database.updateImpl
(CommerceChannelRel commerceChannelRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCommerceChannelId
Returns all the commerce channel rels where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel ID- Returns:
- the matching commerce channel rels
-
findByCommerceChannelId
Returns a range of all the commerce channel rels where commerceChannelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)- Returns:
- the range of matching commerce channel rels
-
findByCommerceChannelId
List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce channel rels
-
findByCommerceChannelId
List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce channel rels
-
findByCommerceChannelId_First
CommerceChannelRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce channel rel
- Throws:
NoSuchChannelRelException
- if a matching commerce channel rel could not be found
-
fetchByCommerceChannelId_First
CommerceChannelRel fetchByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
findByCommerceChannelId_Last
CommerceChannelRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce channel rel
- Throws:
NoSuchChannelRelException
- if a matching commerce channel rel could not be found
-
fetchByCommerceChannelId_Last
CommerceChannelRel fetchByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
findByCommerceChannelId_PrevAndNext
CommerceChannelRel[] findByCommerceChannelId_PrevAndNext(long commerceChannelRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where commerceChannelId = ?.- Parameters:
commerceChannelRelId
- the primary key of the current commerce channel relcommerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce channel rel
- Throws:
NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be found
-
removeByCommerceChannelId
void removeByCommerceChannelId(long commerceChannelId) Removes all the commerce channel rels where commerceChannelId = ? from the database.- Parameters:
commerceChannelId
- the commerce channel ID
-
countByCommerceChannelId
int countByCommerceChannelId(long commerceChannelId) Returns the number of commerce channel rels where commerceChannelId = ?.- Parameters:
commerceChannelId
- the commerce channel ID- Returns:
- the number of matching commerce channel rels
-
findByC_C
Returns all the commerce channel rels where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching commerce channel rels
-
findByC_C
Returns a range of all the commerce channel rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)- Returns:
- the range of matching commerce channel rels
-
findByC_C
List<CommerceChannelRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce channel rels
-
findByC_C
List<CommerceChannelRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce channel rels
-
findByC_C_First
CommerceChannelRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce channel rel
- Throws:
NoSuchChannelRelException
- if a matching commerce channel rel could not be found
-
fetchByC_C_First
CommerceChannelRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
findByC_C_Last
CommerceChannelRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce channel rel
- Throws:
NoSuchChannelRelException
- if a matching commerce channel rel could not be found
-
fetchByC_C_Last
CommerceChannelRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
findByC_C_PrevAndNext
CommerceChannelRel[] findByC_C_PrevAndNext(long commerceChannelRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where classNameId = ? and classPK = ?.- Parameters:
commerceChannelRelId
- the primary key of the current commerce channel relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce channel rel
- Throws:
NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long classPK) Removes all the commerce channel rels where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of commerce channel rels where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching commerce channel rels
-
findByC_C_C
CommerceChannelRel findByC_C_C(long classNameId, long classPK, long commerceChannelId) throws NoSuchChannelRelException Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or throws aNoSuchChannelRelException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel ID- Returns:
- the matching commerce channel rel
- Throws:
NoSuchChannelRelException
- if a matching commerce channel rel could not be found
-
fetchByC_C_C
Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel ID- Returns:
- the matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
fetchByC_C_C
CommerceChannelRel fetchByC_C_C(long classNameId, long classPK, long commerceChannelId, boolean useFinderCache) Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce channel rel, or
null
if a matching commerce channel rel could not be found
-
removeByC_C_C
CommerceChannelRel removeByC_C_C(long classNameId, long classPK, long commerceChannelId) throws NoSuchChannelRelException Removes the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel ID- Returns:
- the commerce channel rel that was removed
- Throws:
NoSuchChannelRelException
-
countByC_C_C
int countByC_C_C(long classNameId, long classPK, long commerceChannelId) Returns the number of commerce channel rels where classNameId = ? and classPK = ? and commerceChannelId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel ID- Returns:
- the number of matching commerce channel rels
-
cacheResult
Caches the commerce channel rel in the entity cache if it is enabled.- Parameters:
commerceChannelRel
- the commerce channel rel
-
cacheResult
Caches the commerce channel rels in the entity cache if it is enabled.- Parameters:
commerceChannelRels
- the commerce channel rels
-
create
Creates a new commerce channel rel with the primary key. Does not add the commerce channel rel to the database.- Parameters:
commerceChannelRelId
- the primary key for the new commerce channel rel- Returns:
- the new commerce channel rel
-
remove
Removes the commerce channel rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceChannelRelId
- the primary key of the commerce channel rel- Returns:
- the commerce channel rel that was removed
- Throws:
NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the commerce channel rel with the primary key or throws aNoSuchChannelRelException
if it could not be found.- Parameters:
commerceChannelRelId
- the primary key of the commerce channel rel- Returns:
- the commerce channel rel
- Throws:
NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce channel rel with the primary key or returnsnull
if it could not be found.- Parameters:
commerceChannelRelId
- the primary key of the commerce channel rel- Returns:
- the commerce channel rel, or
null
if a commerce channel rel with the primary key could not be found
-
findAll
List<CommerceChannelRel> findAll()Returns all the commerce channel rels.- Returns:
- the commerce channel rels
-
findAll
Returns a range of all the commerce channel rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)- Returns:
- the range of commerce channel rels
-
findAll
List<CommerceChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) Returns an ordered range of all the commerce channel rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce channel rels
-
findAll
List<CommerceChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce channel rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceChannelRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce channel rels
-
removeAll
void removeAll()Removes all the commerce channel rels from the database. -
countAll
int countAll()Returns the number of commerce channel rels.- Returns:
- the number of commerce channel rels
-