Class CommerceNotificationTemplateCommerceAccountGroupRelUtil
com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationTemplateCommerceAccountGroupRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.static void
cacheResult
(List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels) Deprecated.Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.static void
Deprecated.static void
clearCache
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.static int
countAll()
Deprecated.Returns the number of commerce notification template commerce account group rels.static int
countByC_C
(long commerceNotificationTemplateId, long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.static int
countByCommerceAccountGroupId
(long commerceAccountGroupId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.static int
countByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.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.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) Deprecated.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.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.Deprecated.remove
(long commerceNotificationTemplateCommerceAccountGroupRelId) Deprecated.Removes the commerce notification template commerce account group rel with the primary key from the database.static 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.static void
removeByCommerceAccountGroupId
(long commerceAccountGroupId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.static void
removeByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.static void
Deprecated.update
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.update
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.updateImpl
(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.
-
Constructor Details
-
CommerceNotificationTemplateCommerceAccountGroupRelUtil
public CommerceNotificationTemplateCommerceAccountGroupRelUtil()Deprecated.
-
-
Method Details
-
clearCache
public static void clearCache()Deprecated.- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceNotificationTemplateCommerceAccountGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCommerceNotificationTemplateId
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByCommerceNotificationTemplateId_First
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByCommerceNotificationTemplateId_Last
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
removeByCommerceNotificationTemplateId
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByCommerceAccountGroupId_First
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByCommerceAccountGroupId_Last
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
removeByCommerceAccountGroupId
public static 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
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByC_C
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
updateImpl
public static CommerceNotificationTemplateCommerceAccountGroupRel updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) Deprecated. -
findByPrimaryKey
public static 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 foundNoSuchNotificationTemplateCommerceAccountGroupRelException
-
fetchByPrimaryKey
public static 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
public static 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
public static 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
public static void removeAll()Deprecated.Removes all the commerce notification template commerce account group rels from the database. -
countAll
public static 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
-
getPersistence
Deprecated. -
setPersistence
public static void setPersistence(CommerceNotificationTemplateCommerceAccountGroupRelPersistence persistence) Deprecated.
-