@ProviderType public interface AssetDisplayPageEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AssetDisplayPageEntry>
Caching information and settings can be found in portal.properties
com.liferay.asset.display.page.service.persistence.impl.AssetDisplayPageEntryPersistenceImpl,
AssetDisplayPageEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(AssetDisplayPageEntry assetDisplayPageEntry)
Caches the asset display page entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AssetDisplayPageEntry> assetDisplayPageEntries)
Caches the asset display page entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of asset display page entries.
|
int |
countByAssetEntryId(long assetEntryId)
Returns the number of asset display page entries where assetEntryId = ?.
|
int |
countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Returns the number of asset display page entries where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry |
create(long assetDisplayPageEntryId)
Creates a new asset display page entry with the primary key.
|
AssetDisplayPageEntry |
fetchByAssetEntryId(long assetEntryId)
Returns the asset display page entry where assetEntryId = ? or returns
null if it could not be found. |
AssetDisplayPageEntry |
fetchByAssetEntryId(long assetEntryId,
boolean retrieveFromCache)
Returns the asset display page entry where assetEntryId = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetDisplayPageEntry |
fetchByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry |
fetchByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry |
fetchByPrimaryKey(long assetDisplayPageEntryId)
Returns the asset display page entry with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,AssetDisplayPageEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<AssetDisplayPageEntry> |
findAll()
Returns all the asset display page entries.
|
java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end)
Returns a range of all the asset display page entries.
|
java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries.
|
java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset display page entries.
|
AssetDisplayPageEntry |
findByAssetEntryId(long assetEntryId)
Returns the asset display page entry where assetEntryId = ? or throws a
NoSuchDisplayPageEntryException if it could not be found. |
AssetDisplayPageEntry |
findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry |
findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry[] |
findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId,
long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the asset display page entries before and after the current asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Returns all the asset display page entries where layoutPageTemplateEntryId = ?.
|
java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end)
Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
AssetDisplayPageEntry |
findByPrimaryKey(long assetDisplayPageEntryId)
Returns the asset display page entry with the primary key or throws a
NoSuchDisplayPageEntryException if it could not be found. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
AssetDisplayPageEntry |
remove(long assetDisplayPageEntryId)
Removes the asset display page entry with the primary key from the database.
|
void |
removeAll()
Removes all the asset display page entries from the database.
|
AssetDisplayPageEntry |
removeByAssetEntryId(long assetEntryId)
Removes the asset display page entry where assetEntryId = ? from the database.
|
void |
removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Removes all the asset display page entries where layoutPageTemplateEntryId = ? from the database.
|
AssetDisplayPageEntry |
updateImpl(AssetDisplayPageEntry assetDisplayPageEntry) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updateAssetDisplayPageEntry findByAssetEntryId(long assetEntryId) throws NoSuchDisplayPageEntryException
NoSuchDisplayPageEntryException if it could not be found.assetEntryId - the asset entry IDNoSuchDisplayPageEntryException - if a matching asset display page entry could not be foundAssetDisplayPageEntry fetchByAssetEntryId(long assetEntryId)
null if it could not be found. Uses the finder cache.assetEntryId - the asset entry IDnull if a matching asset display page entry could not be foundAssetDisplayPageEntry fetchByAssetEntryId(long assetEntryId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.assetEntryId - the asset entry IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching asset display page entry could not be foundAssetDisplayPageEntry removeByAssetEntryId(long assetEntryId) throws NoSuchDisplayPageEntryException
assetEntryId - the asset entry IDNoSuchDisplayPageEntryExceptionint countByAssetEntryId(long assetEntryId)
assetEntryId - the asset entry IDjava.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId - the layout page template entry IDjava.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutPageTemplateEntryId - the layout page template entry IDstart - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutPageTemplateEntryId - the layout page template entry IDstart - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutPageTemplateEntryId - the layout page template entry IDstart - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheAssetDisplayPageEntry findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
layoutPageTemplateEntryId - the layout page template entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDisplayPageEntryException - if a matching asset display page entry could not be foundAssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
layoutPageTemplateEntryId - the layout page template entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset display page entry could not be foundAssetDisplayPageEntry findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
layoutPageTemplateEntryId - the layout page template entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDisplayPageEntryException - if a matching asset display page entry could not be foundAssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
layoutPageTemplateEntryId - the layout page template entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset display page entry could not be foundAssetDisplayPageEntry[] findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId - the primary key of the current asset display page entrylayoutPageTemplateEntryId - the layout page template entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be foundvoid removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId - the layout page template entry IDint countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId - the layout page template entry IDvoid cacheResult(AssetDisplayPageEntry assetDisplayPageEntry)
assetDisplayPageEntry - the asset display page entryvoid cacheResult(java.util.List<AssetDisplayPageEntry> assetDisplayPageEntries)
assetDisplayPageEntries - the asset display page entriesAssetDisplayPageEntry create(long assetDisplayPageEntryId)
assetDisplayPageEntryId - the primary key for the new asset display page entryAssetDisplayPageEntry remove(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId - the primary key of the asset display page entryNoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be foundAssetDisplayPageEntry updateImpl(AssetDisplayPageEntry assetDisplayPageEntry)
AssetDisplayPageEntry findByPrimaryKey(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
NoSuchDisplayPageEntryException if it could not be found.assetDisplayPageEntryId - the primary key of the asset display page entryNoSuchDisplayPageEntryException - if a asset display page entry with the primary key could not be foundAssetDisplayPageEntry fetchByPrimaryKey(long assetDisplayPageEntryId)
null if it could not be found.assetDisplayPageEntryId - the primary key of the asset display page entrynull if a asset display page entry with the primary key could not be foundjava.util.Map<java.io.Serializable,AssetDisplayPageEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AssetDisplayPageEntry>java.util.List<AssetDisplayPageEntry> findAll()
java.util.List<AssetDisplayPageEntry> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)java.util.List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of asset display page entriesend - the upper bound of the range of asset display page entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<AssetDisplayPageEntry>