Class CPDVirtualSettingFileEntryUtil

java.lang.Object
com.liferay.commerce.product.type.virtual.service.persistence.CPDVirtualSettingFileEntryUtil

public class CPDVirtualSettingFileEntryUtil extends Object
The persistence utility for the cpd virtual setting file entry service. This utility wraps com.liferay.commerce.product.type.virtual.service.persistence.impl.CPDVirtualSettingFileEntryPersistenceImpl 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 Details

    • CPDVirtualSettingFileEntryUtil

      public CPDVirtualSettingFileEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CPDVirtualSettingFileEntry cpdVirtualSettingFileEntry)
      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,CPDVirtualSettingFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

      public static List<CPDVirtualSettingFileEntry> findByUuid(String uuid)
      Returns all the cpd virtual setting file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cpd virtual setting file entries
    • findByUuid

      public static List<CPDVirtualSettingFileEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static CPDVirtualSettingFileEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the first cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByUuid_First

      public static CPDVirtualSettingFileEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the first cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByUuid_Last

      public static CPDVirtualSettingFileEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the last cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByUuid_Last

      public static CPDVirtualSettingFileEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the last cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByUuid_PrevAndNext

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

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

      public static int countByUuid(String uuid)
      Returns the number of cpd virtual setting file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cpd virtual setting file entries
    • findByUUID_G

      public static CPDVirtualSettingFileEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the cpd virtual setting file entry where uuid = ? and groupId = ? or throws a NoSuchCPDVirtualSettingFileEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByUUID_G

      public static CPDVirtualSettingFileEntry fetchByUUID_G(String uuid, long groupId)
      Returns the cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • fetchByUUID_G

      public static CPDVirtualSettingFileEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • removeByUUID_G

      public static CPDVirtualSettingFileEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPDVirtualSettingFileEntryException
      Removes the cpd virtual setting file entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cpd virtual setting file entry that was removed
      Throws:
      NoSuchCPDVirtualSettingFileEntryException
    • countByUUID_G

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

      public static List<CPDVirtualSettingFileEntry> findByUuid_C(String uuid, long companyId)
      Returns all the cpd virtual setting file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cpd virtual setting file entries
    • findByUuid_C

      public static List<CPDVirtualSettingFileEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static CPDVirtualSettingFileEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the first cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByUuid_C_First

      public static CPDVirtualSettingFileEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the first cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByUuid_C_Last

      public static CPDVirtualSettingFileEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the last cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByUuid_C_Last

      public static CPDVirtualSettingFileEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the last cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByUuid_C_PrevAndNext

      public static CPDVirtualSettingFileEntry[] findByUuid_C_PrevAndNext(long CPDefinitionVirtualSettingFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the cpd virtual setting file entries before and after the current cpd virtual setting file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key of the current cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a cpd virtual setting file entry with the primary key could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the cpd virtual setting 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 cpd virtual setting file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cpd virtual setting file entries
    • findByCPDefinitionVirtualSettingId

      public static List<CPDVirtualSettingFileEntry> findByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId)
      Returns all the cpd virtual setting file entries where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      Returns:
      the matching cpd virtual setting file entries
    • findByCPDefinitionVirtualSettingId

      public static List<CPDVirtualSettingFileEntry> findByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId, int start, int end)
      Returns a range of all the cpd virtual setting file entries where CPDefinitionVirtualSettingId = ?.

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

      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      start - the lower bound of the range of cpd virtual setting file entries
      end - the upper bound of the range of cpd virtual setting file entries (not inclusive)
      Returns:
      the range of matching cpd virtual setting file entries
    • findByCPDefinitionVirtualSettingId

      public static List<CPDVirtualSettingFileEntry> findByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns an ordered range of all the cpd virtual setting file entries where CPDefinitionVirtualSettingId = ?.

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

      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      start - the lower bound of the range of cpd virtual setting file entries
      end - the upper bound of the range of cpd virtual setting file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cpd virtual setting file entries
    • findByCPDefinitionVirtualSettingId

      public static List<CPDVirtualSettingFileEntry> findByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd virtual setting file entries where CPDefinitionVirtualSettingId = ?.

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

      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      start - the lower bound of the range of cpd virtual setting file entries
      end - the upper bound of the range of cpd virtual setting 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 cpd virtual setting file entries
    • findByCPDefinitionVirtualSettingId_First

      public static CPDVirtualSettingFileEntry findByCPDefinitionVirtualSettingId_First(long CPDefinitionVirtualSettingId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the first cpd virtual setting file entry in the ordered set where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByCPDefinitionVirtualSettingId_First

      public static CPDVirtualSettingFileEntry fetchByCPDefinitionVirtualSettingId_First(long CPDefinitionVirtualSettingId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the first cpd virtual setting file entry in the ordered set where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByCPDefinitionVirtualSettingId_Last

      public static CPDVirtualSettingFileEntry findByCPDefinitionVirtualSettingId_Last(long CPDefinitionVirtualSettingId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the last cpd virtual setting file entry in the ordered set where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByCPDefinitionVirtualSettingId_Last

      public static CPDVirtualSettingFileEntry fetchByCPDefinitionVirtualSettingId_Last(long CPDefinitionVirtualSettingId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the last cpd virtual setting file entry in the ordered set where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByCPDefinitionVirtualSettingId_PrevAndNext

      public static CPDVirtualSettingFileEntry[] findByCPDefinitionVirtualSettingId_PrevAndNext(long CPDefinitionVirtualSettingFileEntryId, long CPDefinitionVirtualSettingId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the cpd virtual setting file entries before and after the current cpd virtual setting file entry in the ordered set where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key of the current cpd virtual setting file entry
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a cpd virtual setting file entry with the primary key could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • removeByCPDefinitionVirtualSettingId

      public static void removeByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId)
      Removes all the cpd virtual setting file entries where CPDefinitionVirtualSettingId = ? from the database.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
    • countByCPDefinitionVirtualSettingId

      public static int countByCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId)
      Returns the number of cpd virtual setting file entries where CPDefinitionVirtualSettingId = ?.
      Parameters:
      CPDefinitionVirtualSettingId - the cp definition virtual setting ID
      Returns:
      the number of matching cpd virtual setting file entries
    • findByFileEntryId

      public static List<CPDVirtualSettingFileEntry> findByFileEntryId(long fileEntryId)
      Returns all the cpd virtual setting file entries where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching cpd virtual setting file entries
    • findByFileEntryId

      public static List<CPDVirtualSettingFileEntry> findByFileEntryId(long fileEntryId, int start, int end)
      Returns a range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static CPDVirtualSettingFileEntry findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the first cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByFileEntryId_First

      public static CPDVirtualSettingFileEntry fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the first cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByFileEntryId_Last

      public static CPDVirtualSettingFileEntry findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the last cpd virtual setting 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 cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a matching cpd virtual setting file entry could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByFileEntryId_Last

      public static CPDVirtualSettingFileEntry fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns the last cpd virtual setting 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 cpd virtual setting file entry, or null if a matching cpd virtual setting file entry could not be found
    • findByFileEntryId_PrevAndNext

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

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

      public static int countByFileEntryId(long fileEntryId)
      Returns the number of cpd virtual setting file entries where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching cpd virtual setting file entries
    • cacheResult

      public static void cacheResult(CPDVirtualSettingFileEntry cpdVirtualSettingFileEntry)
      Caches the cpd virtual setting file entry in the entity cache if it is enabled.
      Parameters:
      cpdVirtualSettingFileEntry - the cpd virtual setting file entry
    • cacheResult

      public static void cacheResult(List<CPDVirtualSettingFileEntry> cpdVirtualSettingFileEntries)
      Caches the cpd virtual setting file entries in the entity cache if it is enabled.
      Parameters:
      cpdVirtualSettingFileEntries - the cpd virtual setting file entries
    • create

      public static CPDVirtualSettingFileEntry create(long CPDefinitionVirtualSettingFileEntryId)
      Creates a new cpd virtual setting file entry with the primary key. Does not add the cpd virtual setting file entry to the database.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key for the new cpd virtual setting file entry
      Returns:
      the new cpd virtual setting file entry
    • remove

      public static CPDVirtualSettingFileEntry remove(long CPDefinitionVirtualSettingFileEntryId) throws NoSuchCPDVirtualSettingFileEntryException
      Removes the cpd virtual setting file entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key of the cpd virtual setting file entry
      Returns:
      the cpd virtual setting file entry that was removed
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a cpd virtual setting file entry with the primary key could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • updateImpl

      public static CPDVirtualSettingFileEntry updateImpl(CPDVirtualSettingFileEntry cpdVirtualSettingFileEntry)
    • findByPrimaryKey

      public static CPDVirtualSettingFileEntry findByPrimaryKey(long CPDefinitionVirtualSettingFileEntryId) throws NoSuchCPDVirtualSettingFileEntryException
      Returns the cpd virtual setting file entry with the primary key or throws a NoSuchCPDVirtualSettingFileEntryException if it could not be found.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key of the cpd virtual setting file entry
      Returns:
      the cpd virtual setting file entry
      Throws:
      NoSuchCPDVirtualSettingFileEntryException - if a cpd virtual setting file entry with the primary key could not be found
      NoSuchCPDVirtualSettingFileEntryException
    • fetchByPrimaryKey

      public static CPDVirtualSettingFileEntry fetchByPrimaryKey(long CPDefinitionVirtualSettingFileEntryId)
      Returns the cpd virtual setting file entry with the primary key or returns null if it could not be found.
      Parameters:
      CPDefinitionVirtualSettingFileEntryId - the primary key of the cpd virtual setting file entry
      Returns:
      the cpd virtual setting file entry, or null if a cpd virtual setting file entry with the primary key could not be found
    • findAll

      public static List<CPDVirtualSettingFileEntry> findAll()
      Returns all the cpd virtual setting file entries.
      Returns:
      the cpd virtual setting file entries
    • findAll

      public static List<CPDVirtualSettingFileEntry> findAll(int start, int end)
      Returns a range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static List<CPDVirtualSettingFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDVirtualSettingFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd virtual setting 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 CPDVirtualSettingFileEntryModelImpl.

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

      public static void removeAll()
      Removes all the cpd virtual setting file entries from the database.
    • countAll

      public static int countAll()
      Returns the number of cpd virtual setting file entries.
      Returns:
      the number of cpd virtual setting file entries
    • getPersistence

      public static CPDVirtualSettingFileEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPDVirtualSettingFileEntryPersistence persistence)