Class AMImageEntryUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AMImageEntry amImageEntry) Caches the am image entry in the entity cache if it is enabled.static voidcacheResult(List<AMImageEntry> amImageEntries) Caches the am image entries in the entity cache if it is enabled.static voidstatic voidclearCache(AMImageEntry amImageEntry) static intcountAll()Returns the number of am image entries.static intcountByC_C(long companyId, String configurationUuid) Returns the number of am image entries where companyId = ? and configurationUuid = ?.static intcountByC_F(String configurationUuid, long fileVersionId) Returns the number of am image entries where configurationUuid = ? and fileVersionId = ?.static intcountByCompanyId(long companyId) Returns the number of am image entries where companyId = ?.static intcountByConfigurationUuid(String configurationUuid) Returns the number of am image entries where configurationUuid = ?.static intcountByFileVersionId(long fileVersionId) Returns the number of am image entries where fileVersionId = ?.static intcountByGroupId(long groupId) Returns the number of am image entries where groupId = ?.static intcountByUuid(String uuid) Returns the number of am image entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of am image entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of am image entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AMImageEntrycreate(long amImageEntryId) Creates a new am image entry with the primary key.static AMImageEntryfetchByC_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 = ?.static AMImageEntryfetchByC_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 = ?.static AMImageEntryfetchByC_F(String configurationUuid, long fileVersionId) Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returnsnullif it could not be found.static AMImageEntryfetchByC_F(String configurationUuid, long fileVersionId, boolean useFinderCache) Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returnsnullif it could not be found, optionally using the finder cache.static AMImageEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where companyId = ?.static AMImageEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where companyId = ?.static AMImageEntryfetchByConfigurationUuid_First(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where configurationUuid = ?.static AMImageEntryfetchByConfigurationUuid_Last(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where configurationUuid = ?.static AMImageEntryfetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where fileVersionId = ?.static AMImageEntryfetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where fileVersionId = ?.static AMImageEntryfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where groupId = ?.static AMImageEntryfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where groupId = ?.static AMImageEntryfetchByPrimaryKey(long amImageEntryId) Returns the am image entry with the primary key or returnsnullif it could not be found.static Map<Serializable,AMImageEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static AMImageEntryfetchByUuid_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 = ?.static AMImageEntryfetchByUuid_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 = ?.static AMImageEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where uuid = ?.static AMImageEntryfetchByUUID_G(String uuid, long groupId) Returns the am image entry where uuid = ? and groupId = ? or returnsnullif it could not be found.static AMImageEntryfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the am image entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static AMImageEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where uuid = ?.static List<AMImageEntry>findAll()Returns all the am image entries.static List<AMImageEntry>findAll(int start, int end) Returns a range of all the am image entries.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.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.static List<AMImageEntry>Returns all the am image entries where companyId = ? and configurationUuid = ?.static List<AMImageEntry>Returns a range of all the am image entries where companyId = ? and configurationUuid = ?.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 = ?.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 = ?.static AMImageEntryfindByC_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 = ?.static AMImageEntryfindByC_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 = ?.static AMImageEntry[]findByC_C_PrevAndNext(long amImageEntryId, long companyId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where companyId = ? and configurationUuid = ?.static AMImageEntryReturns the am image entry where configurationUuid = ? and fileVersionId = ? or throws aNoSuchAMImageEntryExceptionif it could not be found.static List<AMImageEntry>findByCompanyId(long companyId) Returns all the am image entries where companyId = ?.static List<AMImageEntry>findByCompanyId(long companyId, int start, int end) Returns a range of all the am image entries where companyId = ?.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 = ?.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 = ?.static AMImageEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where companyId = ?.static AMImageEntryfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where companyId = ?.static AMImageEntry[]findByCompanyId_PrevAndNext(long amImageEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where companyId = ?.static List<AMImageEntry>findByConfigurationUuid(String configurationUuid) Returns all the am image entries where configurationUuid = ?.static List<AMImageEntry>findByConfigurationUuid(String configurationUuid, int start, int end) Returns a range of all the am image entries where configurationUuid = ?.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 = ?.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 = ?.static AMImageEntryfindByConfigurationUuid_First(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where configurationUuid = ?.static AMImageEntryfindByConfigurationUuid_Last(String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where configurationUuid = ?.static AMImageEntry[]findByConfigurationUuid_PrevAndNext(long amImageEntryId, String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where configurationUuid = ?.static List<AMImageEntry>findByFileVersionId(long fileVersionId) Returns all the am image entries where fileVersionId = ?.static List<AMImageEntry>findByFileVersionId(long fileVersionId, int start, int end) Returns a range of all the am image entries where fileVersionId = ?.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 = ?.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 = ?.static AMImageEntryfindByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where fileVersionId = ?.static AMImageEntryfindByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where fileVersionId = ?.static AMImageEntry[]findByFileVersionId_PrevAndNext(long amImageEntryId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where fileVersionId = ?.static List<AMImageEntry>findByGroupId(long groupId) Returns all the am image entries where groupId = ?.static List<AMImageEntry>findByGroupId(long groupId, int start, int end) Returns a range of all the am image entries where groupId = ?.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 = ?.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 = ?.static AMImageEntryfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where groupId = ?.static AMImageEntryfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where groupId = ?.static AMImageEntry[]findByGroupId_PrevAndNext(long amImageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where groupId = ?.static AMImageEntryfindByPrimaryKey(long amImageEntryId) Returns the am image entry with the primary key or throws aNoSuchAMImageEntryExceptionif it could not be found.static List<AMImageEntry>findByUuid(String uuid) Returns all the am image entries where uuid = ?.static List<AMImageEntry>findByUuid(String uuid, int start, int end) Returns a range of all the am image entries where uuid = ?.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 = ?.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 = ?.static List<AMImageEntry>findByUuid_C(String uuid, long companyId) Returns all the am image entries where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static AMImageEntryfindByUuid_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 = ?.static AMImageEntryfindByUuid_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 = ?.static AMImageEntry[]findByUuid_C_PrevAndNext(long amImageEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where uuid = ? and companyId = ?.static AMImageEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the first am image entry in the ordered set where uuid = ?.static AMImageEntryfindByUUID_G(String uuid, long groupId) Returns the am image entry where uuid = ? and groupId = ? or throws aNoSuchAMImageEntryExceptionif it could not be found.static AMImageEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the last am image entry in the ordered set where uuid = ?.static AMImageEntry[]findByUuid_PrevAndNext(long amImageEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) Returns the am image entries before and after the current am image entry in the ordered set where uuid = ?.static List<AMImageEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AMImageEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AMImageEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) static AMImageEntryPersistencestatic AMImageEntryremove(long amImageEntryId) Removes the am image entry with the primary key from the database.static voidRemoves all the am image entries from the database.static voidremoveByC_C(long companyId, String configurationUuid) Removes all the am image entries where companyId = ? and configurationUuid = ? from the database.static AMImageEntryremoveByC_F(String configurationUuid, long fileVersionId) Removes the am image entry where configurationUuid = ? and fileVersionId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the am image entries where companyId = ? from the database.static voidremoveByConfigurationUuid(String configurationUuid) Removes all the am image entries where configurationUuid = ? from the database.static voidremoveByFileVersionId(long fileVersionId) Removes all the am image entries where fileVersionId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the am image entries where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the am image entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the am image entries where uuid = ? and companyId = ? from the database.static AMImageEntryremoveByUUID_G(String uuid, long groupId) Removes the am image entry where uuid = ? and groupId = ? from the database.static voidsetPersistence(AMImageEntryPersistence persistence) static AMImageEntryupdate(AMImageEntry amImageEntry) static AMImageEntryupdate(AMImageEntry amImageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AMImageEntryupdateImpl(AMImageEntry amImageEntry)
-
Constructor Details
-
AMImageEntryUtil
public AMImageEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the am image entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching am image entries
-
findByUuid
Returns a range of all the am image entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
removeByUuid
Removes all the am image entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
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 aNoSuchAMImageEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
fetchByUUID_G
Returns the am image entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching am image entry, or
nullif a matching am image entry could not be found
-
fetchByUUID_G
Returns the am image entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching am image entry, or
nullif 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 uuidgroupId- the group ID- Returns:
- the am image entry that was removed
- Throws:
NoSuchAMImageEntryException
-
countByUUID_G
Returns the number of am image entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching am image entries
-
findByUuid_C
Returns all the am image entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching am image entries
-
findByUuid_C
Returns a range of all the am image entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
removeByUuid_C
Removes all the am image entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of am image entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching am image entries
-
findByGroupId
Returns all the am image entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching am image entries
-
findByGroupId
Returns a range of all the am image entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entrygroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
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
Returns all the am image entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching am image entries
-
findByCompanyId
Returns a range of all the am image entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
configurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
configurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
configurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entryconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
removeByConfigurationUuid
Removes all the am image entries where configurationUuid = ? from the database.- Parameters:
configurationUuid- the configuration uuid
-
countByConfigurationUuid
Returns the number of am image entries where configurationUuid = ?.- Parameters:
configurationUuid- the configuration uuid- Returns:
- the number of matching am image entries
-
findByFileVersionId
Returns all the am image entries where fileVersionId = ?.- Parameters:
fileVersionId- the file version ID- Returns:
- the matching am image entries
-
findByFileVersionId
Returns a range of all the am image entries where fileVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
fileVersionId- the file version IDstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entryfileVersionId- the file version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
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
Returns all the am image entries where companyId = ? and configurationUuid = ?.- Parameters:
companyId- the company IDconfigurationUuid- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDconfigurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDconfigurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
companyId- the company IDconfigurationUuid- the configuration uuidstart- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching am image entry, or
nullif 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 IDconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
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 IDconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching am image entry, or
nullif 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 entrycompanyId- the company IDconfigurationUuid- the configuration uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next am image entry
- Throws:
NoSuchAMImageEntryException- if a am image entry with the primary key could not be foundNoSuchAMImageEntryException
-
removeByC_C
Removes all the am image entries where companyId = ? and configurationUuid = ? from the database.- Parameters:
companyId- the company IDconfigurationUuid- the configuration uuid
-
countByC_C
Returns the number of am image entries where companyId = ? and configurationUuid = ?.- Parameters:
companyId- the company IDconfigurationUuid- 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 aNoSuchAMImageEntryExceptionif it could not be found.- Parameters:
configurationUuid- the configuration uuidfileVersionId- the file version ID- Returns:
- the matching am image entry
- Throws:
NoSuchAMImageEntryException- if a matching am image entry could not be foundNoSuchAMImageEntryException
-
fetchByC_F
Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
configurationUuid- the configuration uuidfileVersionId- the file version ID- Returns:
- the matching am image entry, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
configurationUuid- the configuration uuidfileVersionId- the file version IDuseFinderCache- whether to use the finder cache- Returns:
- the matching am image entry, or
nullif 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 uuidfileVersionId- the file version ID- Returns:
- the am image entry that was removed
- Throws:
NoSuchAMImageEntryException
-
countByC_F
Returns the number of am image entries where configurationUuid = ? and fileVersionId = ?.- Parameters:
configurationUuid- the configuration uuidfileVersionId- the file version ID- Returns:
- the number of matching am image entries
-
cacheResult
Caches the am image entry in the entity cache if it is enabled.- Parameters:
amImageEntry- the am image entry
-
cacheResult
Caches the am image entries in the entity cache if it is enabled.- Parameters:
amImageEntries- the am image entries
-
create
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
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 foundNoSuchAMImageEntryException
-
updateImpl
-
findByPrimaryKey
Returns the am image entry with the primary key or throws aNoSuchAMImageEntryExceptionif 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 foundNoSuchAMImageEntryException
-
fetchByPrimaryKey
Returns the am image entry with the primary key or returnsnullif it could not be found.- Parameters:
amImageEntryId- the primary key of the am image entry- Returns:
- the am image entry, or
nullif a am image entry with the primary key could not be found
-
findAll
Returns all the am image entries.- Returns:
- the am image entries
-
findAll
Returns a range of all the am image entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
start- the lower bound of the range of am image entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
start- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAMImageEntryModelImpl.- Parameters:
start- the lower bound of the range of am image entriesend- the upper bound of the range of am image entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-