|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JournalArticleImagePersistence
The persistence interface for the journal article image service.
Never modify or reference this interface directly. Always use JournalArticleImageUtil
to access the journal article image persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
JournalArticleImagePersistenceImpl
,
JournalArticleImageUtil
Method Summary | |
---|---|
void |
cacheResult(JournalArticleImage journalArticleImage)
Caches the journal article image in the entity cache if it is enabled. |
void |
cacheResult(List<JournalArticleImage> journalArticleImages)
Caches the journal article images in the entity cache if it is enabled. |
int |
countAll()
Counts all the journal article images. |
int |
countByG_A_V_E_E_L(long groupId,
String articleId,
double version,
String elInstanceId,
String elName,
String languageId)
Counts all the journal article images where groupId = ? and articleId = ? and version = ? and elInstanceId = ? and elName = ? and languageId = ?. |
int |
countByG_A_V(long groupId,
String articleId,
double version)
Counts all the journal article images where groupId = ? and articleId = ? and version = ?. |
int |
countByGroupId(long groupId)
Counts all the journal article images where groupId = ?. |
int |
countByTempImage(boolean tempImage)
Counts all the 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,
String articleId,
double version,
String elInstanceId,
String elName,
String languageId)
Finds 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,
String articleId,
double version,
String elInstanceId,
String elName,
String languageId,
boolean retrieveFromCache)
Finds 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 |
fetchByPrimaryKey(long articleImageId)
Finds the journal article image with the primary key or returns null if it could not be found. |
List<JournalArticleImage> |
findAll()
Finds all the journal article images. |
List<JournalArticleImage> |
findAll(int start,
int end)
Finds a range of all the journal article images. |
List<JournalArticleImage> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal article images. |
JournalArticleImage |
findByG_A_V_E_E_L(long groupId,
String articleId,
double version,
String elInstanceId,
String elName,
String languageId)
Finds 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,
String articleId,
double version,
OrderByComparator orderByComparator)
Finds the first journal article image in the ordered set where groupId = ? and articleId = ? and version = ?. |
JournalArticleImage |
findByG_A_V_Last(long groupId,
String articleId,
double version,
OrderByComparator orderByComparator)
Finds the last journal article image in the ordered set where groupId = ? and articleId = ? and version = ?. |
JournalArticleImage[] |
findByG_A_V_PrevAndNext(long articleImageId,
long groupId,
String articleId,
double version,
OrderByComparator orderByComparator)
Finds the journal article images before and after the current journal article image in the ordered set where groupId = ? and articleId = ? and version = ?. |
List<JournalArticleImage> |
findByG_A_V(long groupId,
String articleId,
double version)
Finds all the journal article images where groupId = ? and articleId = ? and version = ?. |
List<JournalArticleImage> |
findByG_A_V(long groupId,
String articleId,
double version,
int start,
int end)
Finds a range of all the journal article images where groupId = ? and articleId = ? and version = ?. |
List<JournalArticleImage> |
findByG_A_V(long groupId,
String articleId,
double version,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal article images where groupId = ? and articleId = ? and version = ?. |
JournalArticleImage |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first journal article image in the ordered set where groupId = ?. |
JournalArticleImage |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last journal article image in the ordered set where groupId = ?. |
JournalArticleImage[] |
findByGroupId_PrevAndNext(long articleImageId,
long groupId,
OrderByComparator orderByComparator)
Finds the journal article images before and after the current journal article image in the ordered set where groupId = ?. |
List<JournalArticleImage> |
findByGroupId(long groupId)
Finds all the journal article images where groupId = ?. |
List<JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the journal article images where groupId = ?. |
List<JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal article images where groupId = ?. |
JournalArticleImage |
findByPrimaryKey(long articleImageId)
Finds the journal article image with the primary key or throws a NoSuchArticleImageException if it could not be found. |
JournalArticleImage |
findByTempImage_First(boolean tempImage,
OrderByComparator orderByComparator)
Finds the first journal article image in the ordered set where tempImage = ?. |
JournalArticleImage |
findByTempImage_Last(boolean tempImage,
OrderByComparator orderByComparator)
Finds the last journal article image in the ordered set where tempImage = ?. |
JournalArticleImage[] |
findByTempImage_PrevAndNext(long articleImageId,
boolean tempImage,
OrderByComparator orderByComparator)
Finds the journal article images before and after the current journal article image in the ordered set where tempImage = ?. |
List<JournalArticleImage> |
findByTempImage(boolean tempImage)
Finds all the journal article images where tempImage = ?. |
List<JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end)
Finds a range of all the journal article images where tempImage = ?. |
List<JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end,
OrderByComparator orderByComparator)
Finds 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. |
void |
removeByG_A_V_E_E_L(long groupId,
String articleId,
double version,
String elInstanceId,
String elName,
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,
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,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(JournalArticleImage journalArticleImage)
journalArticleImage
- the journal article image to cachevoid cacheResult(List<JournalArticleImage> journalArticleImages)
journalArticleImages
- the journal article images to cacheJournalArticleImage create(long articleImageId)
articleImageId
- the primary key for the new journal article image
JournalArticleImage remove(long articleImageId) throws SystemException, NoSuchArticleImageException
articleImageId
- the primary key of the journal article image to remove
NoSuchArticleImageException
- if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredJournalArticleImage updateImpl(JournalArticleImage journalArticleImage, boolean merge) throws SystemException
SystemException
JournalArticleImage findByPrimaryKey(long articleImageId) throws SystemException, NoSuchArticleImageException
NoSuchArticleImageException
if it could not be found.
articleImageId
- the primary key of the journal article image to find
NoSuchArticleImageException
- if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredJournalArticleImage fetchByPrimaryKey(long articleImageId) throws SystemException
null
if it could not be found.
articleImageId
- the primary key of the journal article image to find
null
if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredList<JournalArticleImage> findByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredList<JournalArticleImage> findByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group id to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)
SystemException
- if a system exception occurredList<JournalArticleImage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group id to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredJournalArticleImage findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
articleImageId
- the primary key of the current journal article imagegroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredList<JournalArticleImage> findByTempImage(boolean tempImage) throws SystemException
tempImage
- the temp image to search with
SystemException
- if a system exception occurredList<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end) throws SystemException
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.
tempImage
- the temp image to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)
SystemException
- if a system exception occurredList<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
tempImage
- the temp image to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredJournalArticleImage findByTempImage_First(boolean tempImage, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
tempImage
- the temp image to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage findByTempImage_Last(boolean tempImage, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
tempImage
- the temp image to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId, boolean tempImage, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
articleImageId
- the primary key of the current journal article imagetempImage
- the temp image to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredList<JournalArticleImage> findByG_A_V(long groupId, String articleId, double version) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredList<JournalArticleImage> findByG_A_V(long groupId, String articleId, double version, int start, int end) throws SystemException
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.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)
SystemException
- if a system exception occurredList<JournalArticleImage> findByG_A_V(long groupId, String articleId, double version, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withstart
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredJournalArticleImage findByG_A_V_First(long groupId, String articleId, double version, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage findByG_A_V_Last(long groupId, String articleId, double version, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId, long groupId, String articleId, double version, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleImageException
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.
articleImageId
- the primary key of the current journal article imagegroupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withorderByComparator
- the comparator to order the set by
NoSuchArticleImageException
- if a journal article image with the primary key could not be found
SystemException
- if a system exception occurredJournalArticleImage findByG_A_V_E_E_L(long groupId, String articleId, double version, String elInstanceId, String elName, String languageId) throws SystemException, NoSuchArticleImageException
NoSuchArticleImageException
if it could not be found.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withelInstanceId
- the el instance id to search withelName
- the el name to search withlanguageId
- the language id to search with
NoSuchArticleImageException
- if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage fetchByG_A_V_E_E_L(long groupId, String articleId, double version, String elInstanceId, String elName, String languageId) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withelInstanceId
- the el instance id to search withelName
- the el name to search withlanguageId
- the language id to search with
null
if a matching journal article image could not be found
SystemException
- if a system exception occurredJournalArticleImage fetchByG_A_V_E_E_L(long groupId, String articleId, double version, String elInstanceId, String elName, String languageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withelInstanceId
- the el instance id to search withelName
- the el name to search withlanguageId
- the language id to search with
null
if a matching journal article image could not be found
SystemException
- if a system exception occurredList<JournalArticleImage> findAll() throws SystemException
SystemException
- if a system exception occurredList<JournalArticleImage> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)
SystemException
- if a system exception occurredList<JournalArticleImage> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of journal article images to returnend
- the upper bound of the range of journal article images to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredvoid removeByTempImage(boolean tempImage) throws SystemException
tempImage
- the temp image to search with
SystemException
- if a system exception occurredvoid removeByG_A_V(long groupId, String articleId, double version) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredvoid removeByG_A_V_E_E_L(long groupId, String articleId, double version, String elInstanceId, String elName, String languageId) throws SystemException, NoSuchArticleImageException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withelInstanceId
- the el instance id to search withelName
- the el name to search withlanguageId
- the language id to search with
SystemException
- if a system exception occurred
NoSuchArticleImageException
void removeAll() throws SystemException
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredint countByTempImage(boolean tempImage) throws SystemException
tempImage
- the temp image to search with
SystemException
- if a system exception occurredint countByG_A_V(long groupId, String articleId, double version) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredint countByG_A_V_E_E_L(long groupId, String articleId, double version, String elInstanceId, String elName, String languageId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search withelInstanceId
- the el instance id to search withelName
- the el name to search withlanguageId
- the language id to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |