public class CommerceBOMFolderApplicationRelUtil
extends java.lang.Object
com.liferay.commerce.bom.service.persistence.impl.CommerceBOMFolderApplicationRelPersistenceImpl 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
CommerceBOMFolderApplicationRelPersistence| Constructor and Description |
|---|
CommerceBOMFolderApplicationRelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel)
Caches the commerce bom folder application rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceBOMFolderApplicationRel> commerceBOMFolderApplicationRels)
Caches the commerce bom folder application rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel) |
static int |
countAll()
Returns the number of commerce bom folder application rels.
|
static int |
countByCommerceApplicationModelId(long commerceApplicationModelId)
Returns the number of commerce bom folder application rels where commerceApplicationModelId = ?.
|
static int |
countByCommerceBOMFolderId(long commerceBOMFolderId)
Returns the number of commerce bom folder application rels where commerceBOMFolderId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceBOMFolderApplicationRel |
create(long commerceBOMFolderApplicationRelId)
Creates a new commerce bom folder application rel with the primary key.
|
static CommerceBOMFolderApplicationRel |
fetchByCommerceApplicationModelId_First(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the first commerce bom folder application rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceBOMFolderApplicationRel |
fetchByCommerceApplicationModelId_Last(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the last commerce bom folder application rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceBOMFolderApplicationRel |
fetchByCommerceBOMFolderId_First(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the first commerce bom folder application rel in the ordered set where commerceBOMFolderId = ?.
|
static CommerceBOMFolderApplicationRel |
fetchByCommerceBOMFolderId_Last(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the last commerce bom folder application rel in the ordered set where commerceBOMFolderId = ?.
|
static CommerceBOMFolderApplicationRel |
fetchByPrimaryKey(long commerceBOMFolderApplicationRelId)
Returns the commerce bom folder application rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceBOMFolderApplicationRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceBOMFolderApplicationRel> |
findAll()
Returns all the commerce bom folder application rels.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findAll(int start,
int end)
Returns a range of all the commerce bom folder application rels.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns an ordered range of all the commerce bom folder application rels.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom folder application rels.
|
static CommerceBOMFolderApplicationRel |
findByCommerceApplicationModelId_First(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the first commerce bom folder application rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceBOMFolderApplicationRel |
findByCommerceApplicationModelId_Last(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the last commerce bom folder application rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceBOMFolderApplicationRel[] |
findByCommerceApplicationModelId_PrevAndNext(long commerceBOMFolderApplicationRelId,
long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the commerce bom folder application rels before and after the current commerce bom folder application rel in the ordered set where commerceApplicationModelId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId)
Returns all the commerce bom folder application rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end)
Returns a range of all the commerce bom folder application rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns an ordered range of all the commerce bom folder application rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom folder application rels where commerceApplicationModelId = ?.
|
static CommerceBOMFolderApplicationRel |
findByCommerceBOMFolderId_First(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the first commerce bom folder application rel in the ordered set where commerceBOMFolderId = ?.
|
static CommerceBOMFolderApplicationRel |
findByCommerceBOMFolderId_Last(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the last commerce bom folder application rel in the ordered set where commerceBOMFolderId = ?.
|
static CommerceBOMFolderApplicationRel[] |
findByCommerceBOMFolderId_PrevAndNext(long commerceBOMFolderApplicationRelId,
long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns the commerce bom folder application rels before and after the current commerce bom folder application rel in the ordered set where commerceBOMFolderId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceBOMFolderId(long commerceBOMFolderId)
Returns all the commerce bom folder application rels where commerceBOMFolderId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end)
Returns a range of all the commerce bom folder application rels where commerceBOMFolderId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Returns an ordered range of all the commerce bom folder application rels where commerceBOMFolderId = ?.
|
static java.util.List<CommerceBOMFolderApplicationRel> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom folder application rels where commerceBOMFolderId = ?.
|
static CommerceBOMFolderApplicationRel |
findByPrimaryKey(long commerceBOMFolderApplicationRelId)
Returns the commerce bom folder application rel with the primary key or throws a
NoSuchBOMFolderApplicationRelException if it could not be found. |
static java.util.List<CommerceBOMFolderApplicationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceBOMFolderApplicationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceBOMFolderApplicationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) |
static CommerceBOMFolderApplicationRelPersistence |
getPersistence() |
static CommerceBOMFolderApplicationRel |
remove(long commerceBOMFolderApplicationRelId)
Removes the commerce bom folder application rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce bom folder application rels from the database.
|
static void |
removeByCommerceApplicationModelId(long commerceApplicationModelId)
Removes all the commerce bom folder application rels where commerceApplicationModelId = ? from the database.
|
static void |
removeByCommerceBOMFolderId(long commerceBOMFolderId)
Removes all the commerce bom folder application rels where commerceBOMFolderId = ? from the database.
|
static CommerceBOMFolderApplicationRel |
update(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel) |
static CommerceBOMFolderApplicationRel |
update(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceBOMFolderApplicationRel |
updateImpl(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.Map<java.io.Serializable,CommerceBOMFolderApplicationRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<CommerceBOMFolderApplicationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CommerceBOMFolderApplicationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CommerceBOMFolderApplicationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CommerceBOMFolderApplicationRel update(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CommerceBOMFolderApplicationRel update(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDpublic static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)public static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceBOMFolderApplicationRel findByCommerceBOMFolderId_First(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel fetchByCommerceBOMFolderId_First(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel findByCommerceBOMFolderId_Last(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel fetchByCommerceBOMFolderId_Last(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel[] findByCommerceBOMFolderId_PrevAndNext(long commerceBOMFolderApplicationRelId, long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceBOMFolderApplicationRelId - the primary key of the current commerce bom folder application relcommerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a commerce bom folder application rel with the primary key could not be foundpublic static void removeByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDpublic static int countByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDpublic static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceApplicationModelId(long commerceApplicationModelId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)public static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceApplicationModelId(long commerceApplicationModelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceBOMFolderApplicationRel> findByCommerceApplicationModelId(long commerceApplicationModelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceBOMFolderApplicationRel findByCommerceApplicationModelId_First(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel fetchByCommerceApplicationModelId_First(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel findByCommerceApplicationModelId_Last(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel fetchByCommerceApplicationModelId_Last(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom folder application rel could not be foundpublic static CommerceBOMFolderApplicationRel[] findByCommerceApplicationModelId_PrevAndNext(long commerceBOMFolderApplicationRelId, long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator) throws NoSuchBOMFolderApplicationRelException
commerceBOMFolderApplicationRelId - the primary key of the current commerce bom folder application relcommerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMFolderApplicationRelException - if a commerce bom folder application rel with the primary key could not be foundpublic static void removeByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static int countByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static void cacheResult(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel)
commerceBOMFolderApplicationRel - the commerce bom folder application relpublic static void cacheResult(java.util.List<CommerceBOMFolderApplicationRel> commerceBOMFolderApplicationRels)
commerceBOMFolderApplicationRels - the commerce bom folder application relspublic static CommerceBOMFolderApplicationRel create(long commerceBOMFolderApplicationRelId)
commerceBOMFolderApplicationRelId - the primary key for the new commerce bom folder application relpublic static CommerceBOMFolderApplicationRel remove(long commerceBOMFolderApplicationRelId) throws NoSuchBOMFolderApplicationRelException
commerceBOMFolderApplicationRelId - the primary key of the commerce bom folder application relNoSuchBOMFolderApplicationRelException - if a commerce bom folder application rel with the primary key could not be foundpublic static CommerceBOMFolderApplicationRel updateImpl(CommerceBOMFolderApplicationRel commerceBOMFolderApplicationRel)
public static CommerceBOMFolderApplicationRel findByPrimaryKey(long commerceBOMFolderApplicationRelId) throws NoSuchBOMFolderApplicationRelException
NoSuchBOMFolderApplicationRelException if it could not be found.commerceBOMFolderApplicationRelId - the primary key of the commerce bom folder application relNoSuchBOMFolderApplicationRelException - if a commerce bom folder application rel with the primary key could not be foundpublic static CommerceBOMFolderApplicationRel fetchByPrimaryKey(long commerceBOMFolderApplicationRelId)
null if it could not be found.commerceBOMFolderApplicationRelId - the primary key of the commerce bom folder application relnull if a commerce bom folder application rel with the primary key could not be foundpublic static java.util.List<CommerceBOMFolderApplicationRel> findAll()
public static java.util.List<CommerceBOMFolderApplicationRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
start - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)public static java.util.List<CommerceBOMFolderApplicationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
start - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceBOMFolderApplicationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMFolderApplicationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceBOMFolderApplicationRelModelImpl.
start - the lower bound of the range of commerce bom folder application relsend - the upper bound of the range of commerce bom folder application rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceBOMFolderApplicationRelPersistence getPersistence()