@ProviderType public interface CommerceBOMEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceBOMEntry>
Caching information and settings can be found in portal.properties
CommerceBOMEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceBOMEntry commerceBOMEntry)
Caches the commerce bom entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceBOMEntry> commerceBOMEntries)
Caches the commerce bom entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce bom entries.
|
int |
countByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
Returns the number of commerce bom entries where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry |
create(long commerceBOMEntryId)
Creates a new commerce bom entry with the primary key.
|
CommerceBOMEntry |
fetchByCommerceBOMDefinitionId_First(long commerceBOMDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns the first commerce bom entry in the ordered set where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry |
fetchByCommerceBOMDefinitionId_Last(long commerceBOMDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns the last commerce bom entry in the ordered set where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry |
fetchByPrimaryKey(long commerceBOMEntryId)
Returns the commerce bom entry with the primary key or returns
null if it could not be found. |
java.util.List<CommerceBOMEntry> |
findAll()
Returns all the commerce bom entries.
|
java.util.List<CommerceBOMEntry> |
findAll(int start,
int end)
Returns a range of all the commerce bom entries.
|
java.util.List<CommerceBOMEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns an ordered range of all the commerce bom entries.
|
java.util.List<CommerceBOMEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom entries.
|
CommerceBOMEntry |
findByCommerceBOMDefinitionId_First(long commerceBOMDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns the first commerce bom entry in the ordered set where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry |
findByCommerceBOMDefinitionId_Last(long commerceBOMDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns the last commerce bom entry in the ordered set where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry[] |
findByCommerceBOMDefinitionId_PrevAndNext(long commerceBOMEntryId,
long commerceBOMDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns the commerce bom entries before and after the current commerce bom entry in the ordered set where commerceBOMDefinitionId = ?.
|
java.util.List<CommerceBOMEntry> |
findByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
Returns all the commerce bom entries where commerceBOMDefinitionId = ?.
|
java.util.List<CommerceBOMEntry> |
findByCommerceBOMDefinitionId(long commerceBOMDefinitionId,
int start,
int end)
Returns a range of all the commerce bom entries where commerceBOMDefinitionId = ?.
|
java.util.List<CommerceBOMEntry> |
findByCommerceBOMDefinitionId(long commerceBOMDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
Returns an ordered range of all the commerce bom entries where commerceBOMDefinitionId = ?.
|
java.util.List<CommerceBOMEntry> |
findByCommerceBOMDefinitionId(long commerceBOMDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce bom entries where commerceBOMDefinitionId = ?.
|
CommerceBOMEntry |
findByPrimaryKey(long commerceBOMEntryId)
Returns the commerce bom entry with the primary key or throws a
NoSuchBOMEntryException if it could not be found. |
CommerceBOMEntry |
remove(long commerceBOMEntryId)
Removes the commerce bom entry with the primary key from the database.
|
void |
removeAll()
Removes all the commerce bom entries from the database.
|
void |
removeByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
Removes all the commerce bom entries where commerceBOMDefinitionId = ? from the database.
|
CommerceBOMEntry |
updateImpl(CommerceBOMEntry commerceBOMEntry) |
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<CommerceBOMEntry> findByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
commerceBOMDefinitionId - the commerce bom definition IDjava.util.List<CommerceBOMEntry> findByCommerceBOMDefinitionId(long commerceBOMDefinitionId, 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 CommerceBOMEntryModelImpl.
commerceBOMDefinitionId - the commerce bom definition IDstart - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)java.util.List<CommerceBOMEntry> findByCommerceBOMDefinitionId(long commerceBOMDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> 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 CommerceBOMEntryModelImpl.
commerceBOMDefinitionId - the commerce bom definition IDstart - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceBOMEntry> findByCommerceBOMDefinitionId(long commerceBOMDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> 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 CommerceBOMEntryModelImpl.
commerceBOMDefinitionId - the commerce bom definition IDstart - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceBOMEntry findByCommerceBOMDefinitionId_First(long commerceBOMDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator) throws NoSuchBOMEntryException
commerceBOMDefinitionId - the commerce bom definition IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMEntryException - if a matching commerce bom entry could not be foundCommerceBOMEntry fetchByCommerceBOMDefinitionId_First(long commerceBOMDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
commerceBOMDefinitionId - the commerce bom definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom entry could not be foundCommerceBOMEntry findByCommerceBOMDefinitionId_Last(long commerceBOMDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator) throws NoSuchBOMEntryException
commerceBOMDefinitionId - the commerce bom definition IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMEntryException - if a matching commerce bom entry could not be foundCommerceBOMEntry fetchByCommerceBOMDefinitionId_Last(long commerceBOMDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator)
commerceBOMDefinitionId - the commerce bom definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce bom entry could not be foundCommerceBOMEntry[] findByCommerceBOMDefinitionId_PrevAndNext(long commerceBOMEntryId, long commerceBOMDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> orderByComparator) throws NoSuchBOMEntryException
commerceBOMEntryId - the primary key of the current commerce bom entrycommerceBOMDefinitionId - the commerce bom definition IDorderByComparator - the comparator to order the set by (optionally null)NoSuchBOMEntryException - if a commerce bom entry with the primary key could not be foundvoid removeByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
commerceBOMDefinitionId - the commerce bom definition IDint countByCommerceBOMDefinitionId(long commerceBOMDefinitionId)
commerceBOMDefinitionId - the commerce bom definition IDvoid cacheResult(CommerceBOMEntry commerceBOMEntry)
commerceBOMEntry - the commerce bom entryvoid cacheResult(java.util.List<CommerceBOMEntry> commerceBOMEntries)
commerceBOMEntries - the commerce bom entriesCommerceBOMEntry create(long commerceBOMEntryId)
commerceBOMEntryId - the primary key for the new commerce bom entryCommerceBOMEntry remove(long commerceBOMEntryId) throws NoSuchBOMEntryException
commerceBOMEntryId - the primary key of the commerce bom entryNoSuchBOMEntryException - if a commerce bom entry with the primary key could not be foundCommerceBOMEntry updateImpl(CommerceBOMEntry commerceBOMEntry)
CommerceBOMEntry findByPrimaryKey(long commerceBOMEntryId) throws NoSuchBOMEntryException
NoSuchBOMEntryException if it could not be found.commerceBOMEntryId - the primary key of the commerce bom entryNoSuchBOMEntryException - if a commerce bom entry with the primary key could not be foundCommerceBOMEntry fetchByPrimaryKey(long commerceBOMEntryId)
null if it could not be found.commerceBOMEntryId - the primary key of the commerce bom entrynull if a commerce bom entry with the primary key could not be foundjava.util.List<CommerceBOMEntry> findAll()
java.util.List<CommerceBOMEntry> 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 CommerceBOMEntryModelImpl.
start - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)java.util.List<CommerceBOMEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> 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 CommerceBOMEntryModelImpl.
start - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceBOMEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceBOMEntry> 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 CommerceBOMEntryModelImpl.
start - the lower bound of the range of commerce bom entriesend - the upper bound of the range of commerce bom entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()