Interface PLOEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<PLOEntry>

@ProviderType public interface PLOEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<PLOEntry>
The persistence interface for the plo entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_K(long companyId, String key)
    Returns the number of plo entries where companyId = ? and key = ?.
    int
    countByC_K_L(long companyId, String key, String languageId)
    Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.
    int
    countByC_L(long companyId, String languageId)
    Returns the number of plo entries where companyId = ? and languageId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of plo entries where companyId = ?.
    create(long ploEntryId)
    Creates a new plo entry with the primary key.
    fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ? and key = ?.
    default PLOEntry
    fetchByC_K_L(long companyId, String key, String languageId)
    Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns null if it could not be found.
    fetchByC_K_L(long companyId, String key, String languageId, boolean useFinderCache)
    Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ?.
    fetchByPrimaryKey(long ploEntryId)
    Returns the plo entry with the primary key or returns null if it could not be found.
    default List<PLOEntry>
    findByC_K(long companyId, String key)
    Returns all the plo entries where companyId = ? and key = ?.
    default List<PLOEntry>
    findByC_K(long companyId, String key, int start, int end)
    Returns a range of all the plo entries where companyId = ? and key = ?.
    default List<PLOEntry>
    findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns an ordered range of all the plo entries where companyId = ? and key = ?.
    findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the plo entries where companyId = ? and key = ?.
    findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ? and key = ?.
    findByC_K_L(long companyId, String key, String languageId)
    Returns the plo entry where companyId = ? and key = ? and languageId = ? or throws a NoSuchPLOEntryException if it could not be found.
    default List<PLOEntry>
    findByC_L(long companyId, String languageId)
    Returns all the plo entries where companyId = ? and languageId = ?.
    default List<PLOEntry>
    findByC_L(long companyId, String languageId, int start, int end)
    Returns a range of all the plo entries where companyId = ? and languageId = ?.
    default List<PLOEntry>
    findByC_L(long companyId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.
    findByC_L(long companyId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.
    findByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
    default List<PLOEntry>
    findByCompanyId(long companyId)
    Returns all the plo entries where companyId = ?.
    default List<PLOEntry>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the plo entries where companyId = ?.
    default List<PLOEntry>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns an ordered range of all the plo entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the plo entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ?.
    findByPrimaryKey(long ploEntryId)
    Returns the plo entry with the primary key or throws a NoSuchPLOEntryException if it could not be found.
    remove(long ploEntryId)
    Removes the plo entry with the primary key from the database.
    void
    removeByC_K(long companyId, String key)
    Removes all the plo entries where companyId = ? and key = ? from the database.
    removeByC_K_L(long companyId, String key, String languageId)
    Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.
    void
    removeByC_L(long companyId, String languageId)
    Removes all the plo entries where companyId = ? and languageId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the plo entries where companyId = ? from the database.
    updateImpl(PLOEntry ploEntry)
     

    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
  • Method Details

    • findByCompanyId

      List<PLOEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the plo entries where companyId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (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 plo entries
    • findByCompanyId_First

      PLOEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the first plo entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
    • fetchByCompanyId_First

      PLOEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the first plo entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry, or null if a matching plo entry could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the plo entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of plo entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching plo entries
    • findByC_K

      List<PLOEntry> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the plo entries where companyId = ? and key = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      key - the key
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (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 plo entries
    • findByC_K_First

      PLOEntry findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the first plo entry in the ordered set where companyId = ? and key = ?.
      Parameters:
      companyId - the company ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
    • fetchByC_K_First

      PLOEntry fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the first plo entry in the ordered set where companyId = ? and key = ?.
      Parameters:
      companyId - the company ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry, or null if a matching plo entry could not be found
    • removeByC_K

      void removeByC_K(long companyId, String key)
      Removes all the plo entries where companyId = ? and key = ? from the database.
      Parameters:
      companyId - the company ID
      key - the key
    • countByC_K

      int countByC_K(long companyId, String key)
      Returns the number of plo entries where companyId = ? and key = ?.
      Parameters:
      companyId - the company ID
      key - the key
      Returns:
      the number of matching plo entries
    • findByC_L

      List<PLOEntry> findByC_L(long companyId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      languageId - the language ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (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 plo entries
    • findByC_L_First

      PLOEntry findByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
    • fetchByC_L_First

      PLOEntry fetchByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching plo entry, or null if a matching plo entry could not be found
    • removeByC_L

      void removeByC_L(long companyId, String languageId)
      Removes all the plo entries where companyId = ? and languageId = ? from the database.
      Parameters:
      companyId - the company ID
      languageId - the language ID
    • countByC_L

      int countByC_L(long companyId, String languageId)
      Returns the number of plo entries where companyId = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      languageId - the language ID
      Returns:
      the number of matching plo entries
    • findByC_K_L

      PLOEntry findByC_K_L(long companyId, String key, String languageId) throws NoSuchPLOEntryException
      Returns the plo entry where companyId = ? and key = ? and languageId = ? or throws a NoSuchPLOEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      key - the key
      languageId - the language ID
      Returns:
      the matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
    • fetchByC_K_L

      PLOEntry fetchByC_K_L(long companyId, String key, String languageId, boolean useFinderCache)
      Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      key - the key
      languageId - the language ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching plo entry, or null if a matching plo entry could not be found
    • removeByC_K_L

      PLOEntry removeByC_K_L(long companyId, String key, String languageId) throws NoSuchPLOEntryException
      Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.
      Parameters:
      companyId - the company ID
      key - the key
      languageId - the language ID
      Returns:
      the plo entry that was removed
      Throws:
      NoSuchPLOEntryException
    • countByC_K_L

      int countByC_K_L(long companyId, String key, String languageId)
      Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      key - the key
      languageId - the language ID
      Returns:
      the number of matching plo entries
    • create

      PLOEntry create(long ploEntryId)
      Creates a new plo entry with the primary key. Does not add the plo entry to the database.
      Parameters:
      ploEntryId - the primary key for the new plo entry
      Returns:
      the new plo entry
    • remove

      PLOEntry remove(long ploEntryId) throws NoSuchPLOEntryException
      Removes the plo entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      ploEntryId - the primary key of the plo entry
      Returns:
      the plo entry that was removed
      Throws:
      NoSuchPLOEntryException - if a plo entry with the primary key could not be found
    • updateImpl

      PLOEntry updateImpl(PLOEntry ploEntry)
    • findByPrimaryKey

      PLOEntry findByPrimaryKey(long ploEntryId) throws NoSuchPLOEntryException
      Returns the plo entry with the primary key or throws a NoSuchPLOEntryException if it could not be found.
      Parameters:
      ploEntryId - the primary key of the plo entry
      Returns:
      the plo entry
      Throws:
      NoSuchPLOEntryException - if a plo entry with the primary key could not be found
    • fetchByPrimaryKey

      PLOEntry fetchByPrimaryKey(long ploEntryId)
      Returns the plo entry with the primary key or returns null if it could not be found.
      Parameters:
      ploEntryId - the primary key of the plo entry
      Returns:
      the plo entry, or null if a plo entry with the primary key could not be found
    • fetchByC_K_L

      default PLOEntry fetchByC_K_L(long companyId, String key, String languageId)
      Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      key - the key
      languageId - the language ID
      Returns:
      the matching plo entry, or null if a matching plo entry could not be found
    • findByCompanyId

      default List<PLOEntry> findByCompanyId(long companyId)
      Returns all the plo entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching plo entries
    • findByCompanyId

      default List<PLOEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the plo entries where companyId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      Returns:
      the range of matching plo entries
    • findByCompanyId

      default List<PLOEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns an ordered range of all the plo entries where companyId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching plo entries
    • findByC_K

      default List<PLOEntry> findByC_K(long companyId, String key)
      Returns all the plo entries where companyId = ? and key = ?.
      Parameters:
      companyId - the company ID
      key - the key
      Returns:
      the matching plo entries
    • findByC_K

      default List<PLOEntry> findByC_K(long companyId, String key, int start, int end)
      Returns a range of all the plo entries where companyId = ? and key = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      key - the key
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      Returns:
      the range of matching plo entries
    • findByC_K

      default List<PLOEntry> findByC_K(long companyId, String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns an ordered range of all the plo entries where companyId = ? and key = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      key - the key
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching plo entries
    • findByC_L

      default List<PLOEntry> findByC_L(long companyId, String languageId)
      Returns all the plo entries where companyId = ? and languageId = ?.
      Parameters:
      companyId - the company ID
      languageId - the language ID
      Returns:
      the matching plo entries
    • findByC_L

      default List<PLOEntry> findByC_L(long companyId, String languageId, int start, int end)
      Returns a range of all the plo entries where companyId = ? and languageId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      languageId - the language ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      Returns:
      the range of matching plo entries
    • findByC_L

      default List<PLOEntry> findByC_L(long companyId, String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.

      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.portal.language.override.model.impl.PLOEntryModelImpl.

      Parameters:
      companyId - the company ID
      languageId - the language ID
      start - the lower bound of the range of plo entries
      end - the upper bound of the range of plo entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching plo entries