Class AssetTagPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
com.liferay.portlet.asset.service.persistence.impl.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>

public class AssetTagPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag> implements com.liferay.asset.kernel.service.persistence.AssetTagPersistence
The persistence implementation for the asset tag service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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
     
    void
    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
    Returns true if the asset tag has any asset entries associated with it.
    boolean
    containsAssetEntry(long pk, long assetEntryPK)
    Returns true if the asset entry is associated with the asset tag.
    int
    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
    Returns the number of asset tags where name = ?.
    int
    Returns the number of asset tags where name = any ?.
    int
    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
     
    com.liferay.asset.kernel.model.AssetTag
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the asset tag where externalReferenceCode = ? and groupId = ? or returns null 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 returns null 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 returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetTag
    Returns the asset tag with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.asset.kernel.model.AssetTag>
     
    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 returns null 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 returns null 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>
    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 a NoSuchTagException 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>
    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 a NoSuchTagException if it could not be found.
    com.liferay.asset.kernel.model.AssetTag
    Returns the asset tag with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetTag>
    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 a NoSuchTagException 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
    Returns the number of asset entries associated with the asset tag.
    long[]
    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
    Removes all the asset tags where name = ? from the database.
    void
    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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String 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

      public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid)
      Returns all the asset tags where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching asset tags
    • findByUuid

      public List<com.liferay.asset.kernel.model.AssetTag> findByUuid(String uuid, int start, int end)
      Returns a range of all the asset tags where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      tagId - the primary key of the current asset tag
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid(String uuid)
      Removes all the asset tags where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of asset tags where uuid = ?.
      Specified by:
      countByUuid in interface com.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 a NoSuchTagException if it could not be found.
      Specified by:
      findByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      groupId - 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

      public com.liferay.asset.kernel.model.AssetTag fetchByUUID_G(String uuid, long groupId)
      Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      groupId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the asset tag that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchTagException
    • countByUUID_G

      public int countByUUID_G(String uuid, long groupId)
      Returns the number of asset tags where uuid = ? and groupId = ?.
      Specified by:
      countByUUID_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching asset tags
    • findByUuid_C

      public List<com.liferay.asset.kernel.model.AssetTag> findByUuid_C(String uuid, long companyId)
      Returns all the asset tags where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      tagId - the primary key of the current asset tag
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the asset tags where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of asset tags where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching asset tags
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long groupId)
      Returns all the asset tags where groupId = ?.
      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      tagId - the primary key of the current asset tag
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.asset.kernel.model.AssetTag> findByGroupId(long[] groupIds)
      Returns all the asset tags where groupId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.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 interface com.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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching asset tags
    • findByName

      public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name)
      Returns all the asset tags where name = ?.
      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      Returns:
      the matching asset tags
    • findByName

      public List<com.liferay.asset.kernel.model.AssetTag> findByName(String name, int start, int end)
      Returns a range of all the asset tags where name = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      tagId - the primary key of the current asset tag
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.asset.kernel.model.AssetTag> findByName(String[] names)
      Returns all the asset tags where name = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      names - the names
      Returns:
      the matching asset tags
    • findByName

      public 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 ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      names - the names
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      names - the names
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      names - the names
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching asset tags
    • removeByName

      public void removeByName(String name)
      Removes all the asset tags where name = ? from the database.
      Specified by:
      removeByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
    • countByName

      public int countByName(String name)
      Returns the number of asset tags where name = ?.
      Specified by:
      countByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      name - the name
      Returns:
      the number of matching asset tags
    • countByName

      public int countByName(String[] names)
      Returns the number of asset tags where name = any ?.
      Specified by:
      countByName in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      names - the names
      Returns:
      the number of matching asset tags
    • findByG_LikeN

      public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long groupId, String name)
      Returns all the asset tags where groupId = ? and name LIKE ?.
      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      tagId - the primary key of the current asset tag
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.asset.kernel.model.AssetTag> findByG_LikeN(long[] groupIds, String name)
      Returns all the asset tags where groupId = any ? and name LIKE ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching asset tags
    • removeByG_LikeN

      public void removeByG_LikeN(long groupId, String name)
      Removes all the asset tags where groupId = ? and name LIKE ? from the database.
      Specified by:
      removeByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
    • countByG_LikeN

      public int countByG_LikeN(long groupId, String name)
      Returns the number of asset tags where groupId = ? and name LIKE ?.
      Specified by:
      countByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching asset tags
    • countByG_LikeN

      public int countByG_LikeN(long[] groupIds, String name)
      Returns the number of asset tags where groupId = any ? and name LIKE ?.
      Specified by:
      countByG_LikeN in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      groupIds - the group IDs
      name - 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 a NoSuchTagException if it could not be found.
      Specified by:
      findByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the asset tag that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchTagException
    • countByERC_G

      public int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of asset tags where externalReferenceCode = ? and groupId = ?.
      Specified by:
      countByERC_G in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
      Parameters:
      assetTag - the asset tag
    • cacheResult

      public void cacheResult(List<com.liferay.asset.kernel.model.AssetTag> assetTags)
      Caches the asset tags in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      assetTags - the asset tags
    • clearCache

      public void clearCache()
      Clears the cache for all asset tags.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      clearCache in class com.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 and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • clearCache

      public void clearCache(List<com.liferay.asset.kernel.model.AssetTag> assetTags)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(AssetTagModelImpl assetTagModelImpl)
    • 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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      remove in class com.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 class com.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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchTagException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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

      public com.liferay.asset.kernel.model.AssetTag fetchByPrimaryKey(Serializable primaryKey)
      Returns the asset tag with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      fetchByPrimaryKey in class com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • findAll

      public List<com.liferay.asset.kernel.model.AssetTag> findAll()
      Returns all the asset tags.
      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Returns:
      the asset tags
    • findAll

      public List<com.liferay.asset.kernel.model.AssetTag> findAll(int start, int end)
      Returns a range of all the asset tags.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
    • countAll

      public int countAll()
      Returns the number of asset tags.
      Specified by:
      countAll in interface com.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 interface com.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

      public List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(long pk)
      Returns all the asset entries associated with the asset tag.
      Specified by:
      getAssetEntries in interface com.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

      public 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.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      getAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      start - the lower bound of the range of asset tags
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetTagModelImpl.

      Specified by:
      getAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      start - the lower bound of the range of asset tags
      end - the upper bound of the range of asset tags (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.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)
      Returns true if the asset entry is associated with the asset tag.
      Specified by:
      containsAssetEntry in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPK - 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)
      Returns true if the asset tag has any asset entries associated with it.
      Specified by:
      containsAssetEntries in interface com.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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPK - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntry - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPKs - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntries - 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 interface com.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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPK - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntry - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPKs - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntries - 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 interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntryPKs - the primary keys of the asset entries to be associated with the asset tag
    • setAssetEntries

      public 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. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      setAssetEntries in interface com.liferay.asset.kernel.service.persistence.AssetTagPersistence
      Parameters:
      pk - the primary key of the asset tag
      assetEntries - the asset entries to be associated with the asset tag
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      getBadColumnNames in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.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 interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetTag>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetTag>