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) static voidcacheResult(List<AMImageEntry> amImageEntries) static voidstatic voidclearCache(AMImageEntry amImageEntry) 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_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 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 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 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 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_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 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 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 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 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 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 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_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 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 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
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<AMImageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<AMImageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static AMImageEntry update(AMImageEntry amImageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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_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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.adaptive.media.image.model.impl.AMImageEntryModelImpl.- 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
-
getPersistence
-
setPersistence
-