@ProviderType public interface JournalArticleLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<JournalArticleLocalization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalArticleLocalization>
Caching information and settings can be found in portal.properties
JournalArticleLocalizationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(JournalArticleLocalization journalArticleLocalization)
Caches the journal article localization in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<JournalArticleLocalization> journalArticleLocalizations)
Caches the journal article localizations in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of journal article localizations.
|
int |
countByA_L(long articlePK,
java.lang.String languageId)
Returns the number of journal article localizations where articlePK = ? and languageId = ?.
|
int |
countByArticlePK(long articlePK)
Returns the number of journal article localizations where articlePK = ?.
|
int |
countByC_A_L(long companyId,
long articlePK,
java.lang.String languageId)
Returns the number of journal article localizations where companyId = ? and articlePK = ? and languageId = ?.
|
int |
countByC_A_T_L(long companyId,
long articlePK,
java.lang.String title,
java.lang.String languageId)
Returns the number of journal article localizations where companyId = ? and articlePK = ? and title = ? and languageId = ?.
|
JournalArticleLocalization |
create(long articleLocalizationId)
Creates a new journal article localization with the primary key.
|
JournalArticleLocalization |
fetchByA_L(long articlePK,
java.lang.String languageId)
Returns the journal article localization where articlePK = ? and languageId = ? or returns
null if it could not be found. |
JournalArticleLocalization |
fetchByA_L(long articlePK,
java.lang.String languageId,
boolean useFinderCache)
Returns the journal article localization where articlePK = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
JournalArticleLocalization |
fetchByArticlePK_First(long articlePK,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns the first journal article localization in the ordered set where articlePK = ?.
|
JournalArticleLocalization |
fetchByArticlePK_Last(long articlePK,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns the last journal article localization in the ordered set where articlePK = ?.
|
JournalArticleLocalization |
fetchByC_A_L(long companyId,
long articlePK,
java.lang.String languageId)
Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returns
null if it could not be found. |
JournalArticleLocalization |
fetchByC_A_L(long companyId,
long articlePK,
java.lang.String languageId,
boolean useFinderCache)
Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
JournalArticleLocalization |
fetchByC_A_T_L(long companyId,
long articlePK,
java.lang.String title,
java.lang.String languageId)
Returns the journal article localization where companyId = ? and articlePK = ? and title = ? and languageId = ? or returns
null if it could not be found. |
JournalArticleLocalization |
fetchByC_A_T_L(long companyId,
long articlePK,
java.lang.String title,
java.lang.String languageId,
boolean useFinderCache)
Returns the journal article localization where companyId = ? and articlePK = ? and title = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
JournalArticleLocalization |
fetchByPrimaryKey(long articleLocalizationId)
Returns the journal article localization with the primary key or returns
null if it could not be found. |
java.util.List<JournalArticleLocalization> |
findAll()
Returns all the journal article localizations.
|
java.util.List<JournalArticleLocalization> |
findAll(int start,
int end)
Returns a range of all the journal article localizations.
|
java.util.List<JournalArticleLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns an ordered range of all the journal article localizations.
|
java.util.List<JournalArticleLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the journal article localizations.
|
JournalArticleLocalization |
findByA_L(long articlePK,
java.lang.String languageId)
Returns the journal article localization where articlePK = ? and languageId = ? or throws a
NoSuchArticleLocalizationException if it could not be found. |
JournalArticleLocalization |
findByArticlePK_First(long articlePK,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns the first journal article localization in the ordered set where articlePK = ?.
|
JournalArticleLocalization |
findByArticlePK_Last(long articlePK,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns the last journal article localization in the ordered set where articlePK = ?.
|
JournalArticleLocalization[] |
findByArticlePK_PrevAndNext(long articleLocalizationId,
long articlePK,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns the journal article localizations before and after the current journal article localization in the ordered set where articlePK = ?.
|
java.util.List<JournalArticleLocalization> |
findByArticlePK(long articlePK)
Returns all the journal article localizations where articlePK = ?.
|
java.util.List<JournalArticleLocalization> |
findByArticlePK(long articlePK,
int start,
int end)
Returns a range of all the journal article localizations where articlePK = ?.
|
java.util.List<JournalArticleLocalization> |
findByArticlePK(long articlePK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Returns an ordered range of all the journal article localizations where articlePK = ?.
|
java.util.List<JournalArticleLocalization> |
findByArticlePK(long articlePK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the journal article localizations where articlePK = ?.
|
JournalArticleLocalization |
findByC_A_L(long companyId,
long articlePK,
java.lang.String languageId)
Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or throws a
NoSuchArticleLocalizationException if it could not be found. |
JournalArticleLocalization |
findByC_A_T_L(long companyId,
long articlePK,
java.lang.String title,
java.lang.String languageId)
Returns the journal article localization where companyId = ? and articlePK = ? and title = ? and languageId = ? or throws a
NoSuchArticleLocalizationException if it could not be found. |
JournalArticleLocalization |
findByPrimaryKey(long articleLocalizationId)
Returns the journal article localization with the primary key or throws a
NoSuchArticleLocalizationException if it could not be found. |
JournalArticleLocalization |
remove(long articleLocalizationId)
Removes the journal article localization with the primary key from the database.
|
void |
removeAll()
Removes all the journal article localizations from the database.
|
JournalArticleLocalization |
removeByA_L(long articlePK,
java.lang.String languageId)
Removes the journal article localization where articlePK = ? and languageId = ? from the database.
|
void |
removeByArticlePK(long articlePK)
Removes all the journal article localizations where articlePK = ? from the database.
|
JournalArticleLocalization |
removeByC_A_L(long companyId,
long articlePK,
java.lang.String languageId)
Removes the journal article localization where companyId = ? and articlePK = ? and languageId = ? from the database.
|
JournalArticleLocalization |
removeByC_A_T_L(long companyId,
long articlePK,
java.lang.String title,
java.lang.String languageId)
Removes the journal article localization where companyId = ? and articlePK = ? and title = ? and languageId = ? from the database.
|
JournalArticleLocalization |
updateImpl(JournalArticleLocalization journalArticleLocalization) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<JournalArticleLocalization> findByArticlePK(long articlePK)
articlePK
- the article pkjava.util.List<JournalArticleLocalization> findByArticlePK(long articlePK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
articlePK
- the article pkstart
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)java.util.List<JournalArticleLocalization> findByArticlePK(long articlePK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
articlePK
- the article pkstart
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleLocalization> findByArticlePK(long articlePK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
articlePK
- the article pkstart
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheJournalArticleLocalization findByArticlePK_First(long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException
articlePK
- the article pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleLocalizationException
- if a matching journal article localization could not be foundJournalArticleLocalization fetchByArticlePK_First(long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
articlePK
- the article pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article localization could not be foundJournalArticleLocalization findByArticlePK_Last(long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException
articlePK
- the article pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleLocalizationException
- if a matching journal article localization could not be foundJournalArticleLocalization fetchByArticlePK_Last(long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
articlePK
- the article pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching journal article localization could not be foundJournalArticleLocalization[] findByArticlePK_PrevAndNext(long articleLocalizationId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException
articleLocalizationId
- the primary key of the current journal article localizationarticlePK
- the article pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleLocalizationException
- if a journal article localization with the primary key could not be foundvoid removeByArticlePK(long articlePK)
articlePK
- the article pkint countByArticlePK(long articlePK)
articlePK
- the article pkJournalArticleLocalization findByA_L(long articlePK, java.lang.String languageId) throws NoSuchArticleLocalizationException
NoSuchArticleLocalizationException
if it could not be found.articlePK
- the article pklanguageId
- the language IDNoSuchArticleLocalizationException
- if a matching journal article localization could not be foundJournalArticleLocalization fetchByA_L(long articlePK, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.articlePK
- the article pklanguageId
- the language IDnull
if a matching journal article localization could not be foundJournalArticleLocalization fetchByA_L(long articlePK, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.articlePK
- the article pklanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching journal article localization could not be foundJournalArticleLocalization removeByA_L(long articlePK, java.lang.String languageId) throws NoSuchArticleLocalizationException
articlePK
- the article pklanguageId
- the language IDNoSuchArticleLocalizationException
int countByA_L(long articlePK, java.lang.String languageId)
articlePK
- the article pklanguageId
- the language IDJournalArticleLocalization findByC_A_L(long companyId, long articlePK, java.lang.String languageId) throws NoSuchArticleLocalizationException
NoSuchArticleLocalizationException
if it could not be found.companyId
- the company IDarticlePK
- the article pklanguageId
- the language IDNoSuchArticleLocalizationException
- if a matching journal article localization could not be foundJournalArticleLocalization fetchByC_A_L(long companyId, long articlePK, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDarticlePK
- the article pklanguageId
- the language IDnull
if a matching journal article localization could not be foundJournalArticleLocalization fetchByC_A_L(long companyId, long articlePK, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDarticlePK
- the article pklanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching journal article localization could not be foundJournalArticleLocalization removeByC_A_L(long companyId, long articlePK, java.lang.String languageId) throws NoSuchArticleLocalizationException
companyId
- the company IDarticlePK
- the article pklanguageId
- the language IDNoSuchArticleLocalizationException
int countByC_A_L(long companyId, long articlePK, java.lang.String languageId)
companyId
- the company IDarticlePK
- the article pklanguageId
- the language IDJournalArticleLocalization findByC_A_T_L(long companyId, long articlePK, java.lang.String title, java.lang.String languageId) throws NoSuchArticleLocalizationException
NoSuchArticleLocalizationException
if it could not be found.companyId
- the company IDarticlePK
- the article pktitle
- the titlelanguageId
- the language IDNoSuchArticleLocalizationException
- if a matching journal article localization could not be foundJournalArticleLocalization fetchByC_A_T_L(long companyId, long articlePK, java.lang.String title, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDarticlePK
- the article pktitle
- the titlelanguageId
- the language IDnull
if a matching journal article localization could not be foundJournalArticleLocalization fetchByC_A_T_L(long companyId, long articlePK, java.lang.String title, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDarticlePK
- the article pktitle
- the titlelanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching journal article localization could not be foundJournalArticleLocalization removeByC_A_T_L(long companyId, long articlePK, java.lang.String title, java.lang.String languageId) throws NoSuchArticleLocalizationException
companyId
- the company IDarticlePK
- the article pktitle
- the titlelanguageId
- the language IDNoSuchArticleLocalizationException
int countByC_A_T_L(long companyId, long articlePK, java.lang.String title, java.lang.String languageId)
companyId
- the company IDarticlePK
- the article pktitle
- the titlelanguageId
- the language IDvoid cacheResult(JournalArticleLocalization journalArticleLocalization)
journalArticleLocalization
- the journal article localizationvoid cacheResult(java.util.List<JournalArticleLocalization> journalArticleLocalizations)
journalArticleLocalizations
- the journal article localizationsJournalArticleLocalization create(long articleLocalizationId)
articleLocalizationId
- the primary key for the new journal article localizationJournalArticleLocalization remove(long articleLocalizationId) throws NoSuchArticleLocalizationException
articleLocalizationId
- the primary key of the journal article localizationNoSuchArticleLocalizationException
- if a journal article localization with the primary key could not be foundJournalArticleLocalization updateImpl(JournalArticleLocalization journalArticleLocalization)
JournalArticleLocalization findByPrimaryKey(long articleLocalizationId) throws NoSuchArticleLocalizationException
NoSuchArticleLocalizationException
if it could not be found.articleLocalizationId
- the primary key of the journal article localizationNoSuchArticleLocalizationException
- if a journal article localization with the primary key could not be foundJournalArticleLocalization fetchByPrimaryKey(long articleLocalizationId)
null
if it could not be found.articleLocalizationId
- the primary key of the journal article localizationnull
if a journal article localization with the primary key could not be foundjava.util.List<JournalArticleLocalization> findAll()
java.util.List<JournalArticleLocalization> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
start
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)java.util.List<JournalArticleLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
start
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<JournalArticleLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from JournalArticleLocalizationModelImpl
.
start
- the lower bound of the range of journal article localizationsend
- the upper bound of the range of journal article localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()