@ProviderType public interface AssetEntryPersistence extends BasePersistence<AssetEntry>
Caching information and settings can be found in portal.properties
AssetEntryPersistenceImpl,
AssetEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
addAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategories(long pk,
long[] assetCategoryPKs)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategory(long pk,
AssetCategory assetCategory)
Adds an association between the asset entry and the asset category.
|
void |
addAssetCategory(long pk,
long assetCategoryPK)
Adds an association between the asset entry and the asset category.
|
void |
addAssetTag(long pk,
AssetTag assetTag)
Adds an association between the asset entry and the asset tag.
|
void |
addAssetTag(long pk,
long assetTagPK)
Adds an association between the asset entry and the asset tag.
|
void |
addAssetTags(long pk,
java.util.List<AssetTag> assetTags)
Adds an association between the asset entry and the asset tags.
|
void |
addAssetTags(long pk,
long[] assetTagPKs)
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(java.util.List<AssetEntry> assetEntries)
Caches the asset entries in the entity cache if it is enabled.
|
void |
clearAssetCategories(long pk)
Clears all associations between the asset entry and its asset categories.
|
void |
clearAssetTags(long pk)
Clears all associations between the asset entry and its asset tags.
|
boolean |
containsAssetCategories(long pk)
Returns
true if the asset entry has any asset categories associated with it. |
boolean |
containsAssetCategory(long pk,
long assetCategoryPK)
Returns
true if the asset category is associated with the asset entry. |
boolean |
containsAssetTag(long pk,
long assetTagPK)
Returns
true if the asset tag is associated with the asset entry. |
boolean |
containsAssetTags(long pk)
Returns
true 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 |
countByCompanyId(long companyId)
Returns the number of asset entries where companyId = ?.
|
int |
countByExpirationDate(java.util.Date expirationDate)
Returns the number of asset entries where expirationDate = ?.
|
int |
countByG_CU(long groupId,
java.lang.String classUuid)
Returns the number of asset entries where groupId = ? and classUuid = ?.
|
int |
countByLayoutUuid(java.lang.String layoutUuid)
Returns the number of asset entries where layoutUuid = ?.
|
int |
countByPublishDate(java.util.Date publishDate)
Returns the number of asset entries where publishDate = ?.
|
int |
countByVisible(boolean visible)
Returns the number of asset entries where visible = ?.
|
AssetEntry |
create(long entryId)
Creates a new asset entry with the primary key.
|
AssetEntry |
fetchByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or returns
null if it could not be found. |
AssetEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the asset entry where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
AssetEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
AssetEntry |
fetchByExpirationDate_First(java.util.Date expirationDate,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
AssetEntry |
fetchByExpirationDate_Last(java.util.Date expirationDate,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
AssetEntry |
fetchByG_CU(long groupId,
java.lang.String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found. |
AssetEntry |
fetchByG_CU(long groupId,
java.lang.String classUuid,
boolean retrieveFromCache)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetEntry |
fetchByLayoutUuid_First(java.lang.String layoutUuid,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
AssetEntry |
fetchByLayoutUuid_Last(java.lang.String layoutUuid,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
AssetEntry |
fetchByPrimaryKey(long entryId)
Returns the asset entry with the primary key or returns
null if it could not be found. |
AssetEntry |
fetchByPublishDate_First(java.util.Date publishDate,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
AssetEntry |
fetchByPublishDate_Last(java.util.Date publishDate,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
AssetEntry |
fetchByVisible_First(boolean visible,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
AssetEntry |
fetchByVisible_Last(boolean visible,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
java.util.List<AssetEntry> |
findAll()
Returns all the asset entries.
|
java.util.List<AssetEntry> |
findAll(int start,
int end)
Returns a range of all the asset entries.
|
java.util.List<AssetEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries.
|
AssetEntry |
findByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
AssetEntry |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
AssetEntry |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.
|
java.util.List<AssetEntry> |
findByCompanyId(long companyId)
Returns all the asset entries where companyId = ?.
|
java.util.List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset entries where companyId = ?.
|
java.util.List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where companyId = ?.
|
AssetEntry |
findByExpirationDate_First(java.util.Date expirationDate,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
AssetEntry |
findByExpirationDate_Last(java.util.Date expirationDate,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
AssetEntry[] |
findByExpirationDate_PrevAndNext(long entryId,
java.util.Date expirationDate,
OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.
|
java.util.List<AssetEntry> |
findByExpirationDate(java.util.Date expirationDate)
Returns all the asset entries where expirationDate = ?.
|
java.util.List<AssetEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the asset entries where expirationDate = ?.
|
java.util.List<AssetEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where expirationDate = ?.
|
AssetEntry |
findByG_CU(long groupId,
java.lang.String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or throws a
NoSuchEntryException if it could not be found. |
AssetEntry |
findByLayoutUuid_First(java.lang.String layoutUuid,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
AssetEntry |
findByLayoutUuid_Last(java.lang.String layoutUuid,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
AssetEntry[] |
findByLayoutUuid_PrevAndNext(long entryId,
java.lang.String layoutUuid,
OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.
|
java.util.List<AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid)
Returns all the asset entries where layoutUuid = ?.
|
java.util.List<AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end)
Returns a range of all the asset entries where layoutUuid = ?.
|
java.util.List<AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where layoutUuid = ?.
|
AssetEntry |
findByPrimaryKey(long entryId)
Returns the asset entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
AssetEntry |
findByPublishDate_First(java.util.Date publishDate,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
AssetEntry |
findByPublishDate_Last(java.util.Date publishDate,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
AssetEntry[] |
findByPublishDate_PrevAndNext(long entryId,
java.util.Date publishDate,
OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.
|
java.util.List<AssetEntry> |
findByPublishDate(java.util.Date publishDate)
Returns all the asset entries where publishDate = ?.
|
java.util.List<AssetEntry> |
findByPublishDate(java.util.Date publishDate,
int start,
int end)
Returns a range of all the asset entries where publishDate = ?.
|
java.util.List<AssetEntry> |
findByPublishDate(java.util.Date publishDate,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where publishDate = ?.
|
AssetEntry |
findByVisible_First(boolean visible,
OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
AssetEntry |
findByVisible_Last(boolean visible,
OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
AssetEntry[] |
findByVisible_PrevAndNext(long entryId,
boolean visible,
OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.
|
java.util.List<AssetEntry> |
findByVisible(boolean visible)
Returns all the asset entries where visible = ?.
|
java.util.List<AssetEntry> |
findByVisible(boolean visible,
int start,
int end)
Returns a range of all the asset entries where visible = ?.
|
java.util.List<AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where visible = ?.
|
java.util.List<AssetCategory> |
getAssetCategories(long pk)
Returns all the asset categories associated with the asset entry.
|
java.util.List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
Returns a range of all the asset categories associated with the asset entry.
|
java.util.List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories associated with the asset entry.
|
int |
getAssetCategoriesSize(long pk)
Returns the number of asset categories associated with the asset entry.
|
java.util.List<AssetTag> |
getAssetTags(long pk)
Returns all the asset tags associated with the asset entry.
|
java.util.List<AssetTag> |
getAssetTags(long pk,
int start,
int end)
Returns a range of all the asset tags associated with the asset entry.
|
java.util.List<AssetTag> |
getAssetTags(long pk,
int start,
int end,
OrderByComparator 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.
|
AssetEntry |
remove(long entryId)
Removes the asset entry with the primary key from the database.
|
void |
removeAll()
Removes all the asset entries from the database.
|
void |
removeAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategories(long pk,
long[] assetCategoryPKs)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategory(long pk,
AssetCategory assetCategory)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetCategory(long pk,
long assetCategoryPK)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetTag(long pk,
AssetTag assetTag)
Removes the association between the asset entry and the asset tag.
|
void |
removeAssetTag(long pk,
long assetTagPK)
Removes the association between the asset entry and the asset tag.
|
void |
removeAssetTags(long pk,
java.util.List<AssetTag> assetTags)
Removes the association between the asset entry and the asset tags.
|
void |
removeAssetTags(long pk,
long[] assetTagPKs)
Removes the association between the asset entry and the asset tags.
|
AssetEntry |
removeByC_C(long classNameId,
long classPK)
Removes the asset entry where classNameId = ? and classPK = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the asset entries where companyId = ? from the database.
|
void |
removeByExpirationDate(java.util.Date expirationDate)
Removes all the asset entries where expirationDate = ? from the database.
|
AssetEntry |
removeByG_CU(long groupId,
java.lang.String classUuid)
Removes the asset entry where groupId = ? and classUuid = ? from the database.
|
void |
removeByLayoutUuid(java.lang.String layoutUuid)
Removes all the asset entries where layoutUuid = ? from the database.
|
void |
removeByPublishDate(java.util.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 |
setAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetTags(long pk,
java.util.List<AssetTag> assetTags)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetTags(long pk,
long[] assetTagPKs)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
|
AssetEntry |
updateImpl(AssetEntry assetEntry) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, updatejava.util.List<AssetEntry> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredjava.util.List<AssetEntry> findByCompanyId(long companyId, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
companyId - the company IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredAssetEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId - the primary key of the current asset entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredvoid removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredint countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredjava.util.List<AssetEntry> findByVisible(boolean visible) throws SystemException
visible - the visibleSystemException - if a system exception occurredjava.util.List<AssetEntry> findByVisible(boolean visible, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
visible - the visiblestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findByVisible(boolean visible, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredAssetEntry findByVisible_First(boolean visible, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
visible - the visibleorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByVisible_First(boolean visible, OrderByComparator orderByComparator) throws SystemException
visible - the visibleorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry findByVisible_Last(boolean visible, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
visible - the visibleorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByVisible_Last(boolean visible, OrderByComparator orderByComparator) throws SystemException
visible - the visibleorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry[] findByVisible_PrevAndNext(long entryId, boolean visible, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId - the primary key of the current asset entryvisible - the visibleorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredvoid removeByVisible(boolean visible)
throws SystemException
visible - the visibleSystemException - if a system exception occurredint countByVisible(boolean visible)
throws SystemException
visible - the visibleSystemException - if a system exception occurredjava.util.List<AssetEntry> findByPublishDate(java.util.Date publishDate) throws SystemException
publishDate - the publish dateSystemException - if a system exception occurredjava.util.List<AssetEntry> findByPublishDate(java.util.Date publishDate, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
publishDate - the publish datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findByPublishDate(java.util.Date publishDate, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredAssetEntry findByPublishDate_First(java.util.Date publishDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
publishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByPublishDate_First(java.util.Date publishDate, OrderByComparator orderByComparator) throws SystemException
publishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry findByPublishDate_Last(java.util.Date publishDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
publishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByPublishDate_Last(java.util.Date publishDate, OrderByComparator orderByComparator) throws SystemException
publishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry[] findByPublishDate_PrevAndNext(long entryId, java.util.Date publishDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId - the primary key of the current asset entrypublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredvoid removeByPublishDate(java.util.Date publishDate)
throws SystemException
publishDate - the publish dateSystemException - if a system exception occurredint countByPublishDate(java.util.Date publishDate)
throws SystemException
publishDate - the publish dateSystemException - if a system exception occurredjava.util.List<AssetEntry> findByExpirationDate(java.util.Date expirationDate) throws SystemException
expirationDate - the expiration dateSystemException - if a system exception occurredjava.util.List<AssetEntry> findByExpirationDate(java.util.Date expirationDate, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
expirationDate - the expiration datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findByExpirationDate(java.util.Date expirationDate, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredAssetEntry findByExpirationDate_First(java.util.Date expirationDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByExpirationDate_First(java.util.Date expirationDate, OrderByComparator orderByComparator) throws SystemException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry findByExpirationDate_Last(java.util.Date expirationDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByExpirationDate_Last(java.util.Date expirationDate, OrderByComparator orderByComparator) throws SystemException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry[] findByExpirationDate_PrevAndNext(long entryId, java.util.Date expirationDate, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId - the primary key of the current asset entryexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredvoid removeByExpirationDate(java.util.Date expirationDate)
throws SystemException
expirationDate - the expiration dateSystemException - if a system exception occurredint countByExpirationDate(java.util.Date expirationDate)
throws SystemException
expirationDate - the expiration dateSystemException - if a system exception occurredjava.util.List<AssetEntry> findByLayoutUuid(java.lang.String layoutUuid) throws SystemException
layoutUuid - the layout uuidSystemException - if a system exception occurredjava.util.List<AssetEntry> findByLayoutUuid(java.lang.String layoutUuid, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
layoutUuid - the layout uuidstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findByLayoutUuid(java.lang.String layoutUuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredAssetEntry findByLayoutUuid_First(java.lang.String layoutUuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
layoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByLayoutUuid_First(java.lang.String layoutUuid, OrderByComparator orderByComparator) throws SystemException
layoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry findByLayoutUuid_Last(java.lang.String layoutUuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
layoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByLayoutUuid_Last(java.lang.String layoutUuid, OrderByComparator orderByComparator) throws SystemException
layoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry[] findByLayoutUuid_PrevAndNext(long entryId, java.lang.String layoutUuid, OrderByComparator orderByComparator) throws SystemException, NoSuchEntryException
entryId - the primary key of the current asset entrylayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredvoid removeByLayoutUuid(java.lang.String layoutUuid)
throws SystemException
layoutUuid - the layout uuidSystemException - if a system exception occurredint countByLayoutUuid(java.lang.String layoutUuid)
throws SystemException
layoutUuid - the layout uuidSystemException - if a system exception occurredAssetEntry findByG_CU(long groupId, java.lang.String classUuid) throws SystemException, NoSuchEntryException
NoSuchEntryException if it could not be found.groupId - the group IDclassUuid - the class uuidNoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByG_CU(long groupId, java.lang.String classUuid) throws SystemException
null if it could not be found. Uses the finder cache.groupId - the group IDclassUuid - the class uuidnull if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByG_CU(long groupId, java.lang.String classUuid, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.groupId - the group IDclassUuid - the class uuidretrieveFromCache - whether to use the finder cachenull if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry removeByG_CU(long groupId, java.lang.String classUuid) throws SystemException, NoSuchEntryException
groupId - the group IDclassUuid - the class uuidSystemException - if a system exception occurredNoSuchEntryExceptionint countByG_CU(long groupId,
java.lang.String classUuid)
throws SystemException
groupId - the group IDclassUuid - the class uuidSystemException - if a system exception occurredAssetEntry findByC_C(long classNameId, long classPK) throws SystemException, NoSuchEntryException
NoSuchEntryException if it could not be found.classNameId - the class name IDclassPK - the class p kNoSuchEntryException - if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByC_C(long classNameId, long classPK) throws SystemException
null if it could not be found. Uses the finder cache.classNameId - the class name IDclassPK - the class p knull if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.classNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to use the finder cachenull if a matching asset entry could not be foundSystemException - if a system exception occurredAssetEntry removeByC_C(long classNameId, long classPK) throws SystemException, NoSuchEntryException
classNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredNoSuchEntryExceptionint countByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredvoid cacheResult(AssetEntry assetEntry)
assetEntry - the asset entryvoid cacheResult(java.util.List<AssetEntry> assetEntries)
assetEntries - the asset entriesAssetEntry create(long entryId)
entryId - the primary key for the new asset entryAssetEntry remove(long entryId) throws SystemException, NoSuchEntryException
entryId - the primary key of the asset entryNoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredAssetEntry updateImpl(AssetEntry assetEntry) throws SystemException
SystemExceptionAssetEntry findByPrimaryKey(long entryId) throws SystemException, NoSuchEntryException
NoSuchEntryException if it could not be found.entryId - the primary key of the asset entryNoSuchEntryException - if a asset entry with the primary key could not be foundSystemException - if a system exception occurredAssetEntry fetchByPrimaryKey(long entryId) throws SystemException
null if it could not be found.entryId - the primary key of the asset entrynull if a asset entry with the primary key could not be foundSystemException - if a system exception occurredjava.util.List<AssetEntry> findAll() throws SystemException
SystemException - if a system exception occurredjava.util.List<AssetEntry> findAll(int start, int end) throws SystemException
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 AssetEntryModelImpl. 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 entriesend - the upper bound of the range of asset entries (not inclusive)SystemException - if a system exception occurredjava.util.List<AssetEntry> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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 entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredvoid removeAll()
throws SystemException
SystemException - if a system exception occurredint countAll()
throws SystemException
SystemException - if a system exception occurredjava.util.List<AssetCategory> getAssetCategories(long pk) throws SystemException
pk - the primary key of the asset entrySystemException - if a system exception occurredjava.util.List<AssetCategory> getAssetCategories(long pk, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
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)SystemException - if a system exception occurredjava.util.List<AssetCategory> getAssetCategories(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredint getAssetCategoriesSize(long pk)
throws SystemException
pk - the primary key of the asset entrySystemException - if a system exception occurredboolean containsAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
true if the asset category is associated with the asset entry.pk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorytrue if the asset category is associated with the asset entry; false otherwiseSystemException - if a system exception occurredboolean containsAssetCategories(long pk)
throws SystemException
true if the asset entry has any asset categories associated with it.pk - the primary key of the asset entry to check for associations with asset categoriestrue if the asset entry has any asset categories associated with it; false otherwiseSystemException - if a system exception occurredvoid addAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
pk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorySystemException - if a system exception occurredvoid addAssetCategory(long pk,
AssetCategory assetCategory)
throws SystemException
pk - the primary key of the asset entryassetCategory - the asset categorySystemException - if a system exception occurredvoid addAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
pk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categoriesSystemException - if a system exception occurredvoid addAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws SystemException
pk - the primary key of the asset entryassetCategories - the asset categoriesSystemException - if a system exception occurredvoid clearAssetCategories(long pk)
throws SystemException
pk - the primary key of the asset entry to clear the associated asset categories fromSystemException - if a system exception occurredvoid removeAssetCategory(long pk,
long assetCategoryPK)
throws SystemException
pk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorySystemException - if a system exception occurredvoid removeAssetCategory(long pk,
AssetCategory assetCategory)
throws SystemException
pk - the primary key of the asset entryassetCategory - the asset categorySystemException - if a system exception occurredvoid removeAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
pk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categoriesSystemException - if a system exception occurredvoid removeAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws SystemException
pk - the primary key of the asset entryassetCategories - the asset categoriesSystemException - if a system exception occurredvoid setAssetCategories(long pk,
long[] assetCategoryPKs)
throws SystemException
pk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categories to be associated with the asset entrySystemException - if a system exception occurredvoid setAssetCategories(long pk,
java.util.List<AssetCategory> assetCategories)
throws SystemException
pk - the primary key of the asset entryassetCategories - the asset categories to be associated with the asset entrySystemException - if a system exception occurredjava.util.List<AssetTag> getAssetTags(long pk) throws SystemException
pk - the primary key of the asset entrySystemException - if a system exception occurredjava.util.List<AssetTag> getAssetTags(long pk, int start, int end) throws SystemException
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 AssetEntryModelImpl. 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.
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)SystemException - if a system exception occurredjava.util.List<AssetTag> getAssetTags(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 AssetEntryModelImpl. 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.
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 (optionally null)SystemException - if a system exception occurredint getAssetTagsSize(long pk)
throws SystemException
pk - the primary key of the asset entrySystemException - if a system exception occurredboolean containsAssetTag(long pk,
long assetTagPK)
throws SystemException
true if the asset tag is associated with the asset entry.pk - the primary key of the asset entryassetTagPK - the primary key of the asset tagtrue if the asset tag is associated with the asset entry; false otherwiseSystemException - if a system exception occurredboolean containsAssetTags(long pk)
throws SystemException
true if the asset entry has any asset tags associated with it.pk - the primary key of the asset entry to check for associations with asset tagstrue if the asset entry has any asset tags associated with it; false otherwiseSystemException - if a system exception occurredvoid addAssetTag(long pk,
long assetTagPK)
throws SystemException
pk - the primary key of the asset entryassetTagPK - the primary key of the asset tagSystemException - if a system exception occurredvoid addAssetTag(long pk,
AssetTag assetTag)
throws SystemException
pk - the primary key of the asset entryassetTag - the asset tagSystemException - if a system exception occurredvoid addAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
pk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tagsSystemException - if a system exception occurredvoid addAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws SystemException
pk - the primary key of the asset entryassetTags - the asset tagsSystemException - if a system exception occurredvoid clearAssetTags(long pk)
throws SystemException
pk - the primary key of the asset entry to clear the associated asset tags fromSystemException - if a system exception occurredvoid removeAssetTag(long pk,
long assetTagPK)
throws SystemException
pk - the primary key of the asset entryassetTagPK - the primary key of the asset tagSystemException - if a system exception occurredvoid removeAssetTag(long pk,
AssetTag assetTag)
throws SystemException
pk - the primary key of the asset entryassetTag - the asset tagSystemException - if a system exception occurredvoid removeAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
pk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tagsSystemException - if a system exception occurredvoid removeAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws SystemException
pk - the primary key of the asset entryassetTags - the asset tagsSystemException - if a system exception occurredvoid setAssetTags(long pk,
long[] assetTagPKs)
throws SystemException
pk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tags to be associated with the asset entrySystemException - if a system exception occurredvoid setAssetTags(long pk,
java.util.List<AssetTag> assetTags)
throws SystemException
pk - the primary key of the asset entryassetTags - the asset tags to be associated with the asset entrySystemException - if a system exception occurred