Class CPAttachmentFileEntryUtil

java.lang.Object
com.liferay.commerce.product.service.persistence.CPAttachmentFileEntryUtil

public class CPAttachmentFileEntryUtil extends Object
The persistence utility for the cp attachment file entry service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CPAttachmentFileEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry)
    Caches the cp attachment file entry in the entity cache if it is enabled.
    static void
    cacheResult(List<CPAttachmentFileEntry> cpAttachmentFileEntries)
    Caches the cp attachment file entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(CPAttachmentFileEntry cpAttachmentFileEntry)
     
    static int
    Returns the number of cp attachment file entries.
    static int
    countByC_C(long classNameId, long classPK)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.
    static int
    countByC_C_C(long classNameId, long classPK, String cdnURL)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
    static int
    countByC_C_F(long classNameId, long classPK, long fileEntryId)
    Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.
    static 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 ≠ ?.
    static 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 = ?.
    static 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 = ?.
    static 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 ≠ ?.
    static 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 = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.
    static int
    countByFileEntryId(long fileEntryId)
    Returns the number of cp attachment file entries where fileEntryId = ?.
    static int
    countByG_C_F(long groupId, long classNameId, long fileEntryId)
    Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.
    static int
    countByLtD_S(Date displayDate, int status)
    Returns the number of cp attachment file entries where displayDate < ? and status = ?.
    static int
    Returns the number of cp attachment file entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp attachment file entries where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of cp attachment file entries where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
     
     
    remove(long CPAttachmentFileEntryId)
    Removes the cp attachment file entry with the primary key from the database.
    static void
    Removes all the cp attachment file entries from the database.
    static void
    removeByC_C(long classNameId, long classPK)
    Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.
    static 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.
    static 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.
    static 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.
    static 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.
    static 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.
    static 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.
    static 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.
    static void
    removeByFileEntryId(long fileEntryId)
    Removes all the cp attachment file entries where fileEntryId = ? from the database.
    static 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.
    static void
    removeByLtD_S(Date displayDate, int status)
    Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.
    static void
    Removes all the cp attachment file entries where uuid = ? from the database.
    static 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.
    static void
     
    update(CPAttachmentFileEntry cpAttachmentFileEntry)
     
    update(CPAttachmentFileEntry cpAttachmentFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CPAttachmentFileEntryUtil

      public CPAttachmentFileEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CPAttachmentFileEntry cpAttachmentFileEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CPAttachmentFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CPAttachmentFileEntry update(CPAttachmentFileEntry cpAttachmentFileEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CPAttachmentFileEntry update(CPAttachmentFileEntry cpAttachmentFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByUuid_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByUuid_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByUuid

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByUUID_G

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

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

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByUuid_C_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByUuid_C_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByUuid_C

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByFileEntryId_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByFileEntryId_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByFileEntryId

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByLtD_S_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByLtD_S_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByLtD_S

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByG_C_F_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByG_C_F_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByG_C_F

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_F_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_F_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_F

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_C_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_C_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_C

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_LtD_S_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_LtD_S_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_LtD_S

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_T_ST_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_T_ST_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_T_ST

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_T_NotST_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_T_NotST_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_T_NotST

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_G_T_ST_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_G_T_ST_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_G_T_ST

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_G_T_NotST_First

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByC_C_G_T_NotST_Last

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • removeByC_C_G_T_NotST

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByERC_C

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

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

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

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

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

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

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

      public static 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
      NoSuchCPAttachmentFileEntryException
    • updateImpl

      public static CPAttachmentFileEntry updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry)
    • findByPrimaryKey

      public static 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
      NoSuchCPAttachmentFileEntryException
    • fetchByPrimaryKey

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

      public static List<CPAttachmentFileEntry> findAll()
      Returns all the cp attachment file entries.
      Returns:
      the cp attachment file entries
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of cp attachment file entries.
      Returns:
      the number of cp attachment file entries
    • getPersistence

      public static CPAttachmentFileEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPAttachmentFileEntryPersistence persistence)