@ProviderType public interface JournalArticleImagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<JournalArticleImage>
Caching information and settings can be found in portal.properties
com.liferay.journal.service.persistence.impl.JournalArticleImagePersistenceImpl
,
JournalArticleImageUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(JournalArticleImage journalArticleImage)
Caches the journal article image in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<JournalArticleImage> journalArticleImages)
Caches the journal article images in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of journal article images.
|
int |
countByG_A_V_E_E_L(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId)
Returns the number of journal article images where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ?.
|
int |
countByG_A_V(long groupId,
java.lang.String articleId,
double version)
Returns the number of journal article images where groupId = ? and articleId = ? and version = ?.
|
int |
countByGroupId(long groupId)
Returns the number of journal article images where groupId = ?.
|
int |
countByTempImage(boolean tempImage)
Returns the number of journal article images where tempImage = ?.
|
JournalArticleImage |
create(long articleImageId)
Creates a new journal article image with the primary key.
|
JournalArticleImage |
fetchByG_A_V_E_E_L(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId)
Returns the journal article image where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ? or returns
null if it could not be found. |
JournalArticleImage |
fetchByG_A_V_E_E_L(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId,
boolean retrieveFromCache)
Returns the journal article image where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
JournalArticleImage |
fetchByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
JournalArticleImage |
fetchByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
JournalArticleImage |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where groupId = ?.
|
JournalArticleImage |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where groupId = ?.
|
JournalArticleImage |
fetchByPrimaryKey(long articleImageId)
Returns the journal article image with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,JournalArticleImage> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
JournalArticleImage |
fetchByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where tempImage = ?.
|
JournalArticleImage |
fetchByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where tempImage = ?.
|
java.util.List<JournalArticleImage> |
findAll()
Returns all the journal article images.
|
java.util.List<JournalArticleImage> |
findAll(int start,
int end)
Returns a range of all the journal article images.
|
java.util.List<JournalArticleImage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns an ordered range of all the journal article images.
|
java.util.List<JournalArticleImage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the journal article images.
|
JournalArticleImage |
findByG_A_V_E_E_L(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId)
Returns the journal article image where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ? or throws a
NoSuchArticleImageException if it could not be found. |
JournalArticleImage |
findByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
JournalArticleImage |
findByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
JournalArticleImage[] |
findByG_A_V_PrevAndNext(long articleImageId,
long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the journal article images before and after the current journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
java.util.List<JournalArticleImage> |
findByG_A_V(long groupId,
java.lang.String articleId,
double version)
Returns all the journal article images where groupId = ? and articleId = ? and version = ?.
|
java.util.List<JournalArticleImage> |
findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end)
Returns a range of all the journal article images where groupId = ? and articleId = ? and version = ?.
|
java.util.List<JournalArticleImage> |
findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns an ordered range of all the journal article images where groupId = ? and articleId = ? and version = ?.
|
java.util.List<JournalArticleImage> |
findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the journal article images where groupId = ? and articleId = ? and version = ?.
|
JournalArticleImage |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where groupId = ?.
|
JournalArticleImage |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where groupId = ?.
|
JournalArticleImage[] |
findByGroupId_PrevAndNext(long articleImageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the journal article images before and after the current journal article image in the ordered set where groupId = ?.
|
java.util.List<JournalArticleImage> |
findByGroupId(long groupId)
Returns all the journal article images where groupId = ?.
|
java.util.List<JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the journal article images where groupId = ?.
|
java.util.List<JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns an ordered range of all the journal article images where groupId = ?.
|
java.util.List<JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the journal article images where groupId = ?.
|
JournalArticleImage |
findByPrimaryKey(long articleImageId)
Returns the journal article image with the primary key or throws a
NoSuchArticleImageException if it could not be found. |
JournalArticleImage |
findByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the first journal article image in the ordered set where tempImage = ?.
|
JournalArticleImage |
findByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the last journal article image in the ordered set where tempImage = ?.
|
JournalArticleImage[] |
findByTempImage_PrevAndNext(long articleImageId,
boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns the journal article images before and after the current journal article image in the ordered set where tempImage = ?.
|
java.util.List<JournalArticleImage> |
findByTempImage(boolean tempImage)
Returns all the journal article images where tempImage = ?.
|
java.util.List<JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end)
Returns a range of all the journal article images where tempImage = ?.
|
java.util.List<JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
Returns an ordered range of all the journal article images where tempImage = ?.
|
java.util.List<JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the journal article images where tempImage = ?.
|
JournalArticleImage |
remove(long articleImageId)
Removes the journal article image with the primary key from the database.
|
void |
removeAll()
Removes all the journal article images from the database.
|
JournalArticleImage |
removeByG_A_V_E_E_L(long groupId,
java.lang.String articleId,
double version,
java.lang.String elInstanceId,
java.lang.String elName,
java.lang.String languageId)
Removes the journal article image where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ? from the database.
|
void |
removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
Removes all the journal article images where groupId = ? and articleId = ? and version = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the journal article images where groupId = ? from the database.
|
void |
removeByTempImage(boolean tempImage)
Removes all the journal article images where tempImage = ? from the database.
|
JournalArticleImage |
updateImpl(JournalArticleImage journalArticleImage) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<JournalArticleImage> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheJournalArticleImage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
articleImageId
- the primary key of the current journal article imagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a journal article image with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<JournalArticleImage> findByTempImage(boolean tempImage)
tempImage
- the temp imagejava.util.List<JournalArticleImage> findByTempImage(boolean tempImage, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tempImage
- the temp imagestart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tempImage
- the temp imagestart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tempImage
- the temp imagestart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheJournalArticleImage findByTempImage_First(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
tempImage
- the temp imageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByTempImage_First(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
tempImage
- the temp imageorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage findByTempImage_Last(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
tempImage
- the temp imageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByTempImage_Last(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
tempImage
- the temp imageorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId, boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
articleImageId
- the primary key of the current journal article imagetempImage
- the temp imageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a journal article image with the primary key could not be foundvoid removeByTempImage(boolean tempImage)
tempImage
- the temp imageint countByTempImage(boolean tempImage)
tempImage
- the temp imagejava.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version)
groupId
- the group IDarticleId
- the article IDversion
- the versionjava.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDarticleId
- the article IDversion
- the versionstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDarticleId
- the article IDversion
- the versionstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDarticleId
- the article IDversion
- the versionstart
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheJournalArticleImage findByG_A_V_First(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
groupId
- the group IDarticleId
- the article IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByG_A_V_First(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
groupId
- the group IDarticleId
- the article IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage findByG_A_V_Last(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
groupId
- the group IDarticleId
- the article IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByG_A_V_Last(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator)
groupId
- the group IDarticleId
- the article IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article image could not be foundJournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId, long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator) throws NoSuchArticleImageException
articleImageId
- the primary key of the current journal article imagegroupId
- the group IDarticleId
- the article IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleImageException
- if a journal article image with the primary key could not be foundvoid removeByG_A_V(long groupId, java.lang.String articleId, double version)
groupId
- the group IDarticleId
- the article IDversion
- the versionint countByG_A_V(long groupId, java.lang.String articleId, double version)
groupId
- the group IDarticleId
- the article IDversion
- the versionJournalArticleImage findByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId) throws NoSuchArticleImageException
NoSuchArticleImageException
if it could not be found.groupId
- the group IDarticleId
- the article IDversion
- the versionelInstanceId
- the el instance IDelName
- the el namelanguageId
- the language IDNoSuchArticleImageException
- if a matching journal article image could not be foundJournalArticleImage fetchByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDarticleId
- the article IDversion
- the versionelInstanceId
- the el instance IDelName
- the el namelanguageId
- the language IDnull
if a matching journal article image could not be foundJournalArticleImage fetchByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDarticleId
- the article IDversion
- the versionelInstanceId
- the el instance IDelName
- the el namelanguageId
- the language IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching journal article image could not be foundJournalArticleImage removeByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId) throws NoSuchArticleImageException
groupId
- the group IDarticleId
- the article IDversion
- the versionelInstanceId
- the el instance IDelName
- the el namelanguageId
- the language IDNoSuchArticleImageException
int countByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
groupId
- the group IDarticleId
- the article IDversion
- the versionelInstanceId
- the el instance IDelName
- the el namelanguageId
- the language IDvoid cacheResult(JournalArticleImage journalArticleImage)
journalArticleImage
- the journal article imagevoid cacheResult(java.util.List<JournalArticleImage> journalArticleImages)
journalArticleImages
- the journal article imagesJournalArticleImage create(long articleImageId)
articleImageId
- the primary key for the new journal article imageJournalArticleImage remove(long articleImageId) throws NoSuchArticleImageException
articleImageId
- the primary key of the journal article imageNoSuchArticleImageException
- if a journal article image with the primary key could not be foundJournalArticleImage updateImpl(JournalArticleImage journalArticleImage)
JournalArticleImage findByPrimaryKey(long articleImageId) throws NoSuchArticleImageException
NoSuchArticleImageException
if it could not be found.articleImageId
- the primary key of the journal article imageNoSuchArticleImageException
- if a journal article image with the primary key could not be foundJournalArticleImage fetchByPrimaryKey(long articleImageId)
null
if it could not be found.articleImageId
- the primary key of the journal article imagenull
if a journal article image with the primary key could not be foundjava.util.Map<java.io.Serializable,JournalArticleImage> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<JournalArticleImage>
java.util.List<JournalArticleImage> findAll()
java.util.List<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)java.util.List<JournalArticleImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleImage> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from JournalArticleImageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of journal article imagesend
- the upper bound of the range of journal article images (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()