Interface CommerceOrderTypeRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderTypeRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceOrderTypeRel commerceOrderTypeRel) Caches the commerce order type rel in the entity cache if it is enabled.void
cacheResult
(List<CommerceOrderTypeRel> commerceOrderTypeRels) Caches the commerce order type rels in the entity cache if it is enabled.int
countAll()
Returns the number of commerce order type rels.int
countByC_C
(long classNameId, long commerceOrderTypeId) Returns the number of commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.int
countByC_C_C
(long classNameId, long classPK, long commerceOrderTypeId) Returns the number of commerce order type rels where classNameId = ? and classPK = ? and commerceOrderTypeId = ?.int
countByCommerceOrderTypeId
(long commerceOrderTypeId) Returns the number of commerce order type rels where commerceOrderTypeId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce order type rels where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of commerce order type rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce order type rels where uuid = ? and companyId = ?.create
(long commerceOrderTypeRelId) Creates a new commerce order type rel with the primary key.fetchByC_C_C
(long classNameId, long classPK, long commerceOrderTypeId) Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.fetchByC_C_Last
(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.fetchByCommerceOrderTypeId_First
(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.fetchByCommerceOrderTypeId_Last
(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long commerceOrderTypeRelId) Returns the commerce order type rel with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ?.findAll()
Returns all the commerce order type rels.findAll
(int start, int end) Returns a range of all the commerce order type rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels.findByC_C
(long classNameId, long commerceOrderTypeId) Returns all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.findByC_C
(long classNameId, long commerceOrderTypeId, int start, int end) Returns a range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.findByC_C
(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.findByC_C
(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.findByC_C_C
(long classNameId, long classPK, long commerceOrderTypeId) Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or throws aNoSuchOrderTypeRelException
if it could not be found.findByC_C_First
(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.findByC_C_Last
(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.findByC_C_PrevAndNext
(long commerceOrderTypeRelId, long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.findByCommerceOrderTypeId
(long commerceOrderTypeId) Returns all the commerce order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId
(long commerceOrderTypeId, int start, int end) Returns a range of all the commerce order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId
(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId
(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId_First
(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.findByCommerceOrderTypeId_Last
(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.findByCommerceOrderTypeId_PrevAndNext
(long commerceOrderTypeRelId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where commerceOrderTypeId = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderTypeRelException
if it could not be found.findByPrimaryKey
(long commerceOrderTypeRelId) Returns the commerce order type rel with the primary key or throws aNoSuchOrderTypeRelException
if it could not be found.findByUuid
(String uuid) Returns all the commerce order type rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce order type rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce order type rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce order type rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commerceOrderTypeRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceOrderTypeRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where uuid = ?.remove
(long commerceOrderTypeRelId) Removes the commerce order type rel with the primary key from the database.void
Removes all the commerce order type rels from the database.void
removeByC_C
(long classNameId, long commerceOrderTypeId) Removes all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ? from the database.removeByC_C_C
(long classNameId, long classPK, long commerceOrderTypeId) Removes the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? from the database.void
removeByCommerceOrderTypeId
(long commerceOrderTypeId) Removes all the commerce order type rels where commerceOrderTypeId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce order type rel where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce order type rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce order type rels where uuid = ? and companyId = ? from the database.updateImpl
(CommerceOrderTypeRel commerceOrderTypeRel) 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
-
Method Details
-
findByUuid
Returns all the commerce order type rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce order type rels
-
findByUuid
Returns a range of all the commerce order type rels where uuid = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)- Returns:
- the range of matching commerce order type rels
-
findByUuid
List<CommerceOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where uuid = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order type rels
-
findByUuid
List<CommerceOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where uuid = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type 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 order type rels
-
findByUuid_First
CommerceOrderTypeRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the first commerce order type rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByUuid_First
CommerceOrderTypeRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByUuid_Last
CommerceOrderTypeRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the last commerce order type rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByUuid_Last
CommerceOrderTypeRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByUuid_PrevAndNext
CommerceOrderTypeRel[] findByUuid_PrevAndNext(long commerceOrderTypeRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where uuid = ?.- Parameters:
commerceOrderTypeRelId
- the primary key of the current commerce order type reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
removeByUuid
Removes all the commerce order type rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce order type rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce order type rels
-
findByUuid_C
Returns all the commerce order type rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce order type rels
-
findByUuid_C
Returns a range of all the commerce order type rels where uuid = ? and companyId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)- Returns:
- the range of matching commerce order type rels
-
findByUuid_C
List<CommerceOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where uuid = ? and companyId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order type rels
-
findByUuid_C
List<CommerceOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where uuid = ? and companyId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type 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 order type rels
-
findByUuid_C_First
CommerceOrderTypeRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByUuid_C_First
CommerceOrderTypeRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByUuid_C_Last
CommerceOrderTypeRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByUuid_C_Last
CommerceOrderTypeRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByUuid_C_PrevAndNext
CommerceOrderTypeRel[] findByUuid_C_PrevAndNext(long commerceOrderTypeRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceOrderTypeRelId
- the primary key of the current commerce order type reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
removeByUuid_C
Removes all the commerce order type rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce order type rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce order type rels
-
findByCommerceOrderTypeId
Returns all the commerce order type rels where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type ID- Returns:
- the matching commerce order type rels
-
findByCommerceOrderTypeId
Returns a range of all the commerce order type rels where commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)- Returns:
- the range of matching commerce order type rels
-
findByCommerceOrderTypeId
List<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order type rels
-
findByCommerceOrderTypeId
List<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type 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 order type rels
-
findByCommerceOrderTypeId_First
CommerceOrderTypeRel findByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByCommerceOrderTypeId_First
CommerceOrderTypeRel fetchByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByCommerceOrderTypeId_Last
CommerceOrderTypeRel findByCommerceOrderTypeId_Last(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByCommerceOrderTypeId_Last
CommerceOrderTypeRel fetchByCommerceOrderTypeId_Last(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByCommerceOrderTypeId_PrevAndNext
CommerceOrderTypeRel[] findByCommerceOrderTypeId_PrevAndNext(long commerceOrderTypeRelId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeRelId
- the primary key of the current commerce order type relcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
removeByCommerceOrderTypeId
void removeByCommerceOrderTypeId(long commerceOrderTypeId) Removes all the commerce order type rels where commerceOrderTypeId = ? from the database.- Parameters:
commerceOrderTypeId
- the commerce order type ID
-
countByCommerceOrderTypeId
int countByCommerceOrderTypeId(long commerceOrderTypeId) Returns the number of commerce order type rels where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId
- the commerce order type ID- Returns:
- the number of matching commerce order type rels
-
findByC_C
Returns all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type ID- Returns:
- the matching commerce order type rels
-
findByC_C
List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, int start, int end) Returns a range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)- Returns:
- the range of matching commerce order type rels
-
findByC_C
List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce order type rels
-
findByC_C
List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type 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 order type rels
-
findByC_C_First
CommerceOrderTypeRel findByC_C_First(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByC_C_First
CommerceOrderTypeRel fetchByC_C_First(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByC_C_Last
CommerceOrderTypeRel findByC_C_Last(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByC_C_Last
CommerceOrderTypeRel fetchByC_C_Last(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
findByC_C_PrevAndNext
CommerceOrderTypeRel[] findByC_C_PrevAndNext(long commerceOrderTypeRelId, long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeRelId
- the primary key of the current commerce order type relclassNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long commerceOrderTypeId) Removes all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ? from the database.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type ID
-
countByC_C
int countByC_C(long classNameId, long commerceOrderTypeId) Returns the number of commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type ID- Returns:
- the number of matching commerce order type rels
-
findByC_C_C
CommerceOrderTypeRel findByC_C_C(long classNameId, long classPK, long commerceOrderTypeId) throws NoSuchOrderTypeRelException Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or throws aNoSuchOrderTypeRelException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type ID- Returns:
- the matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByC_C_C
Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type ID- Returns:
- the matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
fetchByC_C_C
CommerceOrderTypeRel fetchByC_C_C(long classNameId, long classPK, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
removeByC_C_C
CommerceOrderTypeRel removeByC_C_C(long classNameId, long classPK, long commerceOrderTypeId) throws NoSuchOrderTypeRelException Removes the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type ID- Returns:
- the commerce order type rel that was removed
- Throws:
NoSuchOrderTypeRelException
-
countByC_C_C
int countByC_C_C(long classNameId, long classPK, long commerceOrderTypeId) Returns the number of commerce order type rels where classNameId = ? and classPK = ? and commerceOrderTypeId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type ID- Returns:
- the number of matching commerce order type rels
-
findByERC_C
CommerceOrderTypeRel findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderTypeRelException Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrderTypeRelException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be found
-
fetchByERC_C
Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
fetchByERC_C
CommerceOrderTypeRel fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce order type rel, or
null
if a matching commerce order type rel could not be found
-
removeByERC_C
CommerceOrderTypeRel removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOrderTypeRelException Removes the commerce order type rel where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce order type rel that was removed
- Throws:
NoSuchOrderTypeRelException
-
countByERC_C
Returns the number of commerce order type rels where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce order type rels
-
cacheResult
Caches the commerce order type rel in the entity cache if it is enabled.- Parameters:
commerceOrderTypeRel
- the commerce order type rel
-
cacheResult
Caches the commerce order type rels in the entity cache if it is enabled.- Parameters:
commerceOrderTypeRels
- the commerce order type rels
-
create
Creates a new commerce order type rel with the primary key. Does not add the commerce order type rel to the database.- Parameters:
commerceOrderTypeRelId
- the primary key for the new commerce order type rel- Returns:
- the new commerce order type rel
-
remove
Removes the commerce order type rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceOrderTypeRelId
- the primary key of the commerce order type rel- Returns:
- the commerce order type rel that was removed
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceOrderTypeRel findByPrimaryKey(long commerceOrderTypeRelId) throws NoSuchOrderTypeRelException Returns the commerce order type rel with the primary key or throws aNoSuchOrderTypeRelException
if it could not be found.- Parameters:
commerceOrderTypeRelId
- the primary key of the commerce order type rel- Returns:
- the commerce order type rel
- Throws:
NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce order type rel with the primary key or returnsnull
if it could not be found.- Parameters:
commerceOrderTypeRelId
- the primary key of the commerce order type rel- Returns:
- the commerce order type rel, or
null
if a commerce order type rel with the primary key could not be found
-
findAll
List<CommerceOrderTypeRel> findAll()Returns all the commerce order type rels.- Returns:
- the commerce order type rels
-
findAll
Returns a range of all the commerce order type 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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)- Returns:
- the range of commerce order type rels
-
findAll
List<CommerceOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce order type 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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce order type rels
-
findAll
List<CommerceOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce order type 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 fromCommerceOrderTypeRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type 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 order type rels
-
removeAll
void removeAll()Removes all the commerce order type rels from the database. -
countAll
int countAll()Returns the number of commerce order type rels.- Returns:
- the number of commerce order type rels
-