Class AssetEntryPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
com.liferay.portlet.asset.service.persistence.impl.AssetEntryPersistenceImpl
All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetEntryPersistence, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>

public class AssetEntryPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry> implements com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
The persistence implementation for the asset entry 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.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag>
     
    protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence
     
    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
    addAssetTag(long pk, long assetTagPK)
    Adds an association between the asset entry and the asset tag.
    boolean
    addAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
    Adds an association between the asset entry and the asset tag.
    boolean
    addAssetTags(long pk, long[] assetTagPKs)
    Adds an association between the asset entry and the asset tags.
    boolean
    addAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
    Adds an association between the asset entry and the asset tags.
    void
    Initializes the asset entry persistence.
    void
    cacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry)
    Caches the asset entry in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
    Caches the asset entries in the entity cache if it is enabled.
    protected void
     
    void
    clearAssetTags(long pk)
    Clears all associations between the asset entry and its asset tags.
    void
    Clears the cache for all asset entries.
    void
    clearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry)
    Clears the cache for the asset entry.
    void
    clearCache(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    boolean
    containsAssetTag(long pk, long assetTagPK)
    Returns true if the asset tag is associated with the asset entry.
    boolean
    Returns true if the asset entry has any asset tags associated with it.
    int
    Returns the number of asset entries.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of asset entries where classNameId = ? and classPK = ?.
    int
    countByC_CN(long companyId, long classNameId)
    Returns the number of asset entries where companyId = ? and classNameId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of asset entries where companyId = ?.
    int
    countByExpirationDate(Date expirationDate)
    Returns the number of asset entries where expirationDate = ?.
    int
    countByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
    Returns the number of asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    int
    countByG_C_V(long groupId, long classNameId, boolean visible)
    Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.
    int
    countByG_CU(long groupId, String classUuid)
    Returns the number of asset entries where groupId = ? and classUuid = ?.
    int
    countByGroupId(long groupId)
    Returns the number of asset entries where groupId = ?.
    int
    Returns the number of asset entries where layoutUuid = ?.
    int
    countByPublishDate(Date publishDate)
    Returns the number of asset entries where publishDate = ?.
    int
    countByVisible(boolean visible)
    Returns the number of asset entries where visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    create(long entryId)
    Creates a new asset entry with the primary key.
    void
     
    com.liferay.asset.kernel.model.AssetEntry
    fetchByC_C(long classNameId, long classPK)
    Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
    Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where companyId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where companyId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_CU(long groupId, String classUuid)
    Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByG_CU(long groupId, String classUuid, boolean useFinderCache)
    Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByPrimaryKey(long entryId)
    Returns the asset entry with the primary key or returns null if it could not be found.
    com.liferay.asset.kernel.model.AssetEntry
    Returns the asset entry with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.asset.kernel.model.AssetEntry>
     
    com.liferay.asset.kernel.model.AssetEntry
    fetchByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where publishDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where publishDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    fetchByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    Returns all the asset entries.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findAll(int start, int end)
    Returns a range of all the asset entries.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries.
    com.liferay.asset.kernel.model.AssetEntry
    findByC_C(long classNameId, long classPK)
    Returns the asset entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByC_CN(long companyId, long classNameId)
    Returns all the asset entries where companyId = ? and classNameId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByC_CN(long companyId, long classNameId, int start, int end)
    Returns a range of all the asset entries where companyId = ? and classNameId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByC_CN_PrevAndNext(long entryId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByCompanyId(long companyId)
    Returns all the asset entries where companyId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the asset entries where companyId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where companyId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where companyId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where companyId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where companyId = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByExpirationDate(Date expirationDate)
    Returns all the asset entries where expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByExpirationDate(Date expirationDate, int start, int end)
    Returns a range of all the asset entries where expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
    Returns all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end)
    Returns a range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_V(long groupId, long classNameId, boolean visible)
    Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end)
    Returns a range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByG_CU(long groupId, String classUuid)
    Returns the asset entry where groupId = ? and classUuid = ? or throws a NoSuchEntryException if it could not be found.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByGroupId(long groupId)
    Returns all the asset entries where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the asset entries where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where groupId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where groupId = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    Returns all the asset entries where layoutUuid = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByLayoutUuid(String layoutUuid, int start, int end)
    Returns a range of all the asset entries where layoutUuid = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where layoutUuid = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByPrimaryKey(long entryId)
    Returns the asset entry with the primary key or throws a NoSuchEntryException if it could not be found.
    com.liferay.asset.kernel.model.AssetEntry
    Returns the asset entry 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.AssetEntry>
    findByPublishDate(Date publishDate)
    Returns all the asset entries where publishDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByPublishDate(Date publishDate, int start, int end)
    Returns a range of all the asset entries where publishDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where publishDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where publishDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where publishDate = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where publishDate = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByPublishDate_PrevAndNext(long entryId, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByVisible(boolean visible)
    Returns all the asset entries where visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByVisible(boolean visible, int start, int end)
    Returns a range of all the asset entries where visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns an ordered range of all the asset entries where visible = ?.
    List<com.liferay.asset.kernel.model.AssetEntry>
    findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the asset entries where visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the first asset entry in the ordered set where visible = ?.
    com.liferay.asset.kernel.model.AssetEntry
    findByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the last asset entry in the ordered set where visible = ?.
    com.liferay.asset.kernel.model.AssetEntry[]
    findByVisible_PrevAndNext(long entryId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
    Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.
    long[]
    Returns the primaryKeys of asset tags associated with the asset entry.
    List<com.liferay.asset.kernel.model.AssetTag>
    getAssetTags(long pk)
    Returns all the asset tags associated with the asset entry.
    List<com.liferay.asset.kernel.model.AssetTag>
    getAssetTags(long pk, int start, int end)
    Returns a range of all the asset tags associated with the asset entry.
    List<com.liferay.asset.kernel.model.AssetTag>
    getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
    Returns an ordered range of all the asset tags associated with the asset entry.
    int
    Returns the number of asset tags associated with the asset entry.
    protected com.liferay.asset.kernel.model.AssetEntry
    getByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    protected com.liferay.asset.kernel.model.AssetEntry
    getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
     
    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.AssetEntry
    remove(long entryId)
    Removes the asset entry with the primary key from the database.
    com.liferay.asset.kernel.model.AssetEntry
    remove(Serializable primaryKey)
    Removes the asset entry with the primary key from the database.
    void
    Removes all the asset entries from the database.
    void
    removeAssetTag(long pk, long assetTagPK)
    Removes the association between the asset entry and the asset tag.
    void
    removeAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
    Removes the association between the asset entry and the asset tag.
    void
    removeAssetTags(long pk, long[] assetTagPKs)
    Removes the association between the asset entry and the asset tags.
    void
    removeAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
    Removes the association between the asset entry and the asset tags.
    com.liferay.asset.kernel.model.AssetEntry
    removeByC_C(long classNameId, long classPK)
    Removes the asset entry where classNameId = ? and classPK = ? from the database.
    void
    removeByC_CN(long companyId, long classNameId)
    Removes all the asset entries where companyId = ? and classNameId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the asset entries where companyId = ? from the database.
    void
    removeByExpirationDate(Date expirationDate)
    Removes all the asset entries where expirationDate = ? from the database.
    void
    removeByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
    Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.
    void
    removeByG_C_V(long groupId, long classNameId, boolean visible)
    Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.
    com.liferay.asset.kernel.model.AssetEntry
    removeByG_CU(long groupId, String classUuid)
    Removes the asset entry where groupId = ? and classUuid = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the asset entries where groupId = ? from the database.
    void
    Removes all the asset entries where layoutUuid = ? from the database.
    void
    Removes all the asset entries where publishDate = ? from the database.
    void
    removeByVisible(boolean visible)
    Removes all the asset entries where visible = ? from the database.
    protected com.liferay.asset.kernel.model.AssetEntry
    removeImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
     
    void
    setAssetTags(long pk, long[] assetTagPKs)
    Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
    void
    setAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
    Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
    com.liferay.asset.kernel.model.AssetEntry
    updateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, 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, getBadColumnNames, 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
    • assetTagPersistence

      @BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence
    • assetEntryToAssetTagTableMapper

      protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag> assetEntryToAssetTagTableMapper
  • Constructor Details

    • AssetEntryPersistenceImpl

      public AssetEntryPersistenceImpl()
  • Method Details

    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId)
      Returns all the asset entries where groupId = ?.
      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the matching asset entries
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the asset entries where groupId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where groupId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByGroupId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where groupId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByGroupId_First

      public com.liferay.asset.kernel.model.AssetEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByGroupId_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByGroupId_Last

      public com.liferay.asset.kernel.model.AssetEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByGroupId_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByGroupId_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByGroupId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByGroupId

      public void removeByGroupId(long groupId)
      Removes all the asset entries where groupId = ? from the database.
      Specified by:
      removeByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
    • countByGroupId

      public int countByGroupId(long groupId)
      Returns the number of asset entries where groupId = ?.
      Specified by:
      countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching asset entries
    • findByCompanyId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId)
      Returns all the asset entries where companyId = ?.
      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the matching asset entries
    • findByCompanyId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the asset entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByCompanyId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByCompanyId

      public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByCompanyId_First

      public com.liferay.asset.kernel.model.AssetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByCompanyId_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByCompanyId_Last

      public com.liferay.asset.kernel.model.AssetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByCompanyId_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByCompanyId_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByCompanyId_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByCompanyId

      public void removeByCompanyId(long companyId)
      Removes all the asset entries where companyId = ? from the database.
      Specified by:
      removeByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public int countByCompanyId(long companyId)
      Returns the number of asset entries where companyId = ?.
      Specified by:
      countByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching asset entries
    • findByVisible

      public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible)
      Returns all the asset entries where visible = ?.
      Specified by:
      findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      Returns:
      the matching asset entries
    • findByVisible

      public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end)
      Returns a range of all the asset entries where visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByVisible

      public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByVisible

      public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByVisible_First

      public com.liferay.asset.kernel.model.AssetEntry findByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where visible = ?.
      Specified by:
      findByVisible_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByVisible_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where visible = ?.
      Specified by:
      fetchByVisible_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByVisible_Last

      public com.liferay.asset.kernel.model.AssetEntry findByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where visible = ?.
      Specified by:
      findByVisible_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByVisible_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where visible = ?.
      Specified by:
      fetchByVisible_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByVisible_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByVisible_PrevAndNext(long entryId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.
      Specified by:
      findByVisible_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByVisible_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByVisible

      public void removeByVisible(boolean visible)
      Removes all the asset entries where visible = ? from the database.
      Specified by:
      removeByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
    • countByVisible

      public int countByVisible(boolean visible)
      Returns the number of asset entries where visible = ?.
      Specified by:
      countByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      visible - the visible
      Returns:
      the number of matching asset entries
    • findByPublishDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate)
      Returns all the asset entries where publishDate = ?.
      Specified by:
      findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      Returns:
      the matching asset entries
    • findByPublishDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end)
      Returns a range of all the asset entries where publishDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByPublishDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where publishDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByPublishDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where publishDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByPublishDate_First

      public com.liferay.asset.kernel.model.AssetEntry findByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where publishDate = ?.
      Specified by:
      findByPublishDate_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByPublishDate_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where publishDate = ?.
      Specified by:
      fetchByPublishDate_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByPublishDate_Last

      public com.liferay.asset.kernel.model.AssetEntry findByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where publishDate = ?.
      Specified by:
      findByPublishDate_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByPublishDate_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where publishDate = ?.
      Specified by:
      fetchByPublishDate_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByPublishDate_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByPublishDate_PrevAndNext(long entryId, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.
      Specified by:
      findByPublishDate_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      publishDate - the publish date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByPublishDate_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByPublishDate

      public void removeByPublishDate(Date publishDate)
      Removes all the asset entries where publishDate = ? from the database.
      Specified by:
      removeByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
    • countByPublishDate

      public int countByPublishDate(Date publishDate)
      Returns the number of asset entries where publishDate = ?.
      Specified by:
      countByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      publishDate - the publish date
      Returns:
      the number of matching asset entries
    • findByExpirationDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate)
      Returns all the asset entries where expirationDate = ?.
      Specified by:
      findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      Returns:
      the matching asset entries
    • findByExpirationDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end)
      Returns a range of all the asset entries where expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByExpirationDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByExpirationDate

      public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByExpirationDate_First

      public com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where expirationDate = ?.
      Specified by:
      findByExpirationDate_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByExpirationDate_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where expirationDate = ?.
      Specified by:
      fetchByExpirationDate_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByExpirationDate_Last

      public com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where expirationDate = ?.
      Specified by:
      findByExpirationDate_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByExpirationDate_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where expirationDate = ?.
      Specified by:
      fetchByExpirationDate_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByExpirationDate_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.
      Specified by:
      findByExpirationDate_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByExpirationDate_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByExpirationDate

      public void removeByExpirationDate(Date expirationDate)
      Removes all the asset entries where expirationDate = ? from the database.
      Specified by:
      removeByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
    • countByExpirationDate

      public int countByExpirationDate(Date expirationDate)
      Returns the number of asset entries where expirationDate = ?.
      Specified by:
      countByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      expirationDate - the expiration date
      Returns:
      the number of matching asset entries
    • findByLayoutUuid

      public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid)
      Returns all the asset entries where layoutUuid = ?.
      Specified by:
      findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      Returns:
      the matching asset entries
    • findByLayoutUuid

      public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end)
      Returns a range of all the asset entries where layoutUuid = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByLayoutUuid

      public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where layoutUuid = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByLayoutUuid

      public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where layoutUuid = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByLayoutUuid_First

      public com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where layoutUuid = ?.
      Specified by:
      findByLayoutUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByLayoutUuid_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where layoutUuid = ?.
      Specified by:
      fetchByLayoutUuid_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByLayoutUuid_Last

      public com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where layoutUuid = ?.
      Specified by:
      findByLayoutUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByLayoutUuid_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where layoutUuid = ?.
      Specified by:
      fetchByLayoutUuid_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByLayoutUuid_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.
      Specified by:
      findByLayoutUuid_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      layoutUuid - the layout uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByLayoutUuid_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByLayoutUuid

      public void removeByLayoutUuid(String layoutUuid)
      Removes all the asset entries where layoutUuid = ? from the database.
      Specified by:
      removeByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
    • countByLayoutUuid

      public int countByLayoutUuid(String layoutUuid)
      Returns the number of asset entries where layoutUuid = ?.
      Specified by:
      countByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      layoutUuid - the layout uuid
      Returns:
      the number of matching asset entries
    • findByG_CU

      public com.liferay.asset.kernel.model.AssetEntry findByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entry where groupId = ? and classUuid = ? or throws a NoSuchEntryException if it could not be found.
      Specified by:
      findByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classUuid - the class uuid
      Returns:
      the matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByG_CU

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_CU(long groupId, String classUuid)
      Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classUuid - the class uuid
      Returns:
      the matching asset entry, or null if a matching asset entry could not be found
    • fetchByG_CU

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_CU(long groupId, String classUuid, boolean useFinderCache)
      Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classUuid - the class uuid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset entry, or null if a matching asset entry could not be found
    • removeByG_CU

      public com.liferay.asset.kernel.model.AssetEntry removeByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Removes the asset entry where groupId = ? and classUuid = ? from the database.
      Specified by:
      removeByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classUuid - the class uuid
      Returns:
      the asset entry that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException
    • countByG_CU

      public int countByG_CU(long groupId, String classUuid)
      Returns the number of asset entries where groupId = ? and classUuid = ?.
      Specified by:
      countByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classUuid - the class uuid
      Returns:
      the number of matching asset entries
    • findByC_CN

      public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId)
      Returns all the asset entries where companyId = ? and classNameId = ?.
      Specified by:
      findByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the matching asset entries
    • findByC_CN

      public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end)
      Returns a range of all the asset entries where companyId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByC_CN

      public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByC_CN

      public List<com.liferay.asset.kernel.model.AssetEntry> findByC_CN(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where companyId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByC_CN_First

      public com.liferay.asset.kernel.model.AssetEntry findByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.
      Specified by:
      findByC_CN_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByC_CN_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByC_CN_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where companyId = ? and classNameId = ?.
      Specified by:
      fetchByC_CN_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByC_CN_Last

      public com.liferay.asset.kernel.model.AssetEntry findByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.
      Specified by:
      findByC_CN_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByC_CN_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByC_CN_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where companyId = ? and classNameId = ?.
      Specified by:
      fetchByC_CN_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByC_CN_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByC_CN_PrevAndNext(long entryId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where companyId = ? and classNameId = ?.
      Specified by:
      findByC_CN_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByC_CN_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByC_CN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByC_CN

      public void removeByC_CN(long companyId, long classNameId)
      Removes all the asset entries where companyId = ? and classNameId = ? from the database.
      Specified by:
      removeByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
    • countByC_CN

      public int countByC_CN(long companyId, long classNameId)
      Returns the number of asset entries where companyId = ? and classNameId = ?.
      Specified by:
      countByC_CN in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the number of matching asset entries
    • findByC_C

      public com.liferay.asset.kernel.model.AssetEntry findByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.
      Specified by:
      findByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByC_C

      public com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK)
      Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching asset entry, or null if a matching asset entry could not be found
    • fetchByC_C

      public com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
      Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching asset entry, or null if a matching asset entry could not be found
    • removeByC_C

      public com.liferay.asset.kernel.model.AssetEntry removeByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Removes the asset entry where classNameId = ? and classPK = ? from the database.
      Specified by:
      removeByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the asset entry that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException
    • countByC_C

      public int countByC_C(long classNameId, long classPK)
      Returns the number of asset entries where classNameId = ? and classPK = ?.
      Specified by:
      countByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching asset entries
    • findByG_C_V

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible)
      Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      Returns:
      the matching asset entries
    • findByG_C_V

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end)
      Returns a range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByG_C_V

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByG_C_V

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByG_C_V_First

      public com.liferay.asset.kernel.model.AssetEntry findByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      findByG_C_V_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByG_C_V_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      fetchByG_C_V_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByG_C_V_Last

      public com.liferay.asset.kernel.model.AssetEntry findByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      findByG_C_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByG_C_V_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      fetchByG_C_V_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByG_C_V_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      findByG_C_V_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByG_C_V_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByG_C_V

      public void removeByG_C_V(long groupId, long classNameId, boolean visible)
      Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.
      Specified by:
      removeByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
    • countByG_C_V

      public int countByG_C_V(long groupId, long classNameId, boolean visible)
      Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.
      Specified by:
      countByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      visible - the visible
      Returns:
      the number of matching asset entries
    • findByG_C_P_E

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
      Returns all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      Returns:
      the matching asset entries
    • findByG_C_P_E

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end)
      Returns a range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of matching asset entries
    • findByG_C_P_E

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching asset entries
    • findByG_C_P_E

      public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • findByG_C_P_E_First

      public com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      findByG_C_P_E_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByG_C_P_E_First

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      fetchByG_C_P_E_First in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching asset entry, or null if a matching asset entry could not be found
    • findByG_C_P_E_Last

      public com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      findByG_C_P_E_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a matching asset entry could not be found
    • fetchByG_C_P_E_Last

      public com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      fetchByG_C_P_E_Last in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching asset entry, or null if a matching asset entry could not be found
    • findByG_C_P_E_PrevAndNext

      public com.liferay.asset.kernel.model.AssetEntry[] findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      findByG_C_P_E_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the current asset entry
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • getByG_C_P_E_PrevAndNext

      protected com.liferay.asset.kernel.model.AssetEntry getByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
    • removeByG_C_P_E

      public void removeByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
      Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.
      Specified by:
      removeByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
    • countByG_C_P_E

      public int countByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
      Returns the number of asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
      Specified by:
      countByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      publishDate - the publish date
      expirationDate - the expiration date
      Returns:
      the number of matching asset entries
    • cacheResult

      public void cacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry)
      Caches the asset entry in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
      Parameters:
      assetEntry - the asset entry
    • cacheResult

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

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

      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.AssetEntry>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • clearCache

      public void clearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry)
      Clears the cache for the asset entry.

      The 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.AssetEntry>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • clearCache

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

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

      protected void cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl)
    • create

      public com.liferay.asset.kernel.model.AssetEntry create(long entryId)
      Creates a new asset entry with the primary key. Does not add the asset entry to the database.
      Specified by:
      create in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key for the new asset entry
      Returns:
      the new asset entry
    • remove

      public com.liferay.asset.kernel.model.AssetEntry remove(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the asset entry
      Returns:
      the asset entry that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • remove

      public com.liferay.asset.kernel.model.AssetEntry remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
      Parameters:
      primaryKey - the primary key of the asset entry
      Returns:
      the asset entry that was removed
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • removeImpl

      protected com.liferay.asset.kernel.model.AssetEntry removeImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • updateImpl

      public com.liferay.asset.kernel.model.AssetEntry updateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
      Specified by:
      updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • findByPrimaryKey

      public com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entry with the primary key or throws 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.AssetEntry>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
      Parameters:
      primaryKey - the primary key of the asset entry
      Returns:
      the asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException
      Returns the asset entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the asset entry
      Returns:
      the asset entry
      Throws:
      com.liferay.asset.kernel.exception.NoSuchEntryException - if a asset entry with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.asset.kernel.model.AssetEntry fetchByPrimaryKey(Serializable primaryKey)
      Returns the asset entry 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.AssetEntry>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
      Parameters:
      primaryKey - the primary key of the asset entry
      Returns:
      the asset entry, or null if a asset entry with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.asset.kernel.model.AssetEntry fetchByPrimaryKey(long entryId)
      Returns the asset entry with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      entryId - the primary key of the asset entry
      Returns:
      the asset entry, or null if a asset entry with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.asset.kernel.model.AssetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • findAll

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

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

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

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of asset entries
    • findAll

      public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
      Returns an ordered range of all the asset entries.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of asset entries
    • findAll

      public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the asset entries.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (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 entries
    • removeAll

      public void removeAll()
      Removes all the asset entries from the database.
      Specified by:
      removeAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
    • countAll

      public int countAll()
      Returns the number of asset entries.
      Specified by:
      countAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Returns:
      the number of asset entries
    • getAssetTagPrimaryKeys

      public long[] getAssetTagPrimaryKeys(long pk)
      Returns the primaryKeys of asset tags associated with the asset entry.
      Specified by:
      getAssetTagPrimaryKeys in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      Returns:
      long[] of the primaryKeys of asset tags associated with the asset entry
    • getAssetTags

      public List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk)
      Returns all the asset tags associated with the asset entry.
      Specified by:
      getAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      Returns:
      the asset tags associated with the asset entry
    • getAssetTags

      public List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk, int start, int end)
      Returns a range of all the asset tags associated with the asset entry.

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

      Specified by:
      getAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      Returns:
      the range of asset tags associated with the asset entry
    • getAssetTags

      public List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
      Returns an ordered range of all the asset tags associated with the asset entry.

      Useful when paginating results. Returns a maximum of end - 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 AssetEntryModelImpl.

      Specified by:
      getAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      start - the lower bound of the range of asset entries
      end - the upper bound of the range of asset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of asset tags associated with the asset entry
    • getAssetTagsSize

      public int getAssetTagsSize(long pk)
      Returns the number of asset tags associated with the asset entry.
      Specified by:
      getAssetTagsSize in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      Returns:
      the number of asset tags associated with the asset entry
    • containsAssetTag

      public boolean containsAssetTag(long pk, long assetTagPK)
      Returns true if the asset tag is associated with the asset entry.
      Specified by:
      containsAssetTag in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPK - the primary key of the asset tag
      Returns:
      true if the asset tag is associated with the asset entry; false otherwise
    • containsAssetTags

      public boolean containsAssetTags(long pk)
      Returns true if the asset entry has any asset tags associated with it.
      Specified by:
      containsAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry to check for associations with asset tags
      Returns:
      true if the asset entry has any asset tags associated with it; false otherwise
    • addAssetTag

      public boolean addAssetTag(long pk, long assetTagPK)
      Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      addAssetTag in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPK - the primary key of the asset tag
      Returns:
      true if an association between the asset entry and the asset tag was added; false if they were already associated
    • addAssetTag

      public boolean addAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
      Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      addAssetTag in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTag - the asset tag
      Returns:
      true if an association between the asset entry and the asset tag was added; false if they were already associated
    • addAssetTags

      public boolean addAssetTags(long pk, long[] assetTagPKs)
      Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      addAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPKs - the primary keys of the asset tags
      Returns:
      true if at least one association between the asset entry and the asset tags was added; false if they were all already associated
    • addAssetTags

      public boolean addAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
      Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      addAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTags - the asset tags
      Returns:
      true if at least one association between the asset entry and the asset tags was added; false if they were all already associated
    • clearAssetTags

      public void clearAssetTags(long pk)
      Clears all associations between the asset entry and its asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      clearAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry to clear the associated asset tags from
    • removeAssetTag

      public void removeAssetTag(long pk, long assetTagPK)
      Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      removeAssetTag in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPK - the primary key of the asset tag
    • removeAssetTag

      public void removeAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
      Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      removeAssetTag in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTag - the asset tag
    • removeAssetTags

      public void removeAssetTags(long pk, long[] assetTagPKs)
      Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      removeAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPKs - the primary keys of the asset tags
    • removeAssetTags

      public void removeAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
      Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      removeAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTags - the asset tags
    • setAssetTags

      public void setAssetTags(long pk, long[] assetTagPKs)
      Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      setAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTagPKs - the primary keys of the asset tags to be associated with the asset entry
    • setAssetTags

      public void setAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
      Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Specified by:
      setAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
      Parameters:
      pk - the primary key of the asset entry
      assetTags - the asset tags to be associated with the asset entry
    • 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.AssetEntry>
    • getPKDBName

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

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

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
    • 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.AssetEntry>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
    • getTableName

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

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the asset entry persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>