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.AssetEntryPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetTag,
com.liferay.asset.kernel.model.AssetEntry> static final String
static final String
static final String
Fields 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 TypeMethodDescriptionboolean
addAssetEntries
(long pk, long[] assetEntryPKs) Adds an association between the asset tag and the asset entries.boolean
addAssetEntries
(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Adds an association between the asset tag and the asset entries.boolean
addAssetEntry
(long pk, long assetEntryPK) Adds an association between the asset tag and the asset entry.boolean
addAssetEntry
(long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds an association between the asset tag and the asset entry.void
Initializes the asset tag persistence.void
cacheResult
(com.liferay.asset.kernel.model.AssetTag assetTag) Caches the asset tag in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.asset.kernel.model.AssetTag> assetTags) Caches the asset tags in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(AssetTagModelImpl assetTagModelImpl) void
clearAssetEntries
(long pk) Clears all associations between the asset tag and its asset entries.void
Clears the cache for all asset tags.void
clearCache
(com.liferay.asset.kernel.model.AssetTag assetTag) Clears the cache for the asset tag.void
clearCache
(List<com.liferay.asset.kernel.model.AssetTag> assetTags) void
clearCache
(Set<Serializable> primaryKeys) boolean
containsAssetEntries
(long pk) Returnstrue
if the asset tag has any asset entries associated with it.boolean
containsAssetEntry
(long pk, long assetEntryPK) Returnstrue
if the asset entry is associated with the asset tag.int
countAll()
Returns the number of asset tags.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of asset tags where externalReferenceCode = ? and groupId = ?.int
countByG_LikeN
(long[] groupIds, String name) Returns the number of asset tags where groupId = any ? and name LIKE ?.int
countByG_LikeN
(long groupId, String name) Returns the number of asset tags where groupId = ? and name LIKE ?.int
countByGroupId
(long groupId) Returns the number of asset tags where groupId = ?.int
countByGroupId
(long[] groupIds) Returns the number of asset tags where groupId = any ?.int
countByName
(String name) Returns the number of asset tags where name = ?.int
countByName
(String[] names) Returns the number of asset tags where name = any ?.int
countByUuid
(String uuid) Returns the number of asset tags where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of asset tags where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of asset tags where uuid = ? and groupId = ?.com.liferay.asset.kernel.model.AssetTag
create
(long tagId) Creates a new asset tag with the primary key.void
destroy()
com.liferay.asset.kernel.model.AssetTag
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetTag
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the asset tag where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 ?.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 ?.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 = ?.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 = ?.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 = ?.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 = ?.com.liferay.asset.kernel.model.AssetTag
fetchByPrimaryKey
(long tagId) Returns the asset tag with the primary key or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetTag
fetchByPrimaryKey
(Serializable primaryKey) Returns the asset tag with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.asset.kernel.model.AssetTag> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.com.liferay.asset.kernel.model.AssetTag
fetchByUUID_G
(String uuid, long groupId) Returns the asset tag where uuid = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.asset.kernel.model.AssetTag
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset tag where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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.AssetTag
findByERC_G
(String externalReferenceCode, long groupId) Returns the asset tag where externalReferenceCode = ? and groupId = ? or throws aNoSuchTagException
if 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.AssetTag
findByG_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.AssetTag
findByG_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.AssetTag
findByGroupId_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.AssetTag
findByGroupId_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.AssetTag
findByName_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.AssetTag
findByName_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.AssetTag
findByPrimaryKey
(long tagId) Returns the asset tag with the primary key or throws aNoSuchTagException
if it could not be found.com.liferay.asset.kernel.model.AssetTag
findByPrimaryKey
(Serializable primaryKey) Returns the asset tag with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if 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.AssetTag
findByUuid_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.AssetTag
findByUuid_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.AssetTag
findByUuid_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.AssetTag
findByUUID_G
(String uuid, long groupId) Returns the asset tag where uuid = ? and groupId = ? or throws aNoSuchTagException
if it could not be found.com.liferay.asset.kernel.model.AssetTag
findByUuid_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.int
getAssetEntriesSize
(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.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) 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) 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) 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) 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) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.asset.kernel.model.AssetTag
remove
(long tagId) Removes the asset tag with the primary key from the database.com.liferay.asset.kernel.model.AssetTag
remove
(Serializable primaryKey) Removes the asset tag with the primary key from the database.void
Removes all the asset tags from the database.void
removeAssetEntries
(long pk, long[] assetEntryPKs) Removes the association between the asset tag and the asset entries.void
removeAssetEntries
(long pk, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) Removes the association between the asset tag and the asset entries.void
removeAssetEntry
(long pk, long assetEntryPK) Removes the association between the asset tag and the asset entry.void
removeAssetEntry
(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.AssetTag
removeByERC_G
(String externalReferenceCode, long groupId) Removes the asset tag where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_LikeN
(long groupId, String name) Removes all the asset tags where groupId = ? and name LIKE ? from the database.void
removeByGroupId
(long groupId) Removes all the asset tags where groupId = ? from the database.void
removeByName
(String name) Removes all the asset tags where name = ? from the database.void
removeByUuid
(String uuid) Removes all the asset tags where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the asset tags where uuid = ? and companyId = ? from the database.com.liferay.asset.kernel.model.AssetTag
removeByUUID_G
(String uuid, long groupId) Removes the asset tag where uuid = ? and groupId = ? from the database.protected com.liferay.asset.kernel.model.AssetTag
removeImpl
(com.liferay.asset.kernel.model.AssetTag assetTag) void
setAssetEntries
(long pk, long[] assetEntryPKs) Sets the asset entries associated with the asset tag, removing and adding associations as necessary.void
setAssetEntries
(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.AssetTag
updateImpl
(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, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByUuid
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset tags where uuid = ?.- Specified by:
countByUuid
in 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 aNoSuchTagException
if it could not be found.- Specified by:
findByUUID_G
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset tag, or
null
if 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_G
in 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
null
if 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_G
in 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_G
in 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_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByUuid_C
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_C
in 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_C
in 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:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByGroupId
in 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:
removeByGroupId
in 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:
countByGroupId
in 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:
countByGroupId
in 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:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByName
in 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:
removeByName
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
name
- the name
-
countByName
Returns the number of asset tags where name = ?.- Specified by:
countByName
in 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:
countByName
in 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_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findByG_LikeN
in 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_LikeN
in 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_LikeN
in 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_LikeN
in 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 aNoSuchTagException
if it could not be found.- Specified by:
findByERC_G
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching asset tag, or
null
if 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_G
in 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
null
if 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_G
in 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_G
in 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:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Overrides:
cacheResult
in 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:
cacheResult
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
assetTags
- the asset tags
-
clearCache
public void clearCache()Clears the cache for all asset tags.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
findByPrimaryKey
in 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 aNoSuchTagException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
fetchByPrimaryKey
in 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
null
if 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
tagId
- the primary key of the asset tag- Returns:
- the asset tag, or
null
if 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:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
findAll
Returns all the asset tags.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
-
countAll
public int countAll()Returns the number of asset tags.- Specified by:
countAll
in 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:
getAssetEntryPrimaryKeys
in 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:
getAssetEntries
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
getAssetEntries
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetTagModelImpl
.- Specified by:
getAssetEntries
in 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:
getAssetEntriesSize
in 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) Returnstrue
if the asset entry is associated with the asset tag.- Specified by:
containsAssetEntry
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entry- Returns:
true
if the asset entry is associated with the asset tag;false
otherwise
-
containsAssetEntries
public boolean containsAssetEntries(long pk) Returnstrue
if the asset tag has any asset entries associated with it.- Specified by:
containsAssetEntries
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tag to check for associations with asset entries- Returns:
true
if the asset tag has any asset entries associated with it;false
otherwise
-
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:
addAssetEntry
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tagassetEntryPK
- the primary key of the asset entry- Returns:
true
if an association between the asset tag and the asset entry was added;false
if 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:
addAssetEntry
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tagassetEntry
- the asset entry- Returns:
true
if an association between the asset tag and the asset entry was added;false
if 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:
addAssetEntries
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tagassetEntryPKs
- the primary keys of the asset entries- Returns:
true
if at least one association between the asset tag and the asset entries was added;false
if 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:
addAssetEntries
in interfacecom.liferay.asset.kernel.service.persistence.AssetTagPersistence
- Parameters:
pk
- the primary key of the asset tagassetEntries
- the asset entries- Returns:
true
if at least one association between the asset tag and the asset entries was added;false
if 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:
clearAssetEntries
in 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:
removeAssetEntry
in 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:
removeAssetEntry
in 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:
removeAssetEntries
in 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:
removeAssetEntries
in 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:
setAssetEntries
in 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:
setAssetEntries
in 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:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
getSelectSQL
- Overrides:
getSelectSQL
in 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:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
-