public class JournalArticleImagePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>
implements com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence
Caching information and settings can be found in portal.properties
JournalArticleImagePersistence,
JournalArticleImageUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_A_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_A_V_E_E_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TEMPIMAGE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_A_V_E_E_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TEMPIMAGE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TEMPIMAGE |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
JournalArticleImagePersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the journal article image persistence.
|
void |
cacheResult(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
Caches the journal article image in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> journalArticleImages)
Caches the journal article images in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) |
void |
clearCache()
Clears the cache for all journal article images.
|
void |
clearCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
Clears the cache for the journal article image.
|
void |
clearCache(java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> journalArticleImages) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) |
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 = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
create(long articleImageId)
Creates a new journal article image with the primary key.
|
void |
destroy() |
com.liferay.portlet.journal.model.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. |
com.liferay.portlet.journal.model.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. |
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where groupId = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where groupId = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByPrimaryKey(long articleImageId)
Returns the journal article image with the primary key or returns
null if it could not be found. |
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the journal article image with the primary key or returns
null if it could not be found. |
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where tempImage = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
fetchByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where tempImage = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findAll()
Returns all the journal article images.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findAll(int start,
int end)
Returns a range of all the journal article images.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal article images.
|
com.liferay.portlet.journal.model.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. |
com.liferay.portlet.journal.model.JournalArticleImage |
findByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
findByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where groupId = ? and articleId = ? and version = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage[] |
findByG_A_V_PrevAndNext(long articleImageId,
long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator 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<com.liferay.portlet.journal.model.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<com.liferay.portlet.journal.model.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<com.liferay.portlet.journal.model.JournalArticleImage> |
findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal article images where groupId = ? and articleId = ? and version = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where groupId = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where groupId = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage[] |
findByGroupId_PrevAndNext(long articleImageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal article images before and after the current journal article image in the ordered set where groupId = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByGroupId(long groupId)
Returns all the journal article images where groupId = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the journal article images where groupId = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal article images where groupId = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
findByPrimaryKey(long articleImageId)
Returns the journal article image with the primary key or throws a
NoSuchArticleImageException if it could not be found. |
com.liferay.portlet.journal.model.JournalArticleImage |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the journal article image with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.journal.model.JournalArticleImage |
findByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal article image in the ordered set where tempImage = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage |
findByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal article image in the ordered set where tempImage = ?.
|
com.liferay.portlet.journal.model.JournalArticleImage[] |
findByTempImage_PrevAndNext(long articleImageId,
boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal article images before and after the current journal article image in the ordered set where tempImage = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByTempImage(boolean tempImage)
Returns all the journal article images where tempImage = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end)
Returns a range of all the journal article images where tempImage = ?.
|
java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> |
findByTempImage(boolean tempImage,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal article images where tempImage = ?.
|
protected com.liferay.portlet.journal.model.JournalArticleImage |
getByG_A_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.journal.model.JournalArticleImage |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.journal.model.JournalArticleImage |
getByTempImage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.journal.model.JournalArticleImage |
remove(long articleImageId)
Removes the journal article image with the primary key from the database.
|
com.liferay.portlet.journal.model.JournalArticleImage |
remove(java.io.Serializable primaryKey)
Removes the journal article image with the primary key from the database.
|
void |
removeAll()
Removes all the journal article images from the database.
|
com.liferay.portlet.journal.model.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.
|
protected com.liferay.portlet.journal.model.JournalArticleImage |
removeImpl(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) |
protected com.liferay.portlet.journal.model.JournalArticleImage |
toUnwrappedModel(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) |
com.liferay.portlet.journal.model.JournalArticleImage |
updateImpl(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TEMPIMAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TEMPIMAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TEMPIMAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_A_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_A_V_E_E_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_A_V_E_E_L
public java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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. 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.
findByGroupId in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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. 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.
findByGroupId in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key of the current journal article imagegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.journal.model.JournalArticleImage getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(boolean tempImage)
throws com.liferay.portal.kernel.exception.SystemException
findByTempImage in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imagecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(boolean tempImage,
int start,
int end)
throws com.liferay.portal.kernel.exception.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. 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.
findByTempImage in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByTempImage(boolean tempImage,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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. 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.
findByTempImage in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByTempImage_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imageorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByTempImage_First(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByTempImage_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imageorderByComparator - the comparator to order the set by (optionally null)null if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByTempImage_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imageorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByTempImage_Last(boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByTempImage_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imageorderByComparator - the comparator to order the set by (optionally null)null if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId,
boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByTempImage_PrevAndNext in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key of the current journal article imagetempImage - the temp imageorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.journal.model.JournalArticleImage getByTempImage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
boolean tempImage,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByTempImage(boolean tempImage)
throws com.liferay.portal.kernel.exception.SystemException
removeByTempImage in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imagecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByTempImage(boolean tempImage)
throws com.liferay.portal.kernel.exception.SystemException
countByTempImage in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencetempImage - the temp imagecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.kernel.exception.SystemException
findByG_A_V in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end)
throws com.liferay.portal.kernel.exception.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. 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.
findByG_A_V in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findByG_A_V(long groupId,
java.lang.String articleId,
double version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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. 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.
findByG_A_V in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_V_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByG_A_V_First(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_A_V_First in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_V_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByG_A_V_Last(long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_A_V_Last in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId,
long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
findByG_A_V_PrevAndNext in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - 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)com.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.journal.model.JournalArticleImage getByG_A_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
long groupId,
java.lang.String articleId,
double version,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_A_V in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.kernel.exception.SystemException
countByG_A_V in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versioncom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.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)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
NoSuchArticleImageException if it could not be found.findByG_A_V_E_E_L in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionelInstanceId - the el instance IDelName - the el namelanguageId - the language IDcom.liferay.portlet.journal.NoSuchArticleImageException - if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.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)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByG_A_V_E_E_L in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.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)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByG_A_V_E_E_L in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionelInstanceId - the el instance IDelName - the el namelanguageId - the language IDretrieveFromCache - whether to use the finder cachenull if a matching journal article image could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.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)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
removeByG_A_V_E_E_L in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionelInstanceId - the el instance IDelName - the el namelanguageId - the language IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.journal.NoSuchArticleImageExceptionpublic 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)
throws com.liferay.portal.kernel.exception.SystemException
countByG_A_V_E_E_L in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencegroupId - the group IDarticleId - the article IDversion - the versionelInstanceId - the el instance IDelName - the el namelanguageId - the language IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
cacheResult in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencejournalArticleImage - the journal article imagepublic void cacheResult(java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> journalArticleImages)
cacheResult in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencejournalArticleImages - the journal article imagespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>public void clearCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>public void clearCache(java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> journalArticleImages)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>protected void cacheUniqueFindersCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
protected void clearUniqueFindersCache(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
public com.liferay.portlet.journal.model.JournalArticleImage create(long articleImageId)
create in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key for the new journal article imagepublic com.liferay.portlet.journal.model.JournalArticleImage remove(long articleImageId)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key of the journal article imagecom.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>primaryKey - the primary key of the journal article imagecom.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.journal.model.JournalArticleImage removeImpl(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.journal.model.JournalArticleImage updateImpl(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.journal.model.JournalArticleImage toUnwrappedModel(com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
public com.liferay.portlet.journal.model.JournalArticleImage findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>primaryKey - the primary key of the journal article imagecom.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage findByPrimaryKey(long articleImageId)
throws com.liferay.portlet.journal.NoSuchArticleImageException,
com.liferay.portal.kernel.exception.SystemException
NoSuchArticleImageException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key of the journal article imagecom.liferay.portlet.journal.NoSuchArticleImageException - if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalArticleImage>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalArticleImage>primaryKey - the primary key of the journal article imagenull if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.journal.model.JournalArticleImage fetchByPrimaryKey(long articleImageId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencearticleImageId - the primary key of the journal article imagenull if a journal article image with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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. 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.
findAll in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencestart - the lower bound of the range of journal article imagesend - the upper bound of the range of journal article images (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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. 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.
findAll in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()