Interface AssetEntryPersistence
- All Superinterfaces:
BasePersistence<AssetEntry>
,CTPersistence<AssetEntry>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAssetTag
(long pk, long assetTagPK) Adds an association between the asset entry and the asset tag.boolean
addAssetTag
(long pk, AssetTag assetTag) Adds an association between the asset entry and the asset tag.boolean
addAssetTags
(long pk, long[] assetTagPKs) Adds an association between the asset entry and the asset tags.boolean
addAssetTags
(long pk, List<AssetTag> assetTags) Adds an association between the asset entry and the asset tags.void
cacheResult
(AssetEntry assetEntry) Caches the asset entry in the entity cache if it is enabled.void
cacheResult
(List<AssetEntry> assetEntries) Caches the asset entries in the entity cache if it is enabled.void
clearAssetTags
(long pk) Clears all associations between the asset entry and its asset tags.boolean
containsAssetTag
(long pk, long assetTagPK) Returnstrue
if the asset tag is associated with the asset entry.boolean
containsAssetTags
(long pk) Returnstrue
if the asset entry has any asset tags associated with it.int
countAll()
Returns the number of asset entries.int
countByC_C
(long classNameId, long classPK) Returns the number of asset entries where classNameId = ? and classPK = ?.int
countByC_CN
(long companyId, long classNameId) Returns the number of asset entries where companyId = ? and classNameId = ?.int
countByCompanyId
(long companyId) Returns the number of asset entries where companyId = ?.int
countByExpirationDate
(Date expirationDate) Returns the number of asset entries where expirationDate = ?.int
countByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate) Returns the number of asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.int
countByG_C_V
(long groupId, long classNameId, boolean visible) Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.int
countByG_CU
(long groupId, String classUuid) Returns the number of asset entries where groupId = ? and classUuid = ?.int
countByGroupId
(long groupId) Returns the number of asset entries where groupId = ?.int
countByLayoutUuid
(String layoutUuid) Returns the number of asset entries where layoutUuid = ?.int
countByPublishDate
(Date publishDate) Returns the number of asset entries where publishDate = ?.int
countByVisible
(boolean visible) Returns the number of asset entries where visible = ?.create
(long entryId) Creates a new asset entry with the primary key.fetchByC_C
(long classNameId, long classPK) Returns the asset entry where classNameId = ? and classPK = ? or returnsnull
if it could not be found.fetchByC_C
(long classNameId, long classPK, boolean useFinderCache) Returns the asset entry where classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_CN_First
(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.fetchByC_CN_Last
(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.fetchByCompanyId_First
(long companyId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ?.fetchByExpirationDate_First
(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.fetchByExpirationDate_Last
(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.fetchByG_C_P_E_First
(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.fetchByG_C_P_E_Last
(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.fetchByG_C_V_First
(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.fetchByG_C_V_Last
(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.fetchByG_CU
(long groupId, String classUuid) Returns the asset entry where groupId = ? and classUuid = ? or returnsnull
if it could not be found.fetchByG_CU
(long groupId, String classUuid, boolean useFinderCache) Returns the asset entry where groupId = ? and classUuid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ?.fetchByLayoutUuid_First
(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.fetchByLayoutUuid_Last
(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.fetchByPrimaryKey
(long entryId) Returns the asset entry with the primary key or returnsnull
if it could not be found.fetchByPublishDate_First
(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.fetchByPublishDate_Last
(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.fetchByVisible_First
(boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where visible = ?.fetchByVisible_Last
(boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where visible = ?.findAll()
Returns all the asset entries.findAll
(int start, int end) Returns a range of all the asset entries.findAll
(int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries.findAll
(int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries.findByC_C
(long classNameId, long classPK) Returns the asset entry where classNameId = ? and classPK = ? or throws aNoSuchEntryException
if it could not be found.findByC_CN
(long companyId, long classNameId) Returns all the asset entries where companyId = ? and classNameId = ?.findByC_CN
(long companyId, long classNameId, int start, int end) Returns a range of all the asset entries where companyId = ? and classNameId = ?.findByC_CN
(long companyId, long classNameId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.findByC_CN
(long companyId, long classNameId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.findByC_CN_First
(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.findByC_CN_Last
(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.findByC_CN_PrevAndNext
(long entryId, long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.findByCompanyId
(long companyId) Returns all the asset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the asset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ?.findByCompanyId_First
(long companyId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long entryId, long companyId, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.findByExpirationDate
(Date expirationDate) Returns all the asset entries where expirationDate = ?.findByExpirationDate
(Date expirationDate, int start, int end) Returns a range of all the asset entries where expirationDate = ?.findByExpirationDate
(Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where expirationDate = ?.findByExpirationDate
(Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where expirationDate = ?.findByExpirationDate_First
(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.findByExpirationDate_Last
(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.findByExpirationDate_PrevAndNext
(long entryId, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.findByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate) Returns all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end) Returns a range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E_First
(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E_Last
(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_P_E_PrevAndNext
(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.findByG_C_V
(long groupId, long classNameId, boolean visible) Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.findByG_C_V
(long groupId, long classNameId, boolean visible, int start, int end) Returns a range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.findByG_C_V
(long groupId, long classNameId, boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.findByG_C_V
(long groupId, long classNameId, boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.findByG_C_V_First
(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.findByG_C_V_Last
(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.findByG_C_V_PrevAndNext
(long entryId, long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.findByG_CU
(long groupId, String classUuid) Returns the asset entry where groupId = ? and classUuid = ? or throws aNoSuchEntryException
if it could not be found.findByGroupId
(long groupId) Returns all the asset entries where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the asset entries where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long entryId, long groupId, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.findByLayoutUuid
(String layoutUuid) Returns all the asset entries where layoutUuid = ?.findByLayoutUuid
(String layoutUuid, int start, int end) Returns a range of all the asset entries where layoutUuid = ?.findByLayoutUuid
(String layoutUuid, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where layoutUuid = ?.findByLayoutUuid
(String layoutUuid, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where layoutUuid = ?.findByLayoutUuid_First
(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.findByLayoutUuid_Last
(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.findByLayoutUuid_PrevAndNext
(long entryId, String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.findByPrimaryKey
(long entryId) Returns the asset entry with the primary key or throws aNoSuchEntryException
if it could not be found.findByPublishDate
(Date publishDate) Returns all the asset entries where publishDate = ?.findByPublishDate
(Date publishDate, int start, int end) Returns a range of all the asset entries where publishDate = ?.findByPublishDate
(Date publishDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where publishDate = ?.findByPublishDate
(Date publishDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where publishDate = ?.findByPublishDate_First
(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.findByPublishDate_Last
(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.findByPublishDate_PrevAndNext
(long entryId, Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.findByVisible
(boolean visible) Returns all the asset entries where visible = ?.findByVisible
(boolean visible, int start, int end) Returns a range of all the asset entries where visible = ?.findByVisible
(boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where visible = ?.findByVisible
(boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where visible = ?.findByVisible_First
(boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where visible = ?.findByVisible_Last
(boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where visible = ?.findByVisible_PrevAndNext
(long entryId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.long[]
getAssetTagPrimaryKeys
(long pk) Returns the primaryKeys of asset tags associated with the asset entry.getAssetTags
(long pk) Returns all the asset tags associated with the asset entry.getAssetTags
(long pk, int start, int end) Returns a range of all the asset tags associated with the asset entry.getAssetTags
(long pk, int start, int end, OrderByComparator<AssetTag> orderByComparator) Returns an ordered range of all the asset tags associated with the asset entry.int
getAssetTagsSize
(long pk) Returns the number of asset tags associated with the asset entry.remove
(long entryId) Removes the asset entry with the primary key from the database.void
Removes all the asset entries from the database.void
removeAssetTag
(long pk, long assetTagPK) Removes the association between the asset entry and the asset tag.void
removeAssetTag
(long pk, AssetTag assetTag) Removes the association between the asset entry and the asset tag.void
removeAssetTags
(long pk, long[] assetTagPKs) Removes the association between the asset entry and the asset tags.void
removeAssetTags
(long pk, List<AssetTag> assetTags) Removes the association between the asset entry and the asset tags.removeByC_C
(long classNameId, long classPK) Removes the asset entry where classNameId = ? and classPK = ? from the database.void
removeByC_CN
(long companyId, long classNameId) Removes all the asset entries where companyId = ? and classNameId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the asset entries where companyId = ? from the database.void
removeByExpirationDate
(Date expirationDate) Removes all the asset entries where expirationDate = ? from the database.void
removeByG_C_P_E
(long groupId, long classNameId, Date publishDate, Date expirationDate) Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.void
removeByG_C_V
(long groupId, long classNameId, boolean visible) Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.removeByG_CU
(long groupId, String classUuid) Removes the asset entry where groupId = ? and classUuid = ? from the database.void
removeByGroupId
(long groupId) Removes all the asset entries where groupId = ? from the database.void
removeByLayoutUuid
(String layoutUuid) Removes all the asset entries where layoutUuid = ? from the database.void
removeByPublishDate
(Date publishDate) Removes all the asset entries where publishDate = ? from the database.void
removeByVisible
(boolean visible) Removes all the asset entries where visible = ? from the database.void
setAssetTags
(long pk, long[] assetTagPKs) Sets the asset tags associated with the asset entry, removing and adding associations as necessary.void
setAssetTags
(long pk, List<AssetTag> assetTags) Sets the asset tags associated with the asset entry, removing and adding associations as necessary.updateImpl
(AssetEntry assetEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByGroupId
Returns all the asset entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset entries
-
findByGroupId
Returns a range of all the asset entries where groupId = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByGroupId
List<AssetEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByGroupId
List<AssetEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByGroupId_First
AssetEntry findByGroupId_First(long groupId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByGroupId_First
Returns the first asset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByGroupId_Last
AssetEntry findByGroupId_Last(long groupId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByGroupId_Last
Returns the last asset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByGroupId_PrevAndNext
AssetEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.- Parameters:
entryId
- the primary key of the current asset entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the asset entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of asset entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset entries
-
findByCompanyId
Returns all the asset entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching asset entries
-
findByCompanyId
Returns a range of all the asset entries where companyId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByCompanyId
List<AssetEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByCompanyId
List<AssetEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByCompanyId_First
AssetEntry findByCompanyId_First(long companyId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByCompanyId_First
Returns the first asset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByCompanyId_Last
AssetEntry findByCompanyId_Last(long companyId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByCompanyId_Last
Returns the last asset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByCompanyId_PrevAndNext
AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.- Parameters:
entryId
- the primary key of the current asset entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the asset entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of asset entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching asset entries
-
findByVisible
Returns all the asset entries where visible = ?.- Parameters:
visible
- the visible- Returns:
- the matching asset entries
-
findByVisible
Returns a range of all the asset entries where visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByVisible
List<AssetEntry> findByVisible(boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByVisible
List<AssetEntry> findByVisible(boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByVisible_First
AssetEntry findByVisible_First(boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where visible = ?.- Parameters:
visible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByVisible_First
Returns the first asset entry in the ordered set where visible = ?.- Parameters:
visible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByVisible_Last
AssetEntry findByVisible_Last(boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where visible = ?.- Parameters:
visible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByVisible_Last
Returns the last asset entry in the ordered set where visible = ?.- Parameters:
visible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByVisible_PrevAndNext
AssetEntry[] findByVisible_PrevAndNext(long entryId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.- Parameters:
entryId
- the primary key of the current asset entryvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByVisible
void removeByVisible(boolean visible) Removes all the asset entries where visible = ? from the database.- Parameters:
visible
- the visible
-
countByVisible
int countByVisible(boolean visible) Returns the number of asset entries where visible = ?.- Parameters:
visible
- the visible- Returns:
- the number of matching asset entries
-
findByPublishDate
Returns all the asset entries where publishDate = ?.- Parameters:
publishDate
- the publish date- Returns:
- the matching asset entries
-
findByPublishDate
Returns a range of all the asset entries where publishDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByPublishDate
List<AssetEntry> findByPublishDate(Date publishDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where publishDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByPublishDate
List<AssetEntry> findByPublishDate(Date publishDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where publishDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByPublishDate_First
AssetEntry findByPublishDate_First(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where publishDate = ?.- Parameters:
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByPublishDate_First
AssetEntry fetchByPublishDate_First(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.- Parameters:
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByPublishDate_Last
AssetEntry findByPublishDate_Last(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where publishDate = ?.- Parameters:
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByPublishDate_Last
AssetEntry fetchByPublishDate_Last(Date publishDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.- Parameters:
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByPublishDate_PrevAndNext
AssetEntry[] findByPublishDate_PrevAndNext(long entryId, Date publishDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.- Parameters:
entryId
- the primary key of the current asset entrypublishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByPublishDate
Removes all the asset entries where publishDate = ? from the database.- Parameters:
publishDate
- the publish date
-
countByPublishDate
Returns the number of asset entries where publishDate = ?.- Parameters:
publishDate
- the publish date- Returns:
- the number of matching asset entries
-
findByExpirationDate
Returns all the asset entries where expirationDate = ?.- Parameters:
expirationDate
- the expiration date- Returns:
- the matching asset entries
-
findByExpirationDate
Returns a range of all the asset entries where expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByExpirationDate
List<AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByExpirationDate
List<AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByExpirationDate_First
AssetEntry findByExpirationDate_First(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where expirationDate = ?.- Parameters:
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByExpirationDate_First
AssetEntry fetchByExpirationDate_First(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.- Parameters:
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByExpirationDate_Last
AssetEntry findByExpirationDate_Last(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where expirationDate = ?.- Parameters:
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByExpirationDate_Last
AssetEntry fetchByExpirationDate_Last(Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.- Parameters:
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByExpirationDate_PrevAndNext
AssetEntry[] findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.- Parameters:
entryId
- the primary key of the current asset entryexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByExpirationDate
Removes all the asset entries where expirationDate = ? from the database.- Parameters:
expirationDate
- the expiration date
-
countByExpirationDate
Returns the number of asset entries where expirationDate = ?.- Parameters:
expirationDate
- the expiration date- Returns:
- the number of matching asset entries
-
findByLayoutUuid
Returns all the asset entries where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuid- Returns:
- the matching asset entries
-
findByLayoutUuid
Returns a range of all the asset entries where layoutUuid = ?.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 fromAssetEntryModelImpl
.- Parameters:
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByLayoutUuid
List<AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where layoutUuid = ?.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 fromAssetEntryModelImpl
.- Parameters:
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByLayoutUuid
List<AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where layoutUuid = ?.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 fromAssetEntryModelImpl
.- Parameters:
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByLayoutUuid_First
AssetEntry findByLayoutUuid_First(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByLayoutUuid_First
AssetEntry fetchByLayoutUuid_First(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByLayoutUuid_Last
AssetEntry findByLayoutUuid_Last(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByLayoutUuid_Last
AssetEntry fetchByLayoutUuid_Last(String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByLayoutUuid_PrevAndNext
AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.- Parameters:
entryId
- the primary key of the current asset entrylayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByLayoutUuid
Removes all the asset entries where layoutUuid = ? from the database.- Parameters:
layoutUuid
- the layout uuid
-
countByLayoutUuid
Returns the number of asset entries where layoutUuid = ?.- Parameters:
layoutUuid
- the layout uuid- Returns:
- the number of matching asset entries
-
findByG_CU
Returns the asset entry where groupId = ? and classUuid = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
groupId
- the group IDclassUuid
- the class uuid- Returns:
- the matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByG_CU
Returns the asset entry where groupId = ? and classUuid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassUuid
- the class uuid- Returns:
- the matching asset entry, or
null
if a matching asset entry could not be found
-
fetchByG_CU
Returns the asset entry where groupId = ? and classUuid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassUuid
- the class uuiduseFinderCache
- whether to use the finder cache- Returns:
- the matching asset entry, or
null
if a matching asset entry could not be found
-
removeByG_CU
Removes the asset entry where groupId = ? and classUuid = ? from the database.- Parameters:
groupId
- the group IDclassUuid
- the class uuid- Returns:
- the asset entry that was removed
- Throws:
NoSuchEntryException
-
countByG_CU
Returns the number of asset entries where groupId = ? and classUuid = ?.- Parameters:
groupId
- the group IDclassUuid
- the class uuid- Returns:
- the number of matching asset entries
-
findByC_CN
Returns all the asset entries where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the matching asset entries
-
findByC_CN
Returns a range of all the asset entries where companyId = ? and classNameId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByC_CN
List<AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByC_CN
List<AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.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 fromAssetEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByC_CN_First
AssetEntry findByC_CN_First(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByC_CN_First
AssetEntry fetchByC_CN_First(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByC_CN_Last
AssetEntry findByC_CN_Last(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByC_CN_Last
AssetEntry fetchByC_CN_Last(long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByC_CN_PrevAndNext
AssetEntry[] findByC_CN_PrevAndNext(long entryId, long companyId, long classNameId, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.- Parameters:
entryId
- the primary key of the current asset entrycompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByC_CN
void removeByC_CN(long companyId, long classNameId) Removes all the asset entries where companyId = ? and classNameId = ? from the database.- Parameters:
companyId
- the company IDclassNameId
- the class name ID
-
countByC_CN
int countByC_CN(long companyId, long classNameId) Returns the number of asset entries where companyId = ? and classNameId = ?.- Parameters:
companyId
- the company IDclassNameId
- the class name ID- Returns:
- the number of matching asset entries
-
findByC_C
Returns the asset entry where classNameId = ? and classPK = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByC_C
Returns the asset entry where classNameId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching asset entry, or
null
if a matching asset entry could not be found
-
fetchByC_C
Returns the asset entry where classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset entry, or
null
if a matching asset entry could not be found
-
removeByC_C
Removes the asset entry where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the asset entry that was removed
- Throws:
NoSuchEntryException
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of asset entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching asset entries
-
findByG_C_V
Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visible- Returns:
- the matching asset entries
-
findByG_C_V
Returns a range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByG_C_V
List<AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByG_C_V
List<AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByG_C_V_First
AssetEntry findByG_C_V_First(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByG_C_V_First
AssetEntry fetchByG_C_V_First(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByG_C_V_Last
AssetEntry findByG_C_V_Last(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByG_C_V_Last
AssetEntry fetchByG_C_V_Last(long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByG_C_V_PrevAndNext
AssetEntry[] findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Parameters:
entryId
- the primary key of the current asset entrygroupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByG_C_V
void removeByG_C_V(long groupId, long classNameId, boolean visible) Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visible
-
countByG_C_V
int countByG_C_V(long groupId, long classNameId, boolean visible) Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDvisible
- the visible- Returns:
- the number of matching asset entries
-
findByG_C_P_E
List<AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate) Returns all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration date- Returns:
- the matching asset entries
-
findByG_C_P_E
List<AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end) Returns a range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of matching asset entries
-
findByG_C_P_E
List<AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching asset entries
-
findByG_C_P_E
List<AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.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 fromAssetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset entries
-
findByG_C_P_E_First
AssetEntry findByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByG_C_P_E_First
AssetEntry fetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset entry, or
null
if a matching asset entry could not be found
-
findByG_C_P_E_Last
AssetEntry findByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry
- Throws:
NoSuchEntryException
- if a matching asset entry could not be found
-
fetchByG_C_P_E_Last
AssetEntry fetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset entry, or
null
if a matching asset entry could not be found
-
findByG_C_P_E_PrevAndNext
AssetEntry[] findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, OrderByComparator<AssetEntry> orderByComparator) throws NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
entryId
- the primary key of the current asset entrygroupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
removeByG_C_P_E
Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration date
-
countByG_C_P_E
Returns the number of asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration date- Returns:
- the number of matching asset entries
-
cacheResult
Caches the asset entry in the entity cache if it is enabled.- Parameters:
assetEntry
- the asset entry
-
cacheResult
Caches the asset entries in the entity cache if it is enabled.- Parameters:
assetEntries
- the asset entries
-
create
Creates a new asset entry with the primary key. Does not add the asset entry to the database.- Parameters:
entryId
- the primary key for the new asset entry- Returns:
- the new asset entry
-
remove
Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
entryId
- the primary key of the asset entry- Returns:
- the asset entry that was removed
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the asset entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
entryId
- the primary key of the asset entry- Returns:
- the asset entry
- Throws:
NoSuchEntryException
- if a asset entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset entry with the primary key or returnsnull
if it could not be found.- Parameters:
entryId
- the primary key of the asset entry- Returns:
- the asset entry, or
null
if a asset entry with the primary key could not be found
-
findAll
List<AssetEntry> findAll()Returns all the asset entries.- Returns:
- the asset entries
-
findAll
Returns a range of all the asset entries.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 fromAssetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of asset entries
-
findAll
Returns an ordered range of all the asset entries.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 fromAssetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset entries
-
findAll
List<AssetEntry> findAll(int start, int end, OrderByComparator<AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries.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 fromAssetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset entries
-
removeAll
void removeAll()Removes all the asset entries from the database. -
countAll
int countAll()Returns the number of asset entries.- Returns:
- the number of asset entries
-
getAssetTagPrimaryKeys
long[] getAssetTagPrimaryKeys(long pk) Returns the primaryKeys of asset tags associated with the asset entry.- Parameters:
pk
- the primary key of the asset entry- Returns:
- long[] of the primaryKeys of asset tags associated with the asset entry
-
getAssetTags
Returns all the asset tags associated with the asset entry.- Parameters:
pk
- the primary key of the asset entry- Returns:
- the asset tags associated with the asset entry
-
getAssetTags
Returns a range of all the asset tags associated with the asset entry.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 fromAssetEntryModelImpl
.- Parameters:
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of asset tags associated with the asset entry
-
getAssetTags
List<AssetTag> getAssetTags(long pk, int start, int end, OrderByComparator<AssetTag> orderByComparator) Returns an ordered range of all the asset tags associated with the asset entry.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 fromAssetEntryModelImpl
.- Parameters:
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of asset tags associated with the asset entry
-
getAssetTagsSize
int getAssetTagsSize(long pk) Returns the number of asset tags associated with the asset entry.- Parameters:
pk
- the primary key of the asset entry- Returns:
- the number of asset tags associated with the asset entry
-
containsAssetTag
boolean containsAssetTag(long pk, long assetTagPK) Returnstrue
if the asset tag is associated with the asset entry.- Parameters:
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tag- Returns:
true
if the asset tag is associated with the asset entry;false
otherwise
-
containsAssetTags
boolean containsAssetTags(long pk) Returnstrue
if the asset entry has any asset tags associated with it.- Parameters:
pk
- the primary key of the asset entry to check for associations with asset tags- Returns:
true
if the asset entry has any asset tags associated with it;false
otherwise
-
addAssetTag
boolean addAssetTag(long pk, long assetTagPK) Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tag- Returns:
true
if an association between the asset entry and the asset tag was added;false
if they were already associated
-
addAssetTag
Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTag
- the asset tag- Returns:
true
if an association between the asset entry and the asset tag was added;false
if they were already associated
-
addAssetTags
boolean addAssetTags(long pk, long[] assetTagPKs) Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tags- Returns:
true
if at least one association between the asset entry and the asset tags was added;false
if they were all already associated
-
addAssetTags
Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTags
- the asset tags- Returns:
true
if at least one association between the asset entry and the asset tags was added;false
if they were all already associated
-
clearAssetTags
void clearAssetTags(long pk) Clears all associations between the asset entry and its asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entry to clear the associated asset tags from
-
removeAssetTag
void removeAssetTag(long pk, long assetTagPK) Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tag
-
removeAssetTag
Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTag
- the asset tag
-
removeAssetTags
void removeAssetTags(long pk, long[] assetTagPKs) Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tags
-
removeAssetTags
Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTags
- the asset tags
-
setAssetTags
void setAssetTags(long pk, long[] assetTagPKs) Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tags to be associated with the asset entry
-
setAssetTags
Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the asset entryassetTags
- the asset tags to be associated with the asset entry
-