Interface JournalArticleLocalizationPersistence
- All Superinterfaces:
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
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(JournalArticleLocalization journalArticleLocalization) Caches the journal article localization in the entity cache if it is enabled.voidcacheResult(List<JournalArticleLocalization> journalArticleLocalizations) Caches the journal article localizations in the entity cache if it is enabled.intcountAll()Returns the number of journal article localizations.intcountByC_A(long companyId, long articlePK) Returns the number of journal article localizations where companyId = ? and articlePK = ?.intcountByC_A_L(long companyId, long articlePK, String languageId) Returns the number of journal article localizations where companyId = ? and articlePK = ? and languageId = ?.create(long articleLocalizationId) Creates a new journal article localization with the primary key.fetchByC_A_First(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the first journal article localization in the ordered set where companyId = ? and articlePK = ?.fetchByC_A_L(long companyId, long articlePK, String languageId) Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returnsnullif it could not be found.fetchByC_A_L(long companyId, long articlePK, String languageId, boolean useFinderCache) Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_A_Last(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the last journal article localization in the ordered set where companyId = ? and articlePK = ?.fetchByPrimaryKey(long articleLocalizationId) Returns the journal article localization with the primary key or returnsnullif it could not be found.findAll()Returns all the journal article localizations.findAll(int start, int end) Returns a range of all the journal article localizations.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns an ordered range of all the journal article localizations.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.findByC_A(long companyId, long articlePK) Returns all the journal article localizations where companyId = ? and articlePK = ?.findByC_A(long companyId, long articlePK, int start, int end) Returns a range of all the journal article localizations where companyId = ? and articlePK = ?.findByC_A(long companyId, 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 companyId = ? and articlePK = ?.findByC_A(long companyId, 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 companyId = ? and articlePK = ?.findByC_A_First(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the first journal article localization in the ordered set where companyId = ? and articlePK = ?.findByC_A_L(long companyId, long articlePK, String languageId) Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or throws aNoSuchArticleLocalizationExceptionif it could not be found.findByC_A_Last(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the last journal article localization in the ordered set where companyId = ? and articlePK = ?.findByC_A_PrevAndNext(long articleLocalizationId, long companyId, 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 companyId = ? and articlePK = ?.findByPrimaryKey(long articleLocalizationId) Returns the journal article localization with the primary key or throws aNoSuchArticleLocalizationExceptionif it could not be found.remove(long articleLocalizationId) Removes the journal article localization with the primary key from the database.voidRemoves all the journal article localizations from the database.voidremoveByC_A(long companyId, long articlePK) Removes all the journal article localizations where companyId = ? and articlePK = ? from the database.removeByC_A_L(long companyId, long articlePK, String languageId) Removes the journal article localization where companyId = ? and articlePK = ? and languageId = ? from the database.updateImpl(JournalArticleLocalization journalArticleLocalization) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByC_A
Returns all the journal article localizations where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pk- Returns:
- the matching journal article localizations
-
findByC_A
Returns a range of all the journal article localizations where companyId = ? and articlePK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
companyId- the company IDarticlePK- 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)- Returns:
- the range of matching journal article localizations
-
findByC_A
List<JournalArticleLocalization> findByC_A(long companyId, 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 companyId = ? and articlePK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
companyId- the company IDarticlePK- 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 (optionallynull)- Returns:
- the ordered range of matching journal article localizations
-
findByC_A
List<JournalArticleLocalization> findByC_A(long companyId, 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 companyId = ? and articlePK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
companyId- the company IDarticlePK- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching journal article localizations
-
findByC_A_First
JournalArticleLocalization findByC_A_First(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException Returns the first journal article localization in the ordered set where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal article localization
- Throws:
NoSuchArticleLocalizationException- if a matching journal article localization could not be found
-
fetchByC_A_First
JournalArticleLocalization fetchByC_A_First(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the first journal article localization in the ordered set where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching journal article localization, or
nullif a matching journal article localization could not be found
-
findByC_A_Last
JournalArticleLocalization findByC_A_Last(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException Returns the last journal article localization in the ordered set where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching journal article localization
- Throws:
NoSuchArticleLocalizationException- if a matching journal article localization could not be found
-
fetchByC_A_Last
JournalArticleLocalization fetchByC_A_Last(long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) Returns the last journal article localization in the ordered set where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching journal article localization, or
nullif a matching journal article localization could not be found
-
findByC_A_PrevAndNext
JournalArticleLocalization[] findByC_A_PrevAndNext(long articleLocalizationId, long companyId, long articlePK, com.liferay.portal.kernel.util.OrderByComparator<JournalArticleLocalization> orderByComparator) throws NoSuchArticleLocalizationException Returns the journal article localizations before and after the current journal article localization in the ordered set where companyId = ? and articlePK = ?.- Parameters:
articleLocalizationId- the primary key of the current journal article localizationcompanyId- the company IDarticlePK- the article pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next journal article localization
- Throws:
NoSuchArticleLocalizationException- if a journal article localization with the primary key could not be found
-
removeByC_A
void removeByC_A(long companyId, long articlePK) Removes all the journal article localizations where companyId = ? and articlePK = ? from the database.- Parameters:
companyId- the company IDarticlePK- the article pk
-
countByC_A
int countByC_A(long companyId, long articlePK) Returns the number of journal article localizations where companyId = ? and articlePK = ?.- Parameters:
companyId- the company IDarticlePK- the article pk- Returns:
- the number of matching journal article localizations
-
findByC_A_L
JournalArticleLocalization findByC_A_L(long companyId, long articlePK, String languageId) throws NoSuchArticleLocalizationException Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or throws aNoSuchArticleLocalizationExceptionif it could not be found.- Parameters:
companyId- the company IDarticlePK- the article pklanguageId- the language ID- Returns:
- the matching journal article localization
- Throws:
NoSuchArticleLocalizationException- if a matching journal article localization could not be found
-
fetchByC_A_L
Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDarticlePK- the article pklanguageId- the language ID- Returns:
- the matching journal article localization, or
nullif a matching journal article localization could not be found
-
fetchByC_A_L
JournalArticleLocalization fetchByC_A_L(long companyId, long articlePK, String languageId, boolean useFinderCache) Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDarticlePK- the article pklanguageId- the language IDuseFinderCache- whether to use the finder cache- Returns:
- the matching journal article localization, or
nullif a matching journal article localization could not be found
-
removeByC_A_L
JournalArticleLocalization removeByC_A_L(long companyId, long articlePK, String languageId) throws NoSuchArticleLocalizationException Removes the journal article localization where companyId = ? and articlePK = ? and languageId = ? from the database.- Parameters:
companyId- the company IDarticlePK- the article pklanguageId- the language ID- Returns:
- the journal article localization that was removed
- Throws:
NoSuchArticleLocalizationException
-
countByC_A_L
Returns the number of journal article localizations where companyId = ? and articlePK = ? and languageId = ?.- Parameters:
companyId- the company IDarticlePK- the article pklanguageId- the language ID- Returns:
- the number of matching journal article localizations
-
cacheResult
Caches the journal article localization in the entity cache if it is enabled.- Parameters:
journalArticleLocalization- the journal article localization
-
cacheResult
Caches the journal article localizations in the entity cache if it is enabled.- Parameters:
journalArticleLocalizations- the journal article localizations
-
create
Creates a new journal article localization with the primary key. Does not add the journal article localization to the database.- Parameters:
articleLocalizationId- the primary key for the new journal article localization- Returns:
- the new journal article localization
-
remove
JournalArticleLocalization remove(long articleLocalizationId) throws NoSuchArticleLocalizationException Removes the journal article localization with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
articleLocalizationId- the primary key of the journal article localization- Returns:
- the journal article localization that was removed
- Throws:
NoSuchArticleLocalizationException- if a journal article localization with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
JournalArticleLocalization findByPrimaryKey(long articleLocalizationId) throws NoSuchArticleLocalizationException Returns the journal article localization with the primary key or throws aNoSuchArticleLocalizationExceptionif it could not be found.- Parameters:
articleLocalizationId- the primary key of the journal article localization- Returns:
- the journal article localization
- Throws:
NoSuchArticleLocalizationException- if a journal article localization with the primary key could not be found
-
fetchByPrimaryKey
Returns the journal article localization with the primary key or returnsnullif it could not be found.- Parameters:
articleLocalizationId- the primary key of the journal article localization- Returns:
- the journal article localization, or
nullif a journal article localization with the primary key could not be found
-
findAll
List<JournalArticleLocalization> findAll()Returns all the journal article localizations.- Returns:
- the journal article localizations
-
findAll
Returns a range of all the journal article localizations.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
start- the lower bound of the range of journal article localizationsend- the upper bound of the range of journal article localizations (not inclusive)- Returns:
- the range of journal article localizations
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of journal article localizations
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromJournalArticleLocalizationModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of journal article localizations
-
removeAll
void removeAll()Removes all the journal article localizations from the database. -
countAll
int countAll()Returns the number of journal article localizations.- Returns:
- the number of journal article localizations
-