Interface CommerceNotificationTemplateCommerceAccountGroupRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationTemplateCommerceAccountGroupRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.void
cacheResult
(List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels) Deprecated.Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.int
countAll()
Deprecated.Returns the number of commerce notification template commerce account group rels.int
countByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.int
countByCommerceAccountGroupId
(long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.int
countByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.create
(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Creates a new commerce notification template commerce account group rel with the primary key.fetchByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found.fetchByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId, boolean useFinderCache) Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCommerceAccountGroupId_First
(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.fetchByCommerceAccountGroupId_Last
(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.fetchByCommerceNotificationTemplateId_First
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.fetchByCommerceNotificationTemplateId_Last
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.fetchByPrimaryKey
(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Returns the commerce notification template commerce account group rel with the primary key or returnsnull
if it could not be found.findAll()
Deprecated.Returns all the commerce notification template commerce account group rels.findAll
(int start, int end) Deprecated.Returns a range of all the commerce notification template commerce account group rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels.findByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or throws aNoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.findByCommerceAccountGroupId
(long commerceAccountGroupId) Deprecated.Returns all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId
(long commerceAccountGroupId, int start, int end) Deprecated.Returns a range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId
(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId
(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId_First
(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.findByCommerceAccountGroupId_Last
(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.findByCommerceAccountGroupId_PrevAndNext
(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Returns all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end) Deprecated.Returns a range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId_First
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId_Last
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId_PrevAndNext
(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.findByPrimaryKey
(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Returns the commerce notification template commerce account group rel with the primary key or throws aNoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.remove
(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Removes the commerce notification template commerce account group rel with the primary key from the database.void
Deprecated.Removes all the commerce notification template commerce account group rels from the database.removeByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Removes the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? from the database.void
removeByCommerceAccountGroupId
(long commerceAccountGroupId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.void
removeByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.updateImpl
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.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
-
findByCommerceNotificationTemplateId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Returns all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID- Returns:
- the matching commerce notification template commerce account group rels
-
findByCommerceNotificationTemplateId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end) Deprecated.Returns a range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)- Returns:
- the range of matching commerce notification template commerce account group rels
-
findByCommerceNotificationTemplateId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce notification template commerce account group rels
-
findByCommerceNotificationTemplateId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group 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 notification template commerce account group rels
-
findByCommerceNotificationTemplateId_First
CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be found
-
fetchByCommerceNotificationTemplateId_First
CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
findByCommerceNotificationTemplateId_Last
CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be found
-
fetchByCommerceNotificationTemplateId_Last
CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
findByCommerceNotificationTemplateId_PrevAndNext
CommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the current commerce notification template commerce account group relcommerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be found
-
removeByCommerceNotificationTemplateId
void removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID
-
countByCommerceNotificationTemplateId
int countByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID- Returns:
- the number of matching commerce notification template commerce account group rels
-
findByCommerceAccountGroupId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId) Deprecated.Returns all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group ID- Returns:
- the matching commerce notification template commerce account group rels
-
findByCommerceAccountGroupId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end) Deprecated.Returns a range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)- Returns:
- the range of matching commerce notification template commerce account group rels
-
findByCommerceAccountGroupId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce notification template commerce account group rels
-
findByCommerceAccountGroupId
List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group 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 notification template commerce account group rels
-
findByCommerceAccountGroupId_First
CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be found
-
fetchByCommerceAccountGroupId_First
CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
findByCommerceAccountGroupId_Last
CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be found
-
fetchByCommerceAccountGroupId_Last
CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
findByCommerceAccountGroupId_PrevAndNext
CommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the current commerce notification template commerce account group relcommerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be found
-
removeByCommerceAccountGroupId
void removeByCommerceAccountGroupId(long commerceAccountGroupId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.- Parameters:
commerceAccountGroupId
- the commerce account group ID
-
countByCommerceAccountGroupId
int countByCommerceAccountGroupId(long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId
- the commerce account group ID- Returns:
- the number of matching commerce notification template commerce account group rels
-
findByC_C
CommerceNotificationTemplateCommerceAccountGroupRel findByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or throws aNoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the matching commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be found
-
fetchByC_C
CommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
fetchByC_C
CommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId, boolean useFinderCache) Deprecated.Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce notification template commerce account group rel, or
null
if a matching commerce notification template commerce account group rel could not be found
-
removeByC_C
CommerceNotificationTemplateCommerceAccountGroupRel removeByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Removes the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? from the database.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the commerce notification template commerce account group rel that was removed
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
-
countByC_C
int countByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group ID- Returns:
- the number of matching commerce notification template commerce account group rels
-
cacheResult
void cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRel
- the commerce notification template commerce account group rel
-
cacheResult
void cacheResult(List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels) Deprecated.Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRels
- the commerce notification template commerce account group rels
-
create
CommerceNotificationTemplateCommerceAccountGroupRel create(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Creates a new commerce notification template commerce account group rel with the primary key. Does not add the commerce notification template commerce account group rel to the database.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key for the new commerce notification template commerce account group rel- Returns:
- the new commerce notification template commerce account group rel
-
remove
CommerceNotificationTemplateCommerceAccountGroupRel remove(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Removes the commerce notification template commerce account group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group rel- Returns:
- the commerce notification template commerce account group rel that was removed
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be found
-
updateImpl
CommerceNotificationTemplateCommerceAccountGroupRel updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated. -
findByPrimaryKey
CommerceNotificationTemplateCommerceAccountGroupRel findByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException Deprecated.Returns the commerce notification template commerce account group rel with the primary key or throws aNoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group rel- Returns:
- the commerce notification template commerce account group rel
- Throws:
NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be found
-
fetchByPrimaryKey
CommerceNotificationTemplateCommerceAccountGroupRel fetchByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Returns the commerce notification template commerce account group rel with the primary key or returnsnull
if it could not be found.- Parameters:
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group rel- Returns:
- the commerce notification template commerce account group rel, or
null
if a commerce notification template commerce account group rel with the primary key could not be found
-
findAll
Deprecated.Returns all the commerce notification template commerce account group rels.- Returns:
- the commerce notification template commerce account group rels
-
findAll
Deprecated.Returns a range of all the commerce notification template commerce account group 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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)- Returns:
- the range of commerce notification template commerce account group rels
-
findAll
List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification template commerce account group 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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce notification template commerce account group rels
-
findAll
List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification template commerce account group 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 fromCommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group 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 notification template commerce account group rels
-
removeAll
void removeAll()Deprecated.Removes all the commerce notification template commerce account group rels from the database. -
countAll
int countAll()Deprecated.Returns the number of commerce notification template commerce account group rels.- Returns:
- the number of commerce notification template commerce account group rels
-