Class AssetTagPersistenceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetTagPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceprotected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetTag,com.liferay.asset.kernel.model.AssetEntry> static 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 TypeMethodDescriptionbooleanaddAssetEntries(long pk, long[] assetEntryPKs) Adds an association between the asset tag and the asset entries.booleanaddAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Adds an association between the asset tag and the asset entries.booleanaddAssetEntry(long pk, long assetEntryPK) Adds an association between the asset tag and the asset entry.booleanaddAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds an association between the asset tag and the asset entry.voidInitializes the asset tag persistence.voidcacheResult(com.liferay.asset.kernel.model.AssetTag assetTag) Caches the asset tag in the entity cache if it is enabled.voidcacheResult(List<com.liferay.asset.kernel.model.AssetTag> assetTags) Caches the asset tags in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl) voidclearAssetEntries(long pk) Clears all associations between the asset tag and its asset entries.voidClears the cache for all asset tags.voidclearCache(com.liferay.asset.kernel.model.AssetTag assetTag) Clears the cache for the asset tag.voidclearCache(List<com.liferay.asset.kernel.model.AssetTag> assetTags) voidclearCache(Set<Serializable> primaryKeys) booleancontainsAssetEntries(long pk) Returnstrueif the asset tag has any asset entries associated with it.booleancontainsAssetEntry(long pk, long assetEntryPK) Returnstrueif the asset entry is associated with the asset tag.intcountAll()Returns the number of asset tags.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of asset tags where externalReferenceCode = ? and groupId = ?.intcountByG_LikeN(long[] groupIds, String name) Returns the number of asset tags where groupId = any ? and name LIKE ?.intcountByG_LikeN(long groupId, String name) Returns the number of asset tags where groupId = ? and name LIKE ?.intcountByGroupId(long groupId) Returns the number of asset tags where groupId = ?.intcountByGroupId(long[] groupIds) Returns the number of asset tags where groupId = any ?.intcountByName(String name) Returns the number of asset tags where name = ?.intcountByName(String[] names) Returns the number of asset tags where name = any ?.intcountByUuid(String uuid) Returns the number of asset tags where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of asset tags where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of asset tags where uuid = ? and groupId = ?.com.liferay.asset.kernel.model.AssetTagcreate(long tagId) Creates a new asset tag with the primary key.voiddestroy()com.liferay.asset.kernel.model.AssetTagfetchByERC_G(String externalReferenceCode, long groupId) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetTagfetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetTagfetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetTagfetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetTagfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTagfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTagfetchByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where name = ?.com.liferay.asset.kernel.model.AssetTagfetchByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where name = ?.com.liferay.asset.kernel.model.AssetTagfetchByPrimaryKey(long tagId) Returns the asset tag with the primary key or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetTagfetchByPrimaryKey(Serializable primaryKey) Returns the asset tag with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.asset.kernel.model.AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.asset.kernel.model.AssetTagfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetTagfetchByUUID_G(String uuid, long groupId) Returns the asset tag where uuid = ? and groupId = ? or returnsnullif it could not be found.com.liferay.asset.kernel.model.AssetTagfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset tag where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.asset.kernel.model.AssetTagfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ?.List<com.liferay.asset.kernel.model.AssetTag>findAll()Returns all the asset tags.List<com.liferay.asset.kernel.model.AssetTag>findAll(int start, int end) Returns a range of all the asset tags.List<com.liferay.asset.kernel.model.AssetTag>findAll(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.List<com.liferay.asset.kernel.model.AssetTag>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags.com.liferay.asset.kernel.model.AssetTagfindByERC_G(String externalReferenceCode, long groupId) Returns the asset tag where externalReferenceCode = ? and groupId = ? or throws aNoSuchTagExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long[] groupIds, String name) Returns all the asset tags where groupId = any ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long[] groupIds, String name, int start, int end) Returns a range of all the asset tags where groupId = any ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long[] groupIds, String name, 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 where groupId = any ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long groupId, String name) Returns all the asset tags where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long groupId, String name, int start, int end) Returns a range of all the asset tags where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long groupId, String name, 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 where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetTagfindByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetTagfindByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.com.liferay.asset.kernel.model.AssetTag[]findByG_LikeN_PrevAndNext(long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long groupId) Returns all the asset tags where groupId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long[] groupIds) Returns all the asset tags where groupId = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long[] groupIds, int start, int end) Returns a range of all the asset tags where groupId = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long[] groupIds, 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 where groupId = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long groupId, int start, int end) Returns a range of all the asset tags where groupId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long groupId, 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 where groupId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ?.com.liferay.asset.kernel.model.AssetTagfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTagfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ?.com.liferay.asset.kernel.model.AssetTag[]findByGroupId_PrevAndNext(long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String name) Returns all the asset tags where name = ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String[] names) Returns all the asset tags where name = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String[] names, int start, int end) Returns a range of all the asset tags where name = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String[] names, 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 where name = any ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where name = ?, optionally using the finder cache.List<com.liferay.asset.kernel.model.AssetTag>findByName(String name, int start, int end) Returns a range of all the asset tags where name = ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String name, 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 where name = ?.List<com.liferay.asset.kernel.model.AssetTag>findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where name = ?.com.liferay.asset.kernel.model.AssetTagfindByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where name = ?.com.liferay.asset.kernel.model.AssetTagfindByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where name = ?.com.liferay.asset.kernel.model.AssetTag[]findByName_PrevAndNext(long tagId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the asset tags before and after the current asset tag in the ordered set where name = ?.com.liferay.asset.kernel.model.AssetTagfindByPrimaryKey(long tagId) Returns the asset tag with the primary key or throws aNoSuchTagExceptionif it could not be found.com.liferay.asset.kernel.model.AssetTagfindByPrimaryKey(Serializable primaryKey) Returns the asset tag with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.asset.kernel.model.AssetTag>findByUuid(String uuid) Returns all the asset tags where uuid = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid(String uuid, int start, int end) Returns a range of all the asset tags where uuid = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid(String uuid, 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 where uuid = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where uuid = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid_C(String uuid, long companyId) Returns all the asset tags where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset tags where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid_C(String uuid, long companyId, 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 where uuid = ? and companyId = ?.List<com.liferay.asset.kernel.model.AssetTag>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTag[]findByUuid_C_PrevAndNext(long tagId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?.com.liferay.asset.kernel.model.AssetTagfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetTagfindByUUID_G(String uuid, long groupId) Returns the asset tag where uuid = ? and groupId = ? or throws aNoSuchTagExceptionif it could not be found.com.liferay.asset.kernel.model.AssetTagfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ?.com.liferay.asset.kernel.model.AssetTag[]findByUuid_PrevAndNext(long tagId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?.List<com.liferay.asset.kernel.model.AssetEntry>getAssetEntries(long pk) Returns all the asset entries associated with the asset tag.List<com.liferay.asset.kernel.model.AssetEntry>getAssetEntries(long pk, int start, int end) Returns a range of all the asset entries associated with the asset tag.List<com.liferay.asset.kernel.model.AssetEntry>getAssetEntries(long pk, 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 associated with the asset tag.intgetAssetEntriesSize(long pk) Returns the number of asset entries associated with the asset tag.long[]getAssetEntryPrimaryKeys(long pk) Returns the primaryKeys of asset entries associated with the asset tag.protected com.liferay.asset.kernel.model.AssetTaggetByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetTaggetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetTaggetByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetTaggetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) protected com.liferay.asset.kernel.model.AssetTaggetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> 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.AssetTagremove(long tagId) Removes the asset tag with the primary key from the database.com.liferay.asset.kernel.model.AssetTagremove(Serializable primaryKey) Removes the asset tag with the primary key from the database.voidRemoves all the asset tags from the database.voidremoveAssetEntries(long pk, long[] assetEntryPKs) Removes the association between the asset tag and the asset entries.voidremoveAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Removes the association between the asset tag and the asset entries.voidremoveAssetEntry(long pk, long assetEntryPK) Removes the association between the asset tag and the asset entry.voidremoveAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry) Removes the association between the asset tag and the asset entry.com.liferay.asset.kernel.model.AssetTagremoveByERC_G(String externalReferenceCode, long groupId) Removes the asset tag where externalReferenceCode = ? and groupId = ? from the database.voidremoveByG_LikeN(long groupId, String name) Removes all the asset tags where groupId = ? and name LIKE ? from the database.voidremoveByGroupId(long groupId) Removes all the asset tags where groupId = ? from the database.voidremoveByName(String name) Removes all the asset tags where name = ? from the database.voidremoveByUuid(String uuid) Removes all the asset tags where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the asset tags where uuid = ? and companyId = ? from the database.com.liferay.asset.kernel.model.AssetTagremoveByUUID_G(String uuid, long groupId) Removes the asset tag where uuid = ? and groupId = ? from the database.protected com.liferay.asset.kernel.model.AssetTagremoveImpl(com.liferay.asset.kernel.model.AssetTag assetTag) voidsetAssetEntries(long pk, long[] assetEntryPKs) Sets the asset entries associated with the asset tag, removing and adding associations as necessary.voidsetAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Sets the asset entries associated with the asset tag, removing and adding associations as necessary.com.liferay.asset.kernel.model.AssetTagupdateImpl(com.liferay.asset.kernel.model.AssetTag assetTag) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, 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, 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
-
assetEntryPersistence
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetEntryPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence -
assetTagToAssetEntryTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetTag,com.liferay.asset.kernel.model.AssetEntry> assetTagToAssetEntryTableMapper
-
-
Constructor Details
-
AssetTagPersistenceImpl
public AssetTagPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the asset tags where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuid- Returns:
- the matching asset tags
-
findByUuid
Returns a range of all the asset tags where uuid = ?.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 fromAssetTagModelImpl.- Specified by:
findByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid, 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 where uuid = ?.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 fromAssetTagModelImpl.- Specified by:
findByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByUuid
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where uuid = ?.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 fromAssetTagModelImpl.- Specified by:
findByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
findByUuid_First
public com.liferay.asset.kernel.model.AssetTag findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the first asset tag in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByUuid_First
public com.liferay.asset.kernel.model.AssetTag fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag, or
nullif a matching asset tag could not be found
-
findByUuid_Last
public com.liferay.asset.kernel.model.AssetTag findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the last asset tag in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByUuid_Last
public com.liferay.asset.kernel.model.AssetTag fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag, or
nullif a matching asset tag could not be found
-
findByUuid_PrevAndNext
public com.liferay.asset.kernel.model.AssetTag[] findByUuid_PrevAndNext(long tagId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the current asset taguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.asset.kernel.model.AssetTag getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) -
removeByUuid
Removes all the asset tags where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of asset tags where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching asset tags
-
findByUUID_G
public com.liferay.asset.kernel.model.AssetTag findByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tag where uuid = ? and groupId = ? or throws aNoSuchTagExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByUUID_G
Returns the asset tag where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching asset tag, or
nullif a matching asset tag could not be found
-
fetchByUUID_G
public com.liferay.asset.kernel.model.AssetTag fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset tag where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset tag, or
nullif a matching asset tag could not be found
-
removeByUUID_G
public com.liferay.asset.kernel.model.AssetTag removeByUUID_G(String uuid, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException Removes the asset tag where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the asset tag that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException
-
countByUUID_G
Returns the number of asset tags where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching asset tags
-
findByUuid_C
Returns all the asset tags where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching asset tags
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset tags where uuid = ? and 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 fromAssetTagModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId, 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 where uuid = ? and 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 fromAssetTagModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByUuid_C
public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where uuid = ? and 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 fromAssetTagModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
findByUuid_C_First
public com.liferay.asset.kernel.model.AssetTag findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByUuid_C_First
public com.liferay.asset.kernel.model.AssetTag fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag, or
nullif a matching asset tag could not be found
-
findByUuid_C_Last
public com.liferay.asset.kernel.model.AssetTag findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByUuid_C_Last
public com.liferay.asset.kernel.model.AssetTag fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag, or
nullif a matching asset tag could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.asset.kernel.model.AssetTag[] findByUuid_C_PrevAndNext(long tagId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the current asset taguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.asset.kernel.model.AssetTag getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the asset tags where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of asset tags where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching asset tags
-
findByGroupId
Returns all the asset tags where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group ID- Returns:
- the matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId, int start, int end) Returns a range of all the asset tags 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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId, 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 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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags 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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
findByGroupId_First
public com.liferay.asset.kernel.model.AssetTag findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the first asset tag in the ordered set where groupId = ?.- Specified by:
findByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByGroupId_First
public com.liferay.asset.kernel.model.AssetTag fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag, or
nullif a matching asset tag could not be found
-
findByGroupId_Last
public com.liferay.asset.kernel.model.AssetTag findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the last asset tag in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByGroupId_Last
public com.liferay.asset.kernel.model.AssetTag fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag, or
nullif a matching asset tag could not be found
-
findByGroupId_PrevAndNext
public com.liferay.asset.kernel.model.AssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the current asset taggroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.asset.kernel.model.AssetTag getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) -
findByGroupId
Returns all the asset tags where groupId = any ?.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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDs- Returns:
- the matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds, int start, int end) Returns a range of all the asset tags where groupId = any ?.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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds, 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 where groupId = any ?.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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByGroupId
public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache.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 fromAssetTagModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
removeByGroupId
public void removeByGroupId(long groupId) Removes all the asset tags where groupId = ? from the database.- Specified by:
removeByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of asset tags where groupId = ?.- Specified by:
countByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group ID- Returns:
- the number of matching asset tags
-
countByGroupId
public int countByGroupId(long[] groupIds) Returns the number of asset tags where groupId = any ?.- Specified by:
countByGroupIdin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDs- Returns:
- the number of matching asset tags
-
findByName
Returns all the asset tags where name = ?.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the name- Returns:
- the matching asset tags
-
findByName
Returns a range of all the asset tags where name = ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByName
public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name, 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 where name = ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByName
public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where name = ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
findByName_First
public com.liferay.asset.kernel.model.AssetTag findByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the first asset tag in the ordered set where name = ?.- Specified by:
findByName_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByName_First
public com.liferay.asset.kernel.model.AssetTag fetchByName_First(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where name = ?.- Specified by:
fetchByName_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag, or
nullif a matching asset tag could not be found
-
findByName_Last
public com.liferay.asset.kernel.model.AssetTag findByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the last asset tag in the ordered set where name = ?.- Specified by:
findByName_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByName_Last
public com.liferay.asset.kernel.model.AssetTag fetchByName_Last(String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where name = ?.- Specified by:
fetchByName_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag, or
nullif a matching asset tag could not be found
-
findByName_PrevAndNext
public com.liferay.asset.kernel.model.AssetTag[] findByName_PrevAndNext(long tagId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tags before and after the current asset tag in the ordered set where name = ?.- Specified by:
findByName_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the current asset tagname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
getByName_PrevAndNext
protected com.liferay.asset.kernel.model.AssetTag getByName_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) -
findByName
Returns all the asset tags where name = any ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
names- the names- Returns:
- the matching asset tags
-
findByName
Returns a range of all the asset tags where name = any ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
names- the namesstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByName
public List<com.liferay.asset.kernel.model.AssetTag> findByName(String[] names, 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 where name = any ?.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
names- the namesstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByName
public List<com.liferay.asset.kernel.model.AssetTag> findByName(String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where name = ?, optionally using the finder cache.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 fromAssetTagModelImpl.- Specified by:
findByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
names- the namesstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
removeByName
Removes all the asset tags where name = ? from the database.- Specified by:
removeByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the name
-
countByName
Returns the number of asset tags where name = ?.- Specified by:
countByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
name- the name- Returns:
- the number of matching asset tags
-
countByName
Returns the number of asset tags where name = any ?.- Specified by:
countByNamein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
names- the names- Returns:
- the number of matching asset tags
-
findByG_LikeN
Returns all the asset tags where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the name- Returns:
- the matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name, int start, int end) Returns a range of all the asset tags where groupId = ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name, 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 where groupId = ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
findByG_LikeN_First
public com.liferay.asset.kernel.model.AssetTag findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByG_LikeN_First
public com.liferay.asset.kernel.model.AssetTag fetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?.- Specified by:
fetchByG_LikeN_Firstin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching asset tag, or
nullif a matching asset tag could not be found
-
findByG_LikeN_Last
public com.liferay.asset.kernel.model.AssetTag findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByG_LikeN_Last
public com.liferay.asset.kernel.model.AssetTag fetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?.- Specified by:
fetchByG_LikeN_Lastin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching asset tag, or
nullif a matching asset tag could not be found
-
findByG_LikeN_PrevAndNext
public com.liferay.asset.kernel.model.AssetTag[] findByG_LikeN_PrevAndNext(long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?.- Specified by:
findByG_LikeN_PrevAndNextin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the current asset taggroupId- the group IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
getByG_LikeN_PrevAndNext
protected com.liferay.asset.kernel.model.AssetTag getByG_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetTag assetTag, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean previous) -
findByG_LikeN
Returns all the asset tags where groupId = any ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsname- the name- Returns:
- the matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end) Returns a range of all the asset tags where groupId = any ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name, 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 where groupId = any ? and name LIKE ?.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching asset tags
-
findByG_LikeN
public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache.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 fromAssetTagModelImpl.- Specified by:
findByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsname- the namestart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (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 tags
-
removeByG_LikeN
Removes all the asset tags where groupId = ? and name LIKE ? from the database.- Specified by:
removeByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the name
-
countByG_LikeN
Returns the number of asset tags where groupId = ? and name LIKE ?.- Specified by:
countByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupId- the group IDname- the name- Returns:
- the number of matching asset tags
-
countByG_LikeN
Returns the number of asset tags where groupId = any ? and name LIKE ?.- Specified by:
countByG_LikeNin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
groupIds- the group IDsname- the name- Returns:
- the number of matching asset tags
-
findByERC_G
public com.liferay.asset.kernel.model.AssetTag findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tag where externalReferenceCode = ? and groupId = ? or throws aNoSuchTagExceptionif it could not be found.- Specified by:
findByERC_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a matching asset tag could not be found
-
fetchByERC_G
public com.liferay.asset.kernel.model.AssetTag fetchByERC_G(String externalReferenceCode, long groupId) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByERC_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching asset tag, or
nullif a matching asset tag could not be found
-
fetchByERC_G
public com.liferay.asset.kernel.model.AssetTag fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching asset tag, or
nullif a matching asset tag could not be found
-
removeByERC_G
public com.liferay.asset.kernel.model.AssetTag removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.asset.kernel.exception.NoSuchTagException Removes the asset tag where externalReferenceCode = ? and groupId = ? from the database.- Specified by:
removeByERC_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the asset tag that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException
-
countByERC_G
Returns the number of asset tags where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_Gin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching asset tags
-
cacheResult
public void cacheResult(com.liferay.asset.kernel.model.AssetTag assetTag) Caches the asset tag in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>- Parameters:
assetTag- the asset tag
-
cacheResult
Caches the asset tags in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
assetTags- the asset tags
-
clearCache
public void clearCache()Clears the cache for all asset tags.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
clearCache
public void clearCache(com.liferay.asset.kernel.model.AssetTag assetTag) Clears the cache for the asset tag.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
-
cacheUniqueFindersCache
-
create
public com.liferay.asset.kernel.model.AssetTag create(long tagId) Creates a new asset tag with the primary key. Does not add the asset tag to the database.- Specified by:
createin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key for the new asset tag- Returns:
- the new asset tag
-
remove
public com.liferay.asset.kernel.model.AssetTag remove(long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagException Removes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the asset tag- Returns:
- the asset tag that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
remove
public com.liferay.asset.kernel.model.AssetTag remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchTagException Removes the asset tag 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.AssetTag>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>- Parameters:
primaryKey- the primary key of the asset tag- Returns:
- the asset tag that was removed
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
removeImpl
protected com.liferay.asset.kernel.model.AssetTag removeImpl(com.liferay.asset.kernel.model.AssetTag assetTag) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
updateImpl
public com.liferay.asset.kernel.model.AssetTag updateImpl(com.liferay.asset.kernel.model.AssetTag assetTag) - Specified by:
updateImplin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetTag findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tag 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.AssetTag>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>- Parameters:
primaryKey- the primary key of the asset tag- Returns:
- the asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
findByPrimaryKey
public com.liferay.asset.kernel.model.AssetTag findByPrimaryKey(long tagId) throws com.liferay.asset.kernel.exception.NoSuchTagException Returns the asset tag with the primary key or throws aNoSuchTagExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the asset tag- Returns:
- the asset tag
- Throws:
com.liferay.asset.kernel.exception.NoSuchTagException- if a asset tag with the primary key could not be found
-
fetchByPrimaryKey
Returns the asset tag 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.AssetTag>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>- Parameters:
primaryKey- the primary key of the asset tag- Returns:
- the asset tag, or
nullif a asset tag with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.asset.kernel.model.AssetTag fetchByPrimaryKey(long tagId) Returns the asset tag with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
tagId- the primary key of the asset tag- Returns:
- the asset tag, or
nullif a asset tag with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.asset.kernel.model.AssetTag> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
findAll
Returns all the asset tags.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Returns:
- the asset tags
-
findAll
Returns a range of all the asset tags.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 fromAssetTagModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
start- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of asset tags
-
findAll
public List<com.liferay.asset.kernel.model.AssetTag> findAll(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.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 fromAssetTagModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
start- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of asset tags
-
findAll
public List<com.liferay.asset.kernel.model.AssetTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the asset tags.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 fromAssetTagModelImpl.- Specified by:
findAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
start- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of asset tags
-
removeAll
public void removeAll()Removes all the asset tags from the database.- Specified by:
removeAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
-
countAll
public int countAll()Returns the number of asset tags.- Specified by:
countAllin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Returns:
- the number of asset tags
-
getAssetEntryPrimaryKeys
public long[] getAssetEntryPrimaryKeys(long pk) Returns the primaryKeys of asset entries associated with the asset tag.- Specified by:
getAssetEntryPrimaryKeysin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tag- Returns:
- long[] of the primaryKeys of asset entries associated with the asset tag
-
getAssetEntries
Returns all the asset entries associated with the asset tag.- Specified by:
getAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tag- Returns:
- the asset entries associated with the asset tag
-
getAssetEntries
Returns a range of all the asset entries associated with the asset tag.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 fromAssetTagModelImpl.- Specified by:
getAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)- Returns:
- the range of asset entries associated with the asset tag
-
getAssetEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk, 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 associated with the asset tag.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 fromAssetTagModelImpl.- Specified by:
getAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagstart- the lower bound of the range of asset tagsend- the upper bound of the range of asset tags (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of asset entries associated with the asset tag
-
getAssetEntriesSize
public int getAssetEntriesSize(long pk) Returns the number of asset entries associated with the asset tag.- Specified by:
getAssetEntriesSizein interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tag- Returns:
- the number of asset entries associated with the asset tag
-
containsAssetEntry
public boolean containsAssetEntry(long pk, long assetEntryPK) Returnstrueif the asset entry is associated with the asset tag.- Specified by:
containsAssetEntryin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPK- the primary key of the asset entry- Returns:
trueif the asset entry is associated with the asset tag;falseotherwise
-
containsAssetEntries
public boolean containsAssetEntries(long pk) Returnstrueif the asset tag has any asset entries associated with it.- Specified by:
containsAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tag to check for associations with asset entries- Returns:
trueif the asset tag has any asset entries associated with it;falseotherwise
-
addAssetEntry
public boolean addAssetEntry(long pk, long assetEntryPK) Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addAssetEntryin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPK- the primary key of the asset entry- Returns:
trueif an association between the asset tag and the asset entry was added;falseif they were already associated
-
addAssetEntry
public boolean addAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addAssetEntryin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntry- the asset entry- Returns:
trueif an association between the asset tag and the asset entry was added;falseif they were already associated
-
addAssetEntries
public boolean addAssetEntries(long pk, long[] assetEntryPKs) Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPKs- the primary keys of the asset entries- Returns:
trueif at least one association between the asset tag and the asset entries was added;falseif they were all already associated
-
addAssetEntries
public boolean addAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntries- the asset entries- Returns:
trueif at least one association between the asset tag and the asset entries was added;falseif they were all already associated
-
clearAssetEntries
public void clearAssetEntries(long pk) Clears all associations between the asset tag and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tag to clear the associated asset entries from
-
removeAssetEntry
public void removeAssetEntry(long pk, long assetEntryPK) Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeAssetEntryin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPK- the primary key of the asset entry
-
removeAssetEntry
public void removeAssetEntry(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry) Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeAssetEntryin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntry- the asset entry
-
removeAssetEntries
public void removeAssetEntries(long pk, long[] assetEntryPKs) Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPKs- the primary keys of the asset entries
-
removeAssetEntries
public void removeAssetEntries(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntries- the asset entries
-
setAssetEntries
public void setAssetEntries(long pk, long[] assetEntryPKs) Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntryPKs- the primary keys of the asset entries to be associated with the asset tag
-
setAssetEntries
Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setAssetEntriesin interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence- Parameters:
pk- the primary key of the asset tagassetEntries- the asset entries to be associated with the asset tag
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
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.AssetTag>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
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.AssetTag>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the asset tag 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.AssetTag>
-