Interface CPAttachmentFileEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPAttachmentFileEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry>

@ProviderType public interface CPAttachmentFileEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPAttachmentFileEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry>
The persistence interface for the cp attachment file entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry)
    Caches the cp attachment file entry in the entity cache if it is enabled.
    void
    cacheResult(List<CPAttachmentFileEntry> cpAttachmentFileEntries)
    Caches the cp attachment file entries in the entity cache if it is enabled.
    int
    Returns the number of cp attachment file entries.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.
    int
    countByC_C_C(long classNameId, long classPK, String cdnURL)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    int
    countByC_C_F(long classNameId, long classPK, long fileEntryId)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    int
    countByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    int
    countByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    int
    countByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    int
    countByC_C_T_NotST(long classNameId, long classPK, int type, int status)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    int
    countByC_C_T_ST(long classNameId, long classPK, int type, int status)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.
    int
    countByFileEntryId(long fileEntryId)
    Returns the number of cp attachment file entries where fileEntryId = ?.
    int
    countByG_C_F(long groupId, long classNameId, long fileEntryId)
    Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of cp attachment file entries where displayDate < ? and status = ?.
    int
    Returns the number of cp attachment file entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp attachment file entries where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of cp attachment file entries where uuid = ? and groupId = ?.
    create(long CPAttachmentFileEntryId)
    Creates a new cp attachment file entry with the primary key.
    fetchByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
    fetchByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
    fetchByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
    fetchByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
    fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
    fetchByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    fetchByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    fetchByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    fetchByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
    fetchByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    fetchByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    fetchByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    fetchByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    fetchByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
    fetchByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.
    fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.
    fetchByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
    fetchByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
    fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.
    fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.
    fetchByPrimaryKey(long CPAttachmentFileEntryId)
    Returns the cp attachment file entry with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the cp attachment file entry where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the cp attachment file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where uuid = ?.
    Returns all the cp attachment file entries.
    findAll(int start, int end)
    Returns a range of all the cp attachment file entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries.
    findByC_C(long classNameId, long classPK)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.
    findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.
    findByC_C_C(long classNameId, long classPK, String cdnURL)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
    findByC_C_F(long classNameId, long classPK, long fileEntryId)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_F_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
    findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
    findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
    findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_G_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
    findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
    findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_LtD_S_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
    findByC_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
    findByC_C_T_NotST(long classNameId, long classPK, int type, int status)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
    findByC_C_T_ST(long classNameId, long classPK, int type, int status)
    Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end)
    Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByC_C_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
    findByFileEntryId(long fileEntryId)
    Returns all the cp attachment file entries where fileEntryId = ?.
    findByFileEntryId(long fileEntryId, int start, int end)
    Returns a range of all the cp attachment file entries where fileEntryId = ?.
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.
    findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.
    findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.
    findByFileEntryId_PrevAndNext(long CPAttachmentFileEntryId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where fileEntryId = ?.
    findByG_C_F(long groupId, long classNameId, long fileEntryId)
    Returns all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end)
    Returns a range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByG_C_F_PrevAndNext(long CPAttachmentFileEntryId, long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
    findByLtD_S(Date displayDate, int status)
    Returns all the cp attachment file entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.
    findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_PrevAndNext(long CPAttachmentFileEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where displayDate < ? and status = ?.
    findByPrimaryKey(long CPAttachmentFileEntryId)
    Returns the cp attachment file entry with the primary key or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
    Returns all the cp attachment file entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the cp attachment file entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the cp attachment file entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the cp attachment file entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long CPAttachmentFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the first cp attachment file entry in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the cp attachment file entry where uuid = ? and groupId = ? or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the last cp attachment file entry in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long CPAttachmentFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
    Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ?.
    remove(long CPAttachmentFileEntryId)
    Removes the cp attachment file entry with the primary key from the database.
    void
    Removes all the cp attachment file entries from the database.
    void
    removeByC_C(long classNameId, long classPK)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.
    void
    removeByC_C_C(long classNameId, long classPK, String cdnURL)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ? from the database.
    void
    removeByC_C_F(long classNameId, long classPK, long fileEntryId)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ? from the database.
    void
    removeByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ? from the database.
    void
    removeByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ? from the database.
    void
    removeByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ? from the database.
    void
    removeByC_C_T_NotST(long classNameId, long classPK, int type, int status)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ? from the database.
    void
    removeByC_C_T_ST(long classNameId, long classPK, int type, int status)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the cp attachment file entry where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByFileEntryId(long fileEntryId)
    Removes all the cp attachment file entries where fileEntryId = ? from the database.
    void
    removeByG_C_F(long groupId, long classNameId, long fileEntryId)
    Removes all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.
    void
    Removes all the cp attachment file entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.
    updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<CPAttachmentFileEntry> findByUuid(String uuid)
      Returns all the cp attachment file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp attachment file entries
    • findByUuid

      List<CPAttachmentFileEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp attachment file entries where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByUuid

      List<CPAttachmentFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByUuid

      List<CPAttachmentFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByUuid_First

      CPAttachmentFileEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByUuid_First

      CPAttachmentFileEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByUuid_Last

      CPAttachmentFileEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByUuid_Last

      CPAttachmentFileEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByUuid_PrevAndNext

      CPAttachmentFileEntry[] findByUuid_PrevAndNext(long CPAttachmentFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the cp attachment file entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of cp attachment file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp attachment file entries
    • findByUUID_G

      CPAttachmentFileEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entry where uuid = ? and groupId = ? or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByUUID_G

      CPAttachmentFileEntry fetchByUUID_G(String uuid, long groupId)
      Returns the cp attachment file entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • fetchByUUID_G

      CPAttachmentFileEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp attachment file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • removeByUUID_G

      CPAttachmentFileEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException
      Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cp attachment file entry that was removed
      Throws:
      NoSuchCPAttachmentFileEntryException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of cp attachment file entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp attachment file entries
    • findByUuid_C

      List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId)
      Returns all the cp attachment file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp attachment file entries
    • findByUuid_C

      List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp attachment file entries where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByUuid_C

      List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByUuid_C

      List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByUuid_C_First

      CPAttachmentFileEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByUuid_C_First

      CPAttachmentFileEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByUuid_C_Last

      CPAttachmentFileEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByUuid_C_Last

      CPAttachmentFileEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByUuid_C_PrevAndNext

      CPAttachmentFileEntry[] findByUuid_C_PrevAndNext(long CPAttachmentFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of cp attachment file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp attachment file entries
    • findByFileEntryId

      List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId)
      Returns all the cp attachment file entries where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching cp attachment file entries
    • findByFileEntryId

      List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId, int start, int end)
      Returns a range of all the cp attachment file entries where fileEntryId = ?.

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

      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByFileEntryId

      List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.

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

      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByFileEntryId

      List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.

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

      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByFileEntryId_First

      CPAttachmentFileEntry findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByFileEntryId_First

      CPAttachmentFileEntry fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByFileEntryId_Last

      CPAttachmentFileEntry findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByFileEntryId_Last

      CPAttachmentFileEntry fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByFileEntryId_PrevAndNext

      CPAttachmentFileEntry[] findByFileEntryId_PrevAndNext(long CPAttachmentFileEntryId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where fileEntryId = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByFileEntryId

      void removeByFileEntryId(long fileEntryId)
      Removes all the cp attachment file entries where fileEntryId = ? from the database.
      Parameters:
      fileEntryId - the file entry ID
    • countByFileEntryId

      int countByFileEntryId(long fileEntryId)
      Returns the number of cp attachment file entries where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching cp attachment file entries
    • findByC_C

      List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching cp attachment file entries
    • findByC_C

      List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C

      List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C

      List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_First

      CPAttachmentFileEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_First

      CPAttachmentFileEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_Last

      CPAttachmentFileEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_Last

      CPAttachmentFileEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C

      void removeByC_C(long classNameId, long classPK)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching cp attachment file entries
    • findByLtD_S

      List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status)
      Returns all the cp attachment file entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByLtD_S

      List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByLtD_S

      List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByLtD_S

      List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.

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

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByLtD_S_First

      CPAttachmentFileEntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByLtD_S_First

      CPAttachmentFileEntry fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByLtD_S_Last

      CPAttachmentFileEntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByLtD_S_Last

      CPAttachmentFileEntry fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByLtD_S_PrevAndNext

      CPAttachmentFileEntry[] findByLtD_S_PrevAndNext(long CPAttachmentFileEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of cp attachment file entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByG_C_F

      List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId)
      Returns all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      Returns:
      the matching cp attachment file entries
    • findByG_C_F

      List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end)
      Returns a range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.

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

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByG_C_F

      List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.

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

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByG_C_F

      List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.

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

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByG_C_F_First

      CPAttachmentFileEntry findByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByG_C_F_First

      CPAttachmentFileEntry fetchByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByG_C_F_Last

      CPAttachmentFileEntry findByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByG_C_F_Last

      CPAttachmentFileEntry fetchByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByG_C_F_PrevAndNext

      CPAttachmentFileEntry[] findByG_C_F_PrevAndNext(long CPAttachmentFileEntryId, long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByG_C_F

      void removeByG_C_F(long groupId, long classNameId, long fileEntryId)
      Removes all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
    • countByG_C_F

      int countByG_C_F(long groupId, long classNameId, long fileEntryId)
      Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      fileEntryId - the file entry ID
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_F

      List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      Returns:
      the matching cp attachment file entries
    • findByC_C_F

      List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_F

      List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_F

      List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_F_First

      CPAttachmentFileEntry findByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_F_First

      CPAttachmentFileEntry fetchByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_F_Last

      CPAttachmentFileEntry findByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_F_Last

      CPAttachmentFileEntry fetchByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_F_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_F_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_F

      void removeByC_C_F(long classNameId, long classPK, long fileEntryId)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
    • countByC_C_F

      int countByC_C_F(long classNameId, long classPK, long fileEntryId)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      fileEntryId - the file entry ID
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_C

      List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      Returns:
      the matching cp attachment file entries
    • findByC_C_C

      List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_C

      List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_C

      List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_C_First

      CPAttachmentFileEntry findByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_C_First

      CPAttachmentFileEntry fetchByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_C_Last

      CPAttachmentFileEntry findByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_C_Last

      CPAttachmentFileEntry fetchByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_C_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_C

      void removeByC_C_C(long classNameId, long classPK, String cdnURL)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
    • countByC_C_C

      int countByC_C_C(long classNameId, long classPK, String cdnURL)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      cdnURL - the cdn url
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_LtD_S

      List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByC_C_LtD_S

      List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_LtD_S

      List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_LtD_S

      List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_LtD_S_First

      CPAttachmentFileEntry findByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_LtD_S_First

      CPAttachmentFileEntry fetchByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_LtD_S_Last

      CPAttachmentFileEntry findByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_LtD_S_Last

      CPAttachmentFileEntry fetchByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_LtD_S_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_LtD_S_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_LtD_S

      void removeByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
    • countByC_C_LtD_S

      int countByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      displayDate - the display date
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_T_ST

      List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByC_C_T_ST

      List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_T_ST

      List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_T_ST

      List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_T_ST_First

      CPAttachmentFileEntry findByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_T_ST_First

      CPAttachmentFileEntry fetchByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_T_ST_Last

      CPAttachmentFileEntry findByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_T_ST_Last

      CPAttachmentFileEntry fetchByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_T_ST_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_T_ST

      void removeByC_C_T_ST(long classNameId, long classPK, int type, int status)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
    • countByC_C_T_ST

      int countByC_C_T_ST(long classNameId, long classPK, int type, int status)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_T_NotST

      List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByC_C_T_NotST

      List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_T_NotST

      List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_T_NotST

      List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_T_NotST_First

      CPAttachmentFileEntry findByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_T_NotST_First

      CPAttachmentFileEntry fetchByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_T_NotST_Last

      CPAttachmentFileEntry findByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_T_NotST_Last

      CPAttachmentFileEntry fetchByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_T_NotST_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_T_NotST

      void removeByC_C_T_NotST(long classNameId, long classPK, int type, int status)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
    • countByC_C_T_NotST

      int countByC_C_T_NotST(long classNameId, long classPK, int type, int status)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_G_T_ST

      List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByC_C_G_T_ST

      List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_G_T_ST

      List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_G_T_ST

      List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_G_T_ST_First

      CPAttachmentFileEntry findByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_G_T_ST_First

      CPAttachmentFileEntry fetchByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_G_T_ST_Last

      CPAttachmentFileEntry findByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_G_T_ST_Last

      CPAttachmentFileEntry fetchByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_G_T_ST_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_G_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_G_T_ST

      void removeByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
    • countByC_C_G_T_ST

      int countByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByC_C_G_T_NotST

      List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      Returns:
      the matching cp attachment file entries
    • findByC_C_G_T_NotST

      List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end)
      Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of matching cp attachment file entries
    • findByC_C_G_T_NotST

      List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp attachment file entries
    • findByC_C_G_T_NotST

      List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • findByC_C_G_T_NotST_First

      CPAttachmentFileEntry findByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_G_T_NotST_First

      CPAttachmentFileEntry fetchByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_G_T_NotST_Last

      CPAttachmentFileEntry findByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByC_C_G_T_NotST_Last

      CPAttachmentFileEntry fetchByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • findByC_C_G_T_NotST_PrevAndNext

      CPAttachmentFileEntry[] findByC_C_G_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the current cp attachment file entry
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • removeByC_C_G_T_NotST

      void removeByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
    • countByC_C_G_T_NotST

      int countByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status)
      Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      galleryEnabled - the gallery enabled
      type - the type
      status - the status
      Returns:
      the number of matching cp attachment file entries
    • findByERC_C

      CPAttachmentFileEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a matching cp attachment file entry could not be found
    • fetchByERC_C

      CPAttachmentFileEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • fetchByERC_C

      CPAttachmentFileEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp attachment file entry, or null if a matching cp attachment file entry could not be found
    • removeByERC_C

      CPAttachmentFileEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPAttachmentFileEntryException
      Removes the cp attachment file entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the cp attachment file entry that was removed
      Throws:
      NoSuchCPAttachmentFileEntryException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching cp attachment file entries
    • cacheResult

      void cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry)
      Caches the cp attachment file entry in the entity cache if it is enabled.
      Parameters:
      cpAttachmentFileEntry - the cp attachment file entry
    • cacheResult

      void cacheResult(List<CPAttachmentFileEntry> cpAttachmentFileEntries)
      Caches the cp attachment file entries in the entity cache if it is enabled.
      Parameters:
      cpAttachmentFileEntries - the cp attachment file entries
    • create

      CPAttachmentFileEntry create(long CPAttachmentFileEntryId)
      Creates a new cp attachment file entry with the primary key. Does not add the cp attachment file entry to the database.
      Parameters:
      CPAttachmentFileEntryId - the primary key for the new cp attachment file entry
      Returns:
      the new cp attachment file entry
    • remove

      CPAttachmentFileEntry remove(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException
      Removes the cp attachment file entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the cp attachment file entry
      Returns:
      the cp attachment file entry that was removed
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • updateImpl

      CPAttachmentFileEntry updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry)
    • findByPrimaryKey

      CPAttachmentFileEntry findByPrimaryKey(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException
      Returns the cp attachment file entry with the primary key or throws a NoSuchCPAttachmentFileEntryException if it could not be found.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the cp attachment file entry
      Returns:
      the cp attachment file entry
      Throws:
      NoSuchCPAttachmentFileEntryException - if a cp attachment file entry with the primary key could not be found
    • fetchByPrimaryKey

      CPAttachmentFileEntry fetchByPrimaryKey(long CPAttachmentFileEntryId)
      Returns the cp attachment file entry with the primary key or returns null if it could not be found.
      Parameters:
      CPAttachmentFileEntryId - the primary key of the cp attachment file entry
      Returns:
      the cp attachment file entry, or null if a cp attachment file entry with the primary key could not be found
    • findAll

      Returns all the cp attachment file entries.
      Returns:
      the cp attachment file entries
    • findAll

      List<CPAttachmentFileEntry> findAll(int start, int end)
      Returns a range of all the cp attachment file 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 CPAttachmentFileEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      Returns:
      the range of cp attachment file entries
    • findAll

      List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      Returns an ordered range of all the cp attachment file 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 CPAttachmentFileEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of cp attachment file entries
    • findAll

      List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp attachment file 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 CPAttachmentFileEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp attachment file entries
      end - the upper bound of the range of cp attachment file 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 cp attachment file entries
    • removeAll

      void removeAll()
      Removes all the cp attachment file entries from the database.
    • countAll

      int countAll()
      Returns the number of cp attachment file entries.
      Returns:
      the number of cp attachment file entries