public class AMImageEntryUtil
extends java.lang.Object
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
AMImageEntryPersistence
Constructor and Description |
---|
AMImageEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AMImageEntry amImageEntry)
Caches the am image entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AMImageEntry> amImageEntries)
Caches the am image entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AMImageEntry amImageEntry) |
static int |
countAll()
Returns the number of am image entries.
|
static int |
countByC_C(long companyId,
java.lang.String configurationUuid)
Returns the number of am image entries where companyId = ? and configurationUuid = ?.
|
static int |
countByC_F(java.lang.String configurationUuid,
long fileVersionId)
Returns the number of am image entries where configurationUuid = ? and fileVersionId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of am image entries where companyId = ?.
|
static int |
countByConfigurationUuid(java.lang.String configurationUuid)
Returns the number of am image entries where configurationUuid = ?.
|
static int |
countByFileVersionId(long fileVersionId)
Returns the number of am image entries where fileVersionId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of am image entries where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of am image entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of am image entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of am image entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AMImageEntry |
create(long amImageEntryId)
Creates a new am image entry with the primary key.
|
static AMImageEntry |
fetchByC_C_First(long companyId,
java.lang.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 AMImageEntry |
fetchByC_C_Last(long companyId,
java.lang.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 |
fetchByC_F(java.lang.String configurationUuid,
long fileVersionId)
Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returns
null if it could not be found. |
static AMImageEntry |
fetchByC_F(java.lang.String configurationUuid,
long fileVersionId,
boolean useFinderCache)
Returns the am image entry where configurationUuid = ? and fileVersionId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
static AMImageEntry |
fetchByConfigurationUuid_First(java.lang.String configurationUuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where configurationUuid = ?.
|
static AMImageEntry |
fetchByConfigurationUuid_Last(java.lang.String configurationUuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the last am image entry in the ordered set where configurationUuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static AMImageEntry |
fetchByPrimaryKey(long amImageEntryId)
Returns the am image entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AMImageEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static AMImageEntry |
fetchByUuid_C_First(java.lang.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 AMImageEntry |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where uuid = ?.
|
static AMImageEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the am image entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static AMImageEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the am image entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AMImageEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the last am image entry in the ordered set where uuid = ?.
|
static java.util.List<AMImageEntry> |
findAll()
Returns all the am image entries.
|
static java.util.List<AMImageEntry> |
findAll(int start,
int end)
Returns a range of all the am image entries.
|
static java.util.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 java.util.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 AMImageEntry |
findByC_C_First(long companyId,
java.lang.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 AMImageEntry |
findByC_C_Last(long companyId,
java.lang.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,
java.lang.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 java.util.List<AMImageEntry> |
findByC_C(long companyId,
java.lang.String configurationUuid)
Returns all the am image entries where companyId = ? and configurationUuid = ?.
|
static java.util.List<AMImageEntry> |
findByC_C(long companyId,
java.lang.String configurationUuid,
int start,
int end)
Returns a range of all the am image entries where companyId = ? and configurationUuid = ?.
|
static java.util.List<AMImageEntry> |
findByC_C(long companyId,
java.lang.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 java.util.List<AMImageEntry> |
findByC_C(long companyId,
java.lang.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 AMImageEntry |
findByC_F(java.lang.String configurationUuid,
long fileVersionId)
Returns the am image entry where configurationUuid = ? and fileVersionId = ? or throws a
NoSuchAMImageEntryException if it could not be found. |
static AMImageEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where companyId = ?.
|
static AMImageEntry |
findByCompanyId_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 java.util.List<AMImageEntry> |
findByCompanyId(long companyId)
Returns all the am image entries where companyId = ?.
|
static java.util.List<AMImageEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the am image entries where companyId = ?.
|
static java.util.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 java.util.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 AMImageEntry |
findByConfigurationUuid_First(java.lang.String configurationUuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where configurationUuid = ?.
|
static AMImageEntry |
findByConfigurationUuid_Last(java.lang.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,
java.lang.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 java.util.List<AMImageEntry> |
findByConfigurationUuid(java.lang.String configurationUuid)
Returns all the am image entries where configurationUuid = ?.
|
static java.util.List<AMImageEntry> |
findByConfigurationUuid(java.lang.String configurationUuid,
int start,
int end)
Returns a range of all the am image entries where configurationUuid = ?.
|
static java.util.List<AMImageEntry> |
findByConfigurationUuid(java.lang.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 java.util.List<AMImageEntry> |
findByConfigurationUuid(java.lang.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 AMImageEntry |
findByFileVersionId_First(long fileVersionId,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where fileVersionId = ?.
|
static AMImageEntry |
findByFileVersionId_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 java.util.List<AMImageEntry> |
findByFileVersionId(long fileVersionId)
Returns all the am image entries where fileVersionId = ?.
|
static java.util.List<AMImageEntry> |
findByFileVersionId(long fileVersionId,
int start,
int end)
Returns a range of all the am image entries where fileVersionId = ?.
|
static java.util.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 java.util.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 AMImageEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where groupId = ?.
|
static AMImageEntry |
findByGroupId_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 java.util.List<AMImageEntry> |
findByGroupId(long groupId)
Returns all the am image entries where groupId = ?.
|
static java.util.List<AMImageEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the am image entries where groupId = ?.
|
static java.util.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 java.util.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 AMImageEntry |
findByPrimaryKey(long amImageEntryId)
Returns the am image entry with the primary key or throws a
NoSuchAMImageEntryException if it could not be found. |
static AMImageEntry |
findByUuid_C_First(java.lang.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 AMImageEntry |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<AMImageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the am image entries where uuid = ? and companyId = ?.
|
static java.util.List<AMImageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the am image entries where uuid = ? and companyId = ?.
|
static java.util.List<AMImageEntry> |
findByUuid_C(java.lang.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 java.util.List<AMImageEntry> |
findByUuid_C(java.lang.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 AMImageEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Returns the first am image entry in the ordered set where uuid = ?.
|
static AMImageEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the am image entry where uuid = ? and groupId = ? or throws a
NoSuchAMImageEntryException if it could not be found. |
static AMImageEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<AMImageEntry> |
findByUuid(java.lang.String uuid)
Returns all the am image entries where uuid = ?.
|
static java.util.List<AMImageEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the am image entries where uuid = ?.
|
static java.util.List<AMImageEntry> |
findByUuid(java.lang.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 java.util.List<AMImageEntry> |
findByUuid(java.lang.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 java.util.List<AMImageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AMImageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AMImageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) |
static AMImageEntryPersistence |
getPersistence() |
static AMImageEntry |
remove(long amImageEntryId)
Removes the am image entry with the primary key from the database.
|
static void |
removeAll()
Removes all the am image entries from the database.
|
static void |
removeByC_C(long companyId,
java.lang.String configurationUuid)
Removes all the am image entries where companyId = ? and configurationUuid = ? from the database.
|
static AMImageEntry |
removeByC_F(java.lang.String configurationUuid,
long fileVersionId)
Removes the am image entry where configurationUuid = ? and fileVersionId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the am image entries where companyId = ? from the database.
|
static void |
removeByConfigurationUuid(java.lang.String configurationUuid)
Removes all the am image entries where configurationUuid = ? from the database.
|
static void |
removeByFileVersionId(long fileVersionId)
Removes all the am image entries where fileVersionId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the am image entries where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the am image entries where uuid = ? and companyId = ? from the database.
|
static AMImageEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the am image entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the am image entries where uuid = ? from the database.
|
static AMImageEntry |
update(AMImageEntry amImageEntry) |
static AMImageEntry |
update(AMImageEntry amImageEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AMImageEntry |
updateImpl(AMImageEntry amImageEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AMImageEntry amImageEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AMImageEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AMImageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AMImageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AMImageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AMImageEntry update(AMImageEntry amImageEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AMImageEntry update(AMImageEntry amImageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AMImageEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AMImageEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByUuid_PrevAndNext(long amImageEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static AMImageEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAMImageEntryException
NoSuchAMImageEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching am image entry could not be foundpublic static AMImageEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching am image entry could not be foundpublic static AMImageEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchAMImageEntryException
uuid
- the uuidgroupId
- the group IDNoSuchAMImageEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<AMImageEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AMImageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByUuid_C_PrevAndNext(long amImageEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AMImageEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AMImageEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByGroupId_PrevAndNext(long amImageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AMImageEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<AMImageEntry> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByCompanyId_PrevAndNext(long amImageEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<AMImageEntry> findByConfigurationUuid(java.lang.String configurationUuid)
configurationUuid
- the configuration uuidpublic static java.util.List<AMImageEntry> findByConfigurationUuid(java.lang.String configurationUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByConfigurationUuid(java.lang.String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByConfigurationUuid(java.lang.String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByConfigurationUuid_First(java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
configurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByConfigurationUuid_First(java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
configurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByConfigurationUuid_Last(java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
configurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByConfigurationUuid_Last(java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
configurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByConfigurationUuid_PrevAndNext(long amImageEntryId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entryconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByConfigurationUuid(java.lang.String configurationUuid)
configurationUuid
- the configuration uuidpublic static int countByConfigurationUuid(java.lang.String configurationUuid)
configurationUuid
- the configuration uuidpublic static java.util.List<AMImageEntry> findByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static java.util.List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByFileVersionId_PrevAndNext(long amImageEntryId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entryfileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static int countByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static java.util.List<AMImageEntry> findByC_C(long companyId, java.lang.String configurationUuid)
companyId
- the company IDconfigurationUuid
- the configuration uuidpublic static java.util.List<AMImageEntry> findByC_C(long companyId, java.lang.String configurationUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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)public static java.util.List<AMImageEntry> findByC_C(long companyId, java.lang.String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findByC_C(long companyId, java.lang.String configurationUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static AMImageEntry findByC_C_First(long companyId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
companyId
- the company IDconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByC_C_First(long companyId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
companyId
- the company IDconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry findByC_C_Last(long companyId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
companyId
- the company IDconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByC_C_Last(long companyId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
companyId
- the company IDconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching am image entry could not be foundpublic static AMImageEntry[] findByC_C_PrevAndNext(long amImageEntryId, long companyId, java.lang.String configurationUuid, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the current am image entrycompanyId
- the company IDconfigurationUuid
- the configuration uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static void removeByC_C(long companyId, java.lang.String configurationUuid)
companyId
- the company IDconfigurationUuid
- the configuration uuidpublic static int countByC_C(long companyId, java.lang.String configurationUuid)
companyId
- the company IDconfigurationUuid
- the configuration uuidpublic static AMImageEntry findByC_F(java.lang.String configurationUuid, long fileVersionId) throws NoSuchAMImageEntryException
NoSuchAMImageEntryException
if it could not be found.configurationUuid
- the configuration uuidfileVersionId
- the file version IDNoSuchAMImageEntryException
- if a matching am image entry could not be foundpublic static AMImageEntry fetchByC_F(java.lang.String configurationUuid, long fileVersionId)
null
if it could not be found. Uses the finder cache.configurationUuid
- the configuration uuidfileVersionId
- the file version IDnull
if a matching am image entry could not be foundpublic static AMImageEntry fetchByC_F(java.lang.String configurationUuid, long fileVersionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.configurationUuid
- the configuration uuidfileVersionId
- the file version IDuseFinderCache
- whether to use the finder cachenull
if a matching am image entry could not be foundpublic static AMImageEntry removeByC_F(java.lang.String configurationUuid, long fileVersionId) throws NoSuchAMImageEntryException
configurationUuid
- the configuration uuidfileVersionId
- the file version IDNoSuchAMImageEntryException
public static int countByC_F(java.lang.String configurationUuid, long fileVersionId)
configurationUuid
- the configuration uuidfileVersionId
- the file version IDpublic static void cacheResult(AMImageEntry amImageEntry)
amImageEntry
- the am image entrypublic static void cacheResult(java.util.List<AMImageEntry> amImageEntries)
amImageEntries
- the am image entriespublic static AMImageEntry create(long amImageEntryId)
amImageEntryId
- the primary key for the new am image entrypublic static AMImageEntry remove(long amImageEntryId) throws NoSuchAMImageEntryException
amImageEntryId
- the primary key of the am image entryNoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static AMImageEntry updateImpl(AMImageEntry amImageEntry)
public static AMImageEntry findByPrimaryKey(long amImageEntryId) throws NoSuchAMImageEntryException
NoSuchAMImageEntryException
if it could not be found.amImageEntryId
- the primary key of the am image entryNoSuchAMImageEntryException
- if a am image entry with the primary key could not be foundpublic static AMImageEntry fetchByPrimaryKey(long amImageEntryId)
null
if it could not be found.amImageEntryId
- the primary key of the am image entrynull
if a am image entry with the primary key could not be foundpublic static java.util.List<AMImageEntry> findAll()
public static java.util.List<AMImageEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
start
- the lower bound of the range of am image entriesend
- the upper bound of the range of am image entries (not inclusive)public static java.util.List<AMImageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)public static java.util.List<AMImageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AMImageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AMImageEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AMImageEntryPersistence getPersistence()