Interface JournalArticleLocalizationPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<JournalArticleLocalization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalArticleLocalization>

@ProviderType public interface JournalArticleLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<JournalArticleLocalization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalArticleLocalization>
The persistence interface for the journal article localization service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_A(long companyId, long articlePK)
    Returns the number of journal article localizations where companyId = ? and articlePK = ?.
    int
    countByC_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 returns null if 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 returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long articleLocalizationId)
    Returns the journal article localization with the primary key or returns null if it could not be found.
    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 a NoSuchArticleLocalizationException if it could not be found.
    findByPrimaryKey(long articleLocalizationId)
    Returns the journal article localization with the primary key or throws a NoSuchArticleLocalizationException if it could not be found.
    remove(long articleLocalizationId)
    Removes the journal article localization with the primary key from the database.
    void
    removeByC_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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • 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 - 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.journal.model.impl.JournalArticleLocalizationModelImpl.

      Parameters:
      companyId - the company ID
      articlePK - the article pk
      start - the lower bound of the range of journal article localizations
      end - 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 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 ID
      articlePK - the article pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      articlePK - the article pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal article localization, or null if a matching journal article localization 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 ID
      articlePK - 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 ID
      articlePK - 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 a NoSuchArticleLocalizationException if it could not be found.
      Parameters:
      companyId - the company ID
      articlePK - the article pk
      languageId - the language ID
      Returns:
      the matching journal article localization
      Throws:
      NoSuchArticleLocalizationException - if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      articlePK - the article pk
      languageId - the language ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching journal article localization, or null if 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 ID
      articlePK - the article pk
      languageId - the language ID
      Returns:
      the journal article localization that was removed
      Throws:
      NoSuchArticleLocalizationException
    • countByC_A_L

      int countByC_A_L(long companyId, long articlePK, String languageId)
      Returns the number of journal article localizations where companyId = ? and articlePK = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      articlePK - the article pk
      languageId - the language ID
      Returns:
      the number of matching journal article localizations
    • create

      JournalArticleLocalization create(long articleLocalizationId)
      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

      JournalArticleLocalization updateImpl(JournalArticleLocalization journalArticleLocalization)
    • findByPrimaryKey

      JournalArticleLocalization findByPrimaryKey(long articleLocalizationId) throws NoSuchArticleLocalizationException
      Returns the journal article localization with the primary key or throws a NoSuchArticleLocalizationException if 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

      JournalArticleLocalization fetchByPrimaryKey(long articleLocalizationId)
      Returns the journal article localization with the primary key or returns null if it could not be found.
      Parameters:
      articleLocalizationId - the primary key of the journal article localization
      Returns:
      the journal article localization, or null if a journal article localization with the primary key could not be found
    • fetchByC_A_L

      default JournalArticleLocalization fetchByC_A_L(long companyId, long articlePK, String languageId)
      Returns the journal article localization where companyId = ? and articlePK = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      articlePK - the article pk
      languageId - the language ID
      Returns:
      the matching journal article localization, or null if a matching journal article localization could not be found
    • findByC_A

      default List<JournalArticleLocalization> findByC_A(long companyId, long articlePK)
      Returns all the journal article localizations where companyId = ? and articlePK = ?.
      Parameters:
      companyId - the company ID
      articlePK - the article pk
      Returns:
      the matching journal article localizations
    • findByC_A

      default List<JournalArticleLocalization> findByC_A(long companyId, long articlePK, int start, int end)
      Returns a range of all the journal article localizations where companyId = ? and articlePK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.journal.model.impl.JournalArticleLocalizationModelImpl.

      Parameters:
      companyId - the company ID
      articlePK - the article pk
      start - the lower bound of the range of journal article localizations
      end - the upper bound of the range of journal article localizations (not inclusive)
      Returns:
      the range of matching journal article localizations
    • findByC_A

      default 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 - 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.journal.model.impl.JournalArticleLocalizationModelImpl.

      Parameters:
      companyId - the company ID
      articlePK - the article pk
      start - the lower bound of the range of journal article localizations
      end - the upper bound of the range of journal article localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal article localizations