Class AssetEntryPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetEntryPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag> protected com.liferay.asset.kernel.service.persistence.AssetTagPersistencestatic final Stringstatic final Stringstatic final StringFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAssetTag(long pk, long assetTagPK) Adds an association between the asset entry and the asset tag.booleanaddAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag) Adds an association between the asset entry and the asset tag.booleanaddAssetTags(long pk, long[] assetTagPKs) Adds an association between the asset entry and the asset tags.booleanaddAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags) Adds an association between the asset entry and the asset tags.voidInitializes the asset entry persistence.voidcacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry) Caches the asset entry in the entity cache if it is enabled.voidcacheResult(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Caches the asset entries in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl) voidclearAssetTags(long pk) Clears all associations between the asset entry and its asset tags.voidClears the cache for all asset entries.voidclearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry) Clears the cache for the asset entry.voidclearCache(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) voidclearCache(Set<Serializable> primaryKeys) booleancontainsAssetTag(long pk, long assetTagPK) Returnstrueif the asset tag is associated with the asset entry.booleancontainsAssetTags(long pk) Returnstrueif the asset entry has any asset tags associated with it.intcountAll()Returns the number of asset entries.intcountByC_C(long classNameId, long classPK) Returns the number of asset entries where classNameId = ? and classPK = ?.intcountByC_CN(long companyId, long classNameId) Returns the number of asset entries where companyId = ? and classNameId = ?.intcountByCompanyId(long companyId) Returns the number of asset entries where companyId = ?.intcountByExpirationDate(Date expirationDate) Returns the number of asset entries where expirationDate = ?.intcountByG_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 = ?.intcountByG_C_V(long groupId, long classNameId, boolean visible) Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.intcountByG_CU(long groupId, String classUuid) Returns the number of asset entries where groupId = ? and classUuid = ?.intcountByGroupId(long groupId) Returns the number of asset entries where groupId = ?.intcountByLayoutUuid(String layoutUuid) Returns the number of asset entries where layoutUuid = ?.intcountByPublishDate(Date publishDate) Returns the number of asset entries where publishDate = ?.intcountByVisible(boolean visible) Returns the number of asset entries where visible = ?.com.liferay.asset.kernel.model.AssetEntrycreate(long entryId) Creates a new asset entry with the primary key.voiddestroy()com.liferay.asset.kernel.model.AssetEntryfetchByC_C(long classNameId, long classPK) Returns the asset entry where classNameId = ? and classPK = ? or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetEntryfetchByC_C(long classNameId, long classPK, boolean useFinderCache) Returns the asset entry where classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetEntryfetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntryfetchByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntryfetchByG_CU(long groupId, String classUuid) Returns the asset entry where groupId = ? and classUuid = ? or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetEntryfetchByG_CU(long groupId, String classUuid, boolean useFinderCache) Returns the asset entry where groupId = ? and classUuid = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetEntryfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetEntryfetchByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntryfetchByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntryfetchByPrimaryKey(long entryId) Returns the asset entry with the primary key or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetEntryfetchByPrimaryKey(Serializable primaryKey) Returns the asset entry with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.asset.kernel.model.AssetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.asset.kernel.model.AssetEntryfetchByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.com.liferay.asset.kernel.model.AssetEntryfetchByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where visible = ?.com.liferay.asset.kernel.model.AssetEntryfetchByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>findAll()Returns all the asset entries.List<com.liferay.asset.kernel.model.AssetEntry>findAll(int start, int end) Returns a range of all the asset entries.List<com.liferay.asset.kernel.model.AssetEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries.List<com.liferay.asset.kernel.model.AssetEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries.com.liferay.asset.kernel.model.AssetEntryfindByC_C(long classNameId, long classPK) Returns the asset entry where classNameId = ? and classPK = ? or throws aNoSuchEntryExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetEntry>findByC_CN(long companyId, long classNameId) Returns all the asset entries where companyId = ? and classNameId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByC_CN(long companyId, long classNameId, int start, int end) Returns a range of all the asset entries where companyId = ? and classNameId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.com.liferay.asset.kernel.model.AssetEntryfindByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.com.liferay.asset.kernel.model.AssetEntryfindByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.com.liferay.asset.kernel.model.AssetEntry[]findByC_CN_PrevAndNext(long entryId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByCompanyId(long companyId) Returns all the asset entries where companyId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByCompanyId(long companyId, int start, int end) Returns a range of all the asset entries where companyId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ?.com.liferay.asset.kernel.model.AssetEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetEntryfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ?.com.liferay.asset.kernel.model.AssetEntry[]findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByExpirationDate(Date expirationDate) Returns all the asset entries where expirationDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByExpirationDate(Date expirationDate, int start, int end) Returns a range of all the asset entries where expirationDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where expirationDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.com.liferay.asset.kernel.model.AssetEntry[]findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.List<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.com.liferay.asset.kernel.model.AssetEntry[]findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByG_C_V(long groupId, long classNameId, boolean visible) Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>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 = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntryfindByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntryfindByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntry[]findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.com.liferay.asset.kernel.model.AssetEntryfindByG_CU(long groupId, String classUuid) Returns the asset entry where groupId = ? and classUuid = ? or throws aNoSuchEntryExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetEntry>findByGroupId(long groupId) Returns all the asset entries where groupId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByGroupId(long groupId, int start, int end) Returns a range of all the asset entries where groupId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ?.com.liferay.asset.kernel.model.AssetEntryfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetEntryfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetEntry[]findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByLayoutUuid(String layoutUuid) Returns all the asset entries where layoutUuid = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByLayoutUuid(String layoutUuid, int start, int end) Returns a range of all the asset entries where layoutUuid = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where layoutUuid = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntryfindByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntryfindByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntry[]findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.com.liferay.asset.kernel.model.AssetEntryfindByPrimaryKey(long entryId) Returns the asset entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.com.liferay.asset.kernel.model.AssetEntryfindByPrimaryKey(Serializable primaryKey) Returns the asset entry with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetEntry>findByPublishDate(Date publishDate) Returns all the asset entries where publishDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByPublishDate(Date publishDate, int start, int end) Returns a range of all the asset entries where publishDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where publishDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where publishDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.com.liferay.asset.kernel.model.AssetEntryfindByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.com.liferay.asset.kernel.model.AssetEntry[]findByPublishDate_PrevAndNext(long entryId, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByVisible(boolean visible) Returns all the asset entries where visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByVisible(boolean visible, int start, int end) Returns a range of all the asset entries where visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where visible = ?.List<com.liferay.asset.kernel.model.AssetEntry>findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where visible = ?.com.liferay.asset.kernel.model.AssetEntryfindByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where visible = ?.com.liferay.asset.kernel.model.AssetEntryfindByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where visible = ?.com.liferay.asset.kernel.model.AssetEntry[]findByVisible_PrevAndNext(long entryId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.List<com.liferay.asset.kernel.model.AssetTag>getAssetTags(long pk) Returns all the asset tags associated with the asset entry.List<com.liferay.asset.kernel.model.AssetTag>getAssetTags(long pk, int start, int end) Returns a range of all the asset tags associated with the asset entry.List<com.liferay.asset.kernel.model.AssetTag>getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns an ordered range of all the asset tags associated with the asset entry.intgetAssetTagsSize(long pk) Returns the number of asset tags associated with the asset entry.protected com.liferay.asset.kernel.model.AssetEntrygetByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetEntrygetByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.asset.kernel.model.AssetEntryremove(long entryId) Removes the asset entry with the primary key from the database.com.liferay.asset.kernel.model.AssetEntryremove(Serializable primaryKey) Removes the asset entry with the primary key from the database.voidRemoves all the asset entries from the database.voidremoveAssetTag(long pk, long assetTagPK) Removes the association between the asset entry and the asset tag.voidremoveAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag) Removes the association between the asset entry and the asset tag.voidremoveAssetTags(long pk, long[] assetTagPKs) Removes the association between the asset entry and the asset tags.voidremoveAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags) Removes the association between the asset entry and the asset tags.com.liferay.asset.kernel.model.AssetEntryremoveByC_C(long classNameId, long classPK) Removes the asset entry where classNameId = ? and classPK = ? from the database.voidremoveByC_CN(long companyId, long classNameId) Removes all the asset entries where companyId = ? and classNameId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the asset entries where companyId = ? from the database.voidremoveByExpirationDate(Date expirationDate) Removes all the asset entries where expirationDate = ? from the database.voidremoveByG_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.voidremoveByG_C_V(long groupId, long classNameId, boolean visible) Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.com.liferay.asset.kernel.model.AssetEntryremoveByG_CU(long groupId, String classUuid) Removes the asset entry where groupId = ? and classUuid = ? from the database.voidremoveByGroupId(long groupId) Removes all the asset entries where groupId = ? from the database.voidremoveByLayoutUuid(String layoutUuid) Removes all the asset entries where layoutUuid = ? from the database.voidremoveByPublishDate(Date publishDate) Removes all the asset entries where publishDate = ? from the database.voidremoveByVisible(boolean visible) Removes all the asset entries where visible = ? from the database.protected com.liferay.asset.kernel.model.AssetEntryremoveImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) voidsetAssetTags(long pk, long[] assetTagPKs) Sets the asset tags associated with the asset entry, removing and adding associations as necessary.voidsetAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags) Sets the asset tags associated with the asset entry, removing and adding associations as necessary.com.liferay.asset.kernel.model.AssetEntryupdateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
assetTagPersistence
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence -
assetEntryToAssetTagTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag> assetEntryToAssetTagTableMapper
-
-
Constructor Details
-
AssetEntryPersistenceImpl
public AssetEntryPersistenceImpl()
-
-
Method Details
-
findByGroupId
Returns all the asset entries where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group ID- Returns:
- the matching asset entries
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end) Returns a range of all the asset entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByGroupId_Last
public com.liferay.asset.kernel.model.AssetEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByGroupId_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByGroupId_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset entries where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset entries where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching asset entries
-
findByCompanyId
Returns all the asset entries where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company ID- Returns:
- the matching asset entries
-
findByCompanyId
public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the asset entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByCompanyId_First
public com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByCompanyId_Last
public com.liferay.asset.kernel.model.AssetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByCompanyId_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the asset entries where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of asset entries where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching asset entries
-
findByVisible
Returns all the asset entries where visible = ?.- Specified by:
findByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visible- Returns:
- the matching asset entries
-
findByVisible
public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end) Returns a range of all the asset entries where visible = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where visible = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where visible = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where visible = ?.- Specified by:
findByVisible_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visibleorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByVisible_First
public com.liferay.asset.kernel.model.AssetEntry fetchByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where visible = ?.- Specified by:
fetchByVisible_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visibleorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByVisible_Last
public com.liferay.asset.kernel.model.AssetEntry findByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where visible = ?.- Specified by:
findByVisible_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visibleorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByVisible_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where visible = ?.- Specified by:
fetchByVisible_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visibleorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByVisible_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByVisible_PrevAndNext(long entryId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.- Specified by:
findByVisible_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByVisible_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByVisible
public void removeByVisible(boolean visible) Removes all the asset entries where visible = ? from the database.- Specified by:
removeByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visible
-
countByVisible
public int countByVisible(boolean visible) Returns the number of asset entries where visible = ?.- Specified by:
countByVisiblein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
visible- the visible- Returns:
- the number of matching asset entries
-
findByPublishDate
Returns all the asset entries where publishDate = ?.- Specified by:
findByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish date- Returns:
- the matching asset entries
-
findByPublishDate
public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end) Returns a range of all the asset entries where publishDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where publishDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where publishDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where publishDate = ?.- Specified by:
findByPublishDate_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByPublishDate_First
public com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where publishDate = ?.- Specified by:
fetchByPublishDate_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByPublishDate_Last
public com.liferay.asset.kernel.model.AssetEntry findByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where publishDate = ?.- Specified by:
findByPublishDate_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByPublishDate_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where publishDate = ?.- Specified by:
fetchByPublishDate_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByPublishDate_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByPublishDate_PrevAndNext(long entryId, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.- Specified by:
findByPublishDate_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByPublishDate_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByPublishDate
Removes all the asset entries where publishDate = ? from the database.- Specified by:
removeByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish date
-
countByPublishDate
Returns the number of asset entries where publishDate = ?.- Specified by:
countByPublishDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
publishDate- the publish date- Returns:
- the number of matching asset entries
-
findByExpirationDate
Returns all the asset entries where expirationDate = ?.- Specified by:
findByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration date- Returns:
- the matching asset entries
-
findByExpirationDate
public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end) Returns a range of all the asset entries where expirationDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where expirationDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where expirationDate = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where expirationDate = ?.- Specified by:
findByExpirationDate_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByExpirationDate_First
public com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where expirationDate = ?.- Specified by:
fetchByExpirationDate_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByExpirationDate_Last
public com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where expirationDate = ?.- Specified by:
findByExpirationDate_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByExpirationDate_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where expirationDate = ?.- Specified by:
fetchByExpirationDate_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByExpirationDate_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.- Specified by:
findByExpirationDate_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByExpirationDate_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByExpirationDate
Removes all the asset entries where expirationDate = ? from the database.- Specified by:
removeByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration date
-
countByExpirationDate
Returns the number of asset entries where expirationDate = ?.- Specified by:
countByExpirationDatein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
expirationDate- the expiration date- Returns:
- the number of matching asset entries
-
findByLayoutUuid
Returns all the asset entries where layoutUuid = ?.- Specified by:
findByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuid- Returns:
- the matching asset entries
-
findByLayoutUuid
public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end) Returns a range of all the asset entries where layoutUuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where layoutUuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries where layoutUuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where layoutUuid = ?.- Specified by:
findByLayoutUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByLayoutUuid_First
public com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where layoutUuid = ?.- Specified by:
fetchByLayoutUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByLayoutUuid_Last
public com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where layoutUuid = ?.- Specified by:
findByLayoutUuid_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByLayoutUuid_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where layoutUuid = ?.- Specified by:
fetchByLayoutUuid_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByLayoutUuid_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.- Specified by:
findByLayoutUuid_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByLayoutUuid_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByLayoutUuid
Removes all the asset entries where layoutUuid = ? from the database.- Specified by:
removeByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuid
-
countByLayoutUuid
Returns the number of asset entries where layoutUuid = ?.- Specified by:
countByLayoutUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
layoutUuid- the layout uuid- Returns:
- the number of matching asset entries
-
findByG_CU
public com.liferay.asset.kernel.model.AssetEntry findByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entry where groupId = ? and classUuid = ? or throws aNoSuchEntryExceptionif it could not be found.- Specified by:
findByG_CUin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassUuid- the class uuid- Returns:
- the matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByG_CU
Returns the asset entry where groupId = ? and classUuid = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_CUin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassUuid- the class uuid- Returns:
- the matching asset entry, or
nullif a matching asset entry could not be found
-
fetchByG_CU
public com.liferay.asset.kernel.model.AssetEntry fetchByG_CU(long groupId, String classUuid, boolean useFinderCache) Returns the asset entry where groupId = ? and classUuid = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_CUin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassUuid- the class uuiduseFinderCache- whether to use the finder cache- Returns:
- the matching asset entry, or
nullif a matching asset entry could not be found
-
removeByG_CU
public com.liferay.asset.kernel.model.AssetEntry removeByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException Removes the asset entry where groupId = ? and classUuid = ? from the database.- Specified by:
removeByG_CUin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassUuid- the class uuid- Returns:
- the asset entry that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException
-
countByG_CU
Returns the number of asset entries where groupId = ? and classUuid = ?.- Specified by:
countByG_CUin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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 = ?.- Specified by:
findByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the matching asset entries
-
findByC_CN
public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end) Returns a range of all the asset entries where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByC_CN_First
public com.liferay.asset.kernel.model.AssetEntry fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_CN_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset entry, or
nullif a matching asset entry could not be found
-
findByC_CN_Last
public com.liferay.asset.kernel.model.AssetEntry findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByC_CN_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_CN_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset entry, or
nullif a matching asset entry could not be found
-
findByC_CN_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByC_CN_PrevAndNext(long entryId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_CN_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByC_CN_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByC_CN
public void removeByC_CN(long companyId, long classNameId) Removes all the asset entries where companyId = ? and classNameId = ? from the database.- Specified by:
removeByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID
-
countByC_CN
public int countByC_CN(long companyId, long classNameId) Returns the number of asset entries where companyId = ? and classNameId = ?.- Specified by:
countByC_CNin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the number of matching asset entries
-
findByC_C
public com.liferay.asset.kernel.model.AssetEntry findByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entry where classNameId = ? and classPK = ? or throws aNoSuchEntryExceptionif it could not be found.- Specified by:
findByC_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByC_C
public com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK) Returns the asset entry where classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching asset entry, or
nullif a matching asset entry could not be found
-
fetchByC_C
public com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK, boolean useFinderCache) Returns the asset entry where classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching asset entry, or
nullif a matching asset entry could not be found
-
removeByC_C
public com.liferay.asset.kernel.model.AssetEntry removeByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException Removes the asset entry where classNameId = ? and classPK = ? from the database.- Specified by:
removeByC_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the asset entry that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException
-
countByC_C
public int countByC_C(long classNameId, long classPK) Returns the number of asset entries where classNameId = ? and classPK = ?.- Specified by:
countByC_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching asset entries
-
findByG_C_V
public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible) Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.- Specified by:
findByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDvisible- the visible- Returns:
- the matching asset entries
-
findByG_C_V
public List<com.liferay.asset.kernel.model.AssetEntry> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Specified by:
findByG_C_V_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByG_C_V_First
public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Specified by:
fetchByG_C_V_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
nullif a matching asset entry could not be found
-
findByG_C_V_Last
public com.liferay.asset.kernel.model.AssetEntry findByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Specified by:
findByG_C_V_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByG_C_V_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Specified by:
fetchByG_C_V_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
nullif a matching asset entry could not be found
-
findByG_C_V_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.- Specified by:
findByG_C_V_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByG_C_V_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByG_C_V
public void removeByG_C_V(long groupId, long classNameId, boolean visible) Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.- Specified by:
removeByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDvisible- the visible
-
countByG_C_V
public int countByG_C_V(long groupId, long classNameId, boolean visible) Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.- Specified by:
countByG_C_Vin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDvisible- the visible- Returns:
- the number of matching asset entries
-
findByG_C_P_E
public List<com.liferay.asset.kernel.model.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 = ?.- Specified by:
findByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDpublishDate- the publish dateexpirationDate- the expiration date- Returns:
- the matching asset entries
-
findByG_C_P_E
public List<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Specified by:
findByG_C_P_E_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByG_C_P_E_First
public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Specified by:
fetchByG_C_P_E_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
nullif a matching asset entry could not be found
-
findByG_C_P_E_Last
public com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Specified by:
findByG_C_P_E_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a matching asset entry could not be found
-
fetchByG_C_P_E_Last
public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Specified by:
fetchByG_C_P_E_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
nullif a matching asset entry could not be found
-
findByG_C_P_E_PrevAndNext
public com.liferay.asset.kernel.model.AssetEntry[] findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.- Specified by:
findByG_C_P_E_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
getByG_C_P_E_PrevAndNext
protected com.liferay.asset.kernel.model.AssetEntry getByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous) -
removeByG_C_P_E
Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.- Specified by:
removeByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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 = ?.- Specified by:
countByG_C_P_Ein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
groupId- the group IDclassNameId- the class name IDpublishDate- the publish dateexpirationDate- the expiration date- Returns:
- the number of matching asset entries
-
cacheResult
public void cacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry) Caches the asset entry in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>- Parameters:
assetEntry- the asset entry
-
cacheResult
Caches the asset entries in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
assetEntries- the asset entries
-
clearCache
public void clearCache()Clears the cache for all asset entries.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
clearCache
public void clearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry) Clears the cache for the asset entry.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
-
cacheUniqueFindersCache
-
create
public com.liferay.asset.kernel.model.AssetEntry create(long entryId) Creates a new asset entry with the primary key. Does not add the asset entry to the database.- Specified by:
createin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
entryId- the primary key for the new asset entry- Returns:
- the new asset entry
-
remove
public com.liferay.asset.kernel.model.AssetEntry remove(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
remove
public com.liferay.asset.kernel.model.AssetEntry remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>- Parameters:
primaryKey- the primary key of the asset entry- Returns:
- the asset entry that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetEntry removeImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
updateImpl
public com.liferay.asset.kernel.model.AssetEntry updateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) - Specified by:
updateImplin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entry with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>- Parameters:
primaryKey- the primary key of the asset entry- Returns:
- the asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException Returns the asset entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry
- Throws:
com.liferay.asset.kernel.exception.NoSuchEntryException- if a asset entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset entry with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>- Parameters:
primaryKey- the primary key of the asset entry- Returns:
- the asset entry, or
nullif a asset entry with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetEntry fetchByPrimaryKey(long entryId) Returns the asset entry with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry, or
nullif a asset entry with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.asset.kernel.model.AssetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
findAll
Returns all the asset entries.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Returns:
- the asset entries
-
findAll
Returns a range of all the asset entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) Returns an ordered range of all the asset entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public void removeAll()Removes all the asset entries from the database.- Specified by:
removeAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence
-
countAll
public int countAll()Returns the number of asset entries.- Specified by:
countAllin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Returns:
- the number of asset entries
-
getAssetTagPrimaryKeys
public long[] getAssetTagPrimaryKeys(long pk) Returns the primaryKeys of asset tags associated with the asset entry.- Specified by:
getAssetTagPrimaryKeysin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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.- Specified by:
getAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
getAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAssetEntryModelImpl.- Specified by:
getAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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
public int getAssetTagsSize(long pk) Returns the number of asset tags associated with the asset entry.- Specified by:
getAssetTagsSizein interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entry- Returns:
- the number of asset tags associated with the asset entry
-
containsAssetTag
public boolean containsAssetTag(long pk, long assetTagPK) Returnstrueif the asset tag is associated with the asset entry.- Specified by:
containsAssetTagin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTagPK- the primary key of the asset tag- Returns:
trueif the asset tag is associated with the asset entry;falseotherwise
-
containsAssetTags
public boolean containsAssetTags(long pk) Returnstrueif the asset entry has any asset tags associated with it.- Specified by:
containsAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entry to check for associations with asset tags- Returns:
trueif the asset entry has any asset tags associated with it;falseotherwise
-
addAssetTag
public 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.- Specified by:
addAssetTagin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTagPK- the primary key of the asset tag- Returns:
trueif an association between the asset entry and the asset tag was added;falseif they were already associated
-
addAssetTag
public boolean addAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag) Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addAssetTagin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTag- the asset tag- Returns:
trueif an association between the asset entry and the asset tag was added;falseif they were already associated
-
addAssetTags
public 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.- Specified by:
addAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTagPKs- the primary keys of the asset tags- Returns:
trueif at least one association between the asset entry and the asset tags was added;falseif 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.- Specified by:
addAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTags- the asset tags- Returns:
trueif at least one association between the asset entry and the asset tags was added;falseif they were all already associated
-
clearAssetTags
public 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.- Specified by:
clearAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entry to clear the associated asset tags from
-
removeAssetTag
public 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.- Specified by:
removeAssetTagin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTagPK- the primary key of the asset tag
-
removeAssetTag
public void removeAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag) Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeAssetTagin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTag- the asset tag
-
removeAssetTags
public 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.- Specified by:
removeAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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.- Specified by:
removeAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTags- the asset tags
-
setAssetTags
public 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.- Specified by:
setAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- 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.- Specified by:
setAssetTagsin interfacecom.liferay.asset.kernel.service.persistence.AssetEntryPersistence- Parameters:
pk- the primary key of the asset entryassetTags- the asset tags to be associated with the asset entry
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset entry persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
-