java.lang.Object
com.liferay.adaptive.media.image.service.persistence.AMImageEntryUtil

public class AMImageEntryUtil extends Object
The persistence utility for the am image entry service. This utility wraps com.liferay.adaptive.media.image.service.persistence.impl.AMImageEntryPersistenceImpl 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

    • AMImageEntryUtil

      public AMImageEntryUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<AMImageEntry> findByUuid(String uuid)
      Returns all the am image entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching am image entries
    • findByUuid

      public static List<AMImageEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the am image 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 AMImageEntryModelImpl.

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

      public static List<AMImageEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns an ordered range of all the am image 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 AMImageEntryModelImpl.

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

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

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

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

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

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

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

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

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

      public static int countByUuid(String uuid)
      Returns the number of am image entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching am image entries
    • findByUUID_G

      public static AMImageEntry findByUUID_G(String uuid, long groupId) throws NoSuchAMImageEntryException
      Returns the am image entry where uuid = ? and groupId = ? or throws a NoSuchAMImageEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByUUID_G

      public static AMImageEntry fetchByUUID_G(String uuid, long groupId)
      Returns the am image 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 am image entry, or null if a matching am image entry could not be found
    • fetchByUUID_G

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

      public static AMImageEntry removeByUUID_G(String uuid, long groupId) throws NoSuchAMImageEntryException
      Removes the am image entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the am image entry that was removed
      Throws:
      NoSuchAMImageEntryException
    • countByUUID_G

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

      public static List<AMImageEntry> findByUuid_C(String uuid, long companyId)
      Returns all the am image entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching am image entries
    • findByUuid_C

      public static List<AMImageEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the am image 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 AMImageEntryModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      public static List<AMImageEntry> findByGroupId(long groupId)
      Returns all the am image entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching am image entries
    • findByGroupId

      public static List<AMImageEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the am image entries where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of matching am image entries
    • findByGroupId

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

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching am image entries
    • findByGroupId

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

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image 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 am image entries
    • findByGroupId_First

      public static AMImageEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the first am image entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByGroupId_First

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

      public static AMImageEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the last am image entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByGroupId_Last

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

      public static AMImageEntry[] findByGroupId_PrevAndNext(long amImageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the am image entries before and after the current am image entry in the ordered set where groupId = ?.
      Parameters:
      amImageEntryId - the primary key of the current am image entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the am image entries where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of am image entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching am image entries
    • findByCompanyId

      public static List<AMImageEntry> findByCompanyId(long companyId)
      Returns all the am image entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching am image entries
    • findByCompanyId

      public static List<AMImageEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the am image entries where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of matching am image entries
    • findByCompanyId

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

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching am image entries
    • findByCompanyId

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

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image 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 am image entries
    • findByCompanyId_First

      public static AMImageEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the first am image entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByCompanyId_First

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

      public static AMImageEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the last am image entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByCompanyId_Last

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

      public static AMImageEntry[] findByCompanyId_PrevAndNext(long amImageEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the am image entries before and after the current am image entry in the ordered set where companyId = ?.
      Parameters:
      amImageEntryId - the primary key of the current am image entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the am image entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of am image entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching am image entries
    • findByConfigurationUuid

      public static List<AMImageEntry> findByConfigurationUuid(String configurationUuid)
      Returns all the am image entries where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      Returns:
      the matching am image entries
    • findByConfigurationUuid

      public static List<AMImageEntry> findByConfigurationUuid(String configurationUuid, int start, int end)
      Returns a range of all the am image entries where configurationUuid = ?.

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

      Parameters:
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of matching am image entries
    • findByConfigurationUuid

      public static List<AMImageEntry> findByConfigurationUuid(String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns an ordered range of all the am image entries where configurationUuid = ?.

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

      Parameters:
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching am image entries
    • findByConfigurationUuid

      public static List<AMImageEntry> findByConfigurationUuid(String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the am image entries where configurationUuid = ?.

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

      Parameters:
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image 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 am image entries
    • findByConfigurationUuid_First

      public static AMImageEntry findByConfigurationUuid_First(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the first am image entry in the ordered set where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByConfigurationUuid_First

      public static AMImageEntry fetchByConfigurationUuid_First(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the first am image entry in the ordered set where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry, or null if a matching am image entry could not be found
    • findByConfigurationUuid_Last

      public static AMImageEntry findByConfigurationUuid_Last(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the last am image entry in the ordered set where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByConfigurationUuid_Last

      public static AMImageEntry fetchByConfigurationUuid_Last(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the last am image entry in the ordered set where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry, or null if a matching am image entry could not be found
    • findByConfigurationUuid_PrevAndNext

      public static AMImageEntry[] findByConfigurationUuid_PrevAndNext(long amImageEntryId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the am image entries before and after the current am image entry in the ordered set where configurationUuid = ?.
      Parameters:
      amImageEntryId - the primary key of the current am image entry
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • removeByConfigurationUuid

      public static void removeByConfigurationUuid(String configurationUuid)
      Removes all the am image entries where configurationUuid = ? from the database.
      Parameters:
      configurationUuid - the configuration uuid
    • countByConfigurationUuid

      public static int countByConfigurationUuid(String configurationUuid)
      Returns the number of am image entries where configurationUuid = ?.
      Parameters:
      configurationUuid - the configuration uuid
      Returns:
      the number of matching am image entries
    • findByFileVersionId

      public static List<AMImageEntry> findByFileVersionId(long fileVersionId)
      Returns all the am image entries where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      Returns:
      the matching am image entries
    • findByFileVersionId

      public static List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end)
      Returns a range of all the am image entries where fileVersionId = ?.

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

      Parameters:
      fileVersionId - the file version ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of matching am image entries
    • findByFileVersionId

      public static List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns an ordered range of all the am image entries where fileVersionId = ?.

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

      Parameters:
      fileVersionId - the file version ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching am image entries
    • findByFileVersionId

      public static List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the am image entries where fileVersionId = ?.

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

      Parameters:
      fileVersionId - the file version ID
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image 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 am image entries
    • findByFileVersionId_First

      public static AMImageEntry findByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the first am image entry in the ordered set where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByFileVersionId_First

      public static AMImageEntry fetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the first am image entry in the ordered set where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry, or null if a matching am image entry could not be found
    • findByFileVersionId_Last

      public static AMImageEntry findByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the last am image entry in the ordered set where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByFileVersionId_Last

      public static AMImageEntry fetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the last am image entry in the ordered set where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry, or null if a matching am image entry could not be found
    • findByFileVersionId_PrevAndNext

      public static AMImageEntry[] findByFileVersionId_PrevAndNext(long amImageEntryId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the am image entries before and after the current am image entry in the ordered set where fileVersionId = ?.
      Parameters:
      amImageEntryId - the primary key of the current am image entry
      fileVersionId - the file version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • removeByFileVersionId

      public static void removeByFileVersionId(long fileVersionId)
      Removes all the am image entries where fileVersionId = ? from the database.
      Parameters:
      fileVersionId - the file version ID
    • countByFileVersionId

      public static int countByFileVersionId(long fileVersionId)
      Returns the number of am image entries where fileVersionId = ?.
      Parameters:
      fileVersionId - the file version ID
      Returns:
      the number of matching am image entries
    • findByC_C

      public static List<AMImageEntry> findByC_C(long companyId, String configurationUuid)
      Returns all the am image entries where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      Returns:
      the matching am image entries
    • findByC_C

      public static List<AMImageEntry> findByC_C(long companyId, String configurationUuid, int start, int end)
      Returns a range of all the am image entries where companyId = ? and configurationUuid = ?.

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

      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of matching am image entries
    • findByC_C

      public static List<AMImageEntry> findByC_C(long companyId, String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns an ordered range of all the am image entries where companyId = ? and configurationUuid = ?.

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

      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching am image entries
    • findByC_C

      public static List<AMImageEntry> findByC_C(long companyId, String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the am image entries where companyId = ? and configurationUuid = ?.

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

      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image 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 am image entries
    • findByC_C_First

      public static AMImageEntry findByC_C_First(long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the first am image entry in the ordered set where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByC_C_First

      public static AMImageEntry fetchByC_C_First(long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the first am image entry in the ordered set where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching am image entry, or null if a matching am image entry could not be found
    • findByC_C_Last

      public static AMImageEntry findByC_C_Last(long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the last am image entry in the ordered set where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByC_C_Last

      public static AMImageEntry fetchByC_C_Last(long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns the last am image entry in the ordered set where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching am image entry, or null if a matching am image entry could not be found
    • findByC_C_PrevAndNext

      public static AMImageEntry[] findByC_C_PrevAndNext(long amImageEntryId, long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
      Returns the am image entries before and after the current am image entry in the ordered set where companyId = ? and configurationUuid = ?.
      Parameters:
      amImageEntryId - the primary key of the current am image entry
      companyId - the company ID
      configurationUuid - the configuration uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • removeByC_C

      public static void removeByC_C(long companyId, String configurationUuid)
      Removes all the am image entries where companyId = ? and configurationUuid = ? from the database.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
    • countByC_C

      public static int countByC_C(long companyId, String configurationUuid)
      Returns the number of am image entries where companyId = ? and configurationUuid = ?.
      Parameters:
      companyId - the company ID
      configurationUuid - the configuration uuid
      Returns:
      the number of matching am image entries
    • findByC_F

      public static AMImageEntry findByC_F(String configurationUuid, long fileVersionId) throws NoSuchAMImageEntryException
      Returns the am image entry where configurationUuid = ? and fileVersionId = ? or throws a NoSuchAMImageEntryException if it could not be found.
      Parameters:
      configurationUuid - the configuration uuid
      fileVersionId - the file version ID
      Returns:
      the matching am image entry
      Throws:
      NoSuchAMImageEntryException - if a matching am image entry could not be found
      NoSuchAMImageEntryException
    • fetchByC_F

      public static AMImageEntry fetchByC_F(String configurationUuid, long fileVersionId)
      Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      configurationUuid - the configuration uuid
      fileVersionId - the file version ID
      Returns:
      the matching am image entry, or null if a matching am image entry could not be found
    • fetchByC_F

      public static AMImageEntry fetchByC_F(String configurationUuid, long fileVersionId, boolean useFinderCache)
      Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      configurationUuid - the configuration uuid
      fileVersionId - the file version ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching am image entry, or null if a matching am image entry could not be found
    • removeByC_F

      public static AMImageEntry removeByC_F(String configurationUuid, long fileVersionId) throws NoSuchAMImageEntryException
      Removes the am image entry where configurationUuid = ? and fileVersionId = ? from the database.
      Parameters:
      configurationUuid - the configuration uuid
      fileVersionId - the file version ID
      Returns:
      the am image entry that was removed
      Throws:
      NoSuchAMImageEntryException
    • countByC_F

      public static int countByC_F(String configurationUuid, long fileVersionId)
      Returns the number of am image entries where configurationUuid = ? and fileVersionId = ?.
      Parameters:
      configurationUuid - the configuration uuid
      fileVersionId - the file version ID
      Returns:
      the number of matching am image entries
    • cacheResult

      public static void cacheResult(AMImageEntry amImageEntry)
      Caches the am image entry in the entity cache if it is enabled.
      Parameters:
      amImageEntry - the am image entry
    • cacheResult

      public static void cacheResult(List<AMImageEntry> amImageEntries)
      Caches the am image entries in the entity cache if it is enabled.
      Parameters:
      amImageEntries - the am image entries
    • create

      public static AMImageEntry create(long amImageEntryId)
      Creates a new am image entry with the primary key. Does not add the am image entry to the database.
      Parameters:
      amImageEntryId - the primary key for the new am image entry
      Returns:
      the new am image entry
    • remove

      public static AMImageEntry remove(long amImageEntryId) throws NoSuchAMImageEntryException
      Removes the am image entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      amImageEntryId - the primary key of the am image entry
      Returns:
      the am image entry that was removed
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • updateImpl

      public static AMImageEntry updateImpl(AMImageEntry amImageEntry)
    • findByPrimaryKey

      public static AMImageEntry findByPrimaryKey(long amImageEntryId) throws NoSuchAMImageEntryException
      Returns the am image entry with the primary key or throws a NoSuchAMImageEntryException if it could not be found.
      Parameters:
      amImageEntryId - the primary key of the am image entry
      Returns:
      the am image entry
      Throws:
      NoSuchAMImageEntryException - if a am image entry with the primary key could not be found
      NoSuchAMImageEntryException
    • fetchByPrimaryKey

      public static AMImageEntry fetchByPrimaryKey(long amImageEntryId)
      Returns the am image entry with the primary key or returns null if it could not be found.
      Parameters:
      amImageEntryId - the primary key of the am image entry
      Returns:
      the am image entry, or null if a am image entry with the primary key could not be found
    • findAll

      public static List<AMImageEntry> findAll()
      Returns all the am image entries.
      Returns:
      the am image entries
    • findAll

      public static List<AMImageEntry> findAll(int start, int end)
      Returns a range of all the am image 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 AMImageEntryModelImpl.

      Parameters:
      start - the lower bound of the range of am image entries
      end - the upper bound of the range of am image entries (not inclusive)
      Returns:
      the range of am image entries
    • findAll

      public static List<AMImageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
      Returns an ordered range of all the am image 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 AMImageEntryModelImpl.

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

      public static List<AMImageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the am image 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 AMImageEntryModelImpl.

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

      public static void removeAll()
      Removes all the am image entries from the database.
    • countAll

      public static int countAll()
      Returns the number of am image entries.
      Returns:
      the number of am image entries
    • getPersistence

      public static AMImageEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(AMImageEntryPersistence persistence)