@ProviderType public interface CommerceBOMDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceBOMDefinition>
Caching information and settings can be found in portal.properties
CommerceBOMDefinitionUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceBOMDefinition commerceBOMDefinition)
Caches the commerce bom definition in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceBOMDefinition> commerceBOMDefinitions)
Caches the commerce bom definitions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce bom definitions.
|
int |
countByCommerceBOMFolderId(long commerceBOMFolderId)
Returns the number of commerce bom definitions where commerceBOMFolderId = ?.
|
CommerceBOMDefinition |
create(long commerceBOMDefinitionId)
Creates a new commerce bom definition with the primary key.
|
CommerceBOMDefinition |
fetchByCommerceBOMFolderId_First(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the first commerce bom definition in the ordered set where commerceBOMFolderId = ?.
|
CommerceBOMDefinition |
fetchByCommerceBOMFolderId_Last(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the last commerce bom definition in the ordered set where commerceBOMFolderId = ?.
|
CommerceBOMDefinition |
fetchByPrimaryKey(long commerceBOMDefinitionId)
Returns the commerce bom definition with the primary key or returns
null if it could not be found. |
int |
filterCountByCommerceBOMFolderId(long commerceBOMFolderId)
Returns the number of commerce bom definitions that the user has permission to view where commerceBOMFolderId = ?.
|
CommerceBOMDefinition[] |
filterFindByCommerceBOMFolderId_PrevAndNext(long commerceBOMDefinitionId,
long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the commerce bom definitions before and after the current commerce bom definition in the ordered set of commerce bom definitions that the user has permission to view where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
filterFindByCommerceBOMFolderId(long commerceBOMFolderId)
Returns all the commerce bom definitions that the user has permission to view where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
filterFindByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end)
Returns a range of all the commerce bom definitions that the user has permission to view where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
filterFindByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns an ordered range of all the commerce bom definitions that the user has permissions to view where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
findAll()
Returns all the commerce bom definitions.
|
java.util.List<CommerceBOMDefinition> |
findAll(int start,
int end)
Returns a range of all the commerce bom definitions.
|
java.util.List<CommerceBOMDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns an ordered range of all the commerce bom definitions.
|
java.util.List<CommerceBOMDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom definitions.
|
CommerceBOMDefinition |
findByCommerceBOMFolderId_First(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the first commerce bom definition in the ordered set where commerceBOMFolderId = ?.
|
CommerceBOMDefinition |
findByCommerceBOMFolderId_Last(long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the last commerce bom definition in the ordered set where commerceBOMFolderId = ?.
|
CommerceBOMDefinition[] |
findByCommerceBOMFolderId_PrevAndNext(long commerceBOMDefinitionId,
long commerceBOMFolderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns the commerce bom definitions before and after the current commerce bom definition in the ordered set where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
findByCommerceBOMFolderId(long commerceBOMFolderId)
Returns all the commerce bom definitions where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end)
Returns a range of all the commerce bom definitions where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
Returns an ordered range of all the commerce bom definitions where commerceBOMFolderId = ?.
|
java.util.List<CommerceBOMDefinition> |
findByCommerceBOMFolderId(long commerceBOMFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom definitions where commerceBOMFolderId = ?.
|
CommerceBOMDefinition |
findByPrimaryKey(long commerceBOMDefinitionId)
Returns the commerce bom definition with the primary key or throws a
NoSuchBOMDefinitionException if it could not be found. |
CommerceBOMDefinition |
remove(long commerceBOMDefinitionId)
Removes the commerce bom definition with the primary key from the database.
|
void |
removeAll()
Removes all the commerce bom definitions from the database.
|
void |
removeByCommerceBOMFolderId(long commerceBOMFolderId)
Removes all the commerce bom definitions where commerceBOMFolderId = ? from the database.
|
CommerceBOMDefinition |
updateImpl(CommerceBOMDefinition commerceBOMDefinition) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceBOMDefinition> findByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDjava.util.List<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)java.util.List<CommerceBOMDefinition> findByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceBOMDefinition> findByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceBOMDefinition findByCommerceBOMFolderId_First(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator) throws NoSuchBOMDefinitionException
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMDefinitionException - if a matching commerce bom definition could not be foundCommerceBOMDefinition fetchByCommerceBOMFolderId_First(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom definition could not be foundCommerceBOMDefinition findByCommerceBOMFolderId_Last(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator) throws NoSuchBOMDefinitionException
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMDefinitionException - if a matching commerce bom definition could not be foundCommerceBOMDefinition fetchByCommerceBOMFolderId_Last(long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator)
commerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom definition could not be foundCommerceBOMDefinition[] findByCommerceBOMFolderId_PrevAndNext(long commerceBOMDefinitionId, long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator) throws NoSuchBOMDefinitionException
commerceBOMDefinitionId - the primary key of the current commerce bom definitioncommerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMDefinitionException - if a commerce bom definition with the primary key could not be foundjava.util.List<CommerceBOMDefinition> filterFindByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDjava.util.List<CommerceBOMDefinition> filterFindByCommerceBOMFolderId(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 CommerceBOMDefinitionModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)java.util.List<CommerceBOMDefinition> filterFindByCommerceBOMFolderId(long commerceBOMFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
commerceBOMFolderId - the commerce bom folder IDstart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceBOMDefinition[] filterFindByCommerceBOMFolderId_PrevAndNext(long commerceBOMDefinitionId, long commerceBOMFolderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> orderByComparator) throws NoSuchBOMDefinitionException
commerceBOMDefinitionId - the primary key of the current commerce bom definitioncommerceBOMFolderId - the commerce bom folder IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMDefinitionException - if a commerce bom definition with the primary key could not be foundvoid removeByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDint countByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDint filterCountByCommerceBOMFolderId(long commerceBOMFolderId)
commerceBOMFolderId - the commerce bom folder IDvoid cacheResult(CommerceBOMDefinition commerceBOMDefinition)
commerceBOMDefinition - the commerce bom definitionvoid cacheResult(java.util.List<CommerceBOMDefinition> commerceBOMDefinitions)
commerceBOMDefinitions - the commerce bom definitionsCommerceBOMDefinition create(long commerceBOMDefinitionId)
commerceBOMDefinitionId - the primary key for the new commerce bom definitionCommerceBOMDefinition remove(long commerceBOMDefinitionId) throws NoSuchBOMDefinitionException
commerceBOMDefinitionId - the primary key of the commerce bom definitionNoSuchBOMDefinitionException - if a commerce bom definition with the primary key could not be foundCommerceBOMDefinition updateImpl(CommerceBOMDefinition commerceBOMDefinition)
CommerceBOMDefinition findByPrimaryKey(long commerceBOMDefinitionId) throws NoSuchBOMDefinitionException
NoSuchBOMDefinitionException if it could not be found.commerceBOMDefinitionId - the primary key of the commerce bom definitionNoSuchBOMDefinitionException - if a commerce bom definition with the primary key could not be foundCommerceBOMDefinition fetchByPrimaryKey(long commerceBOMDefinitionId)
null if it could not be found.commerceBOMDefinitionId - the primary key of the commerce bom definitionnull if a commerce bom definition with the primary key could not be foundjava.util.List<CommerceBOMDefinition> findAll()
java.util.List<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
start - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)java.util.List<CommerceBOMDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
start - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceBOMDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMDefinition> 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 CommerceBOMDefinitionModelImpl.
start - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()