java.lang.Object
com.liferay.portal.language.override.service.persistence.PLOEntryUtil

public class PLOEntryUtil extends Object
The persistence utility for the plo entry service. This utility wraps com.liferay.portal.language.override.service.persistence.impl.PLOEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Caches the plo entry in the entity cache if it is enabled.
    static void
    cacheResult(List<PLOEntry> ploEntries)
    Caches the plo entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(PLOEntry ploEntry)
     
    static int
    Returns the number of plo entries.
    static int
    countByC_K(long companyId, String key)
    Returns the number of plo entries where companyId = ? and key = ?.
    static int
    countByC_K_L(long companyId, String key, String languageId)
    Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.
    static int
    countByC_L(long companyId, String languageId)
    Returns the number of plo entries where companyId = ? and languageId = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of plo entries where companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static PLOEntry
    create(long ploEntryId)
    Creates a new plo entry with the primary key.
    static 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 = ?.
    static 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.
    static 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.
    static PLOEntry
    fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ? and key = ?.
    static 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 = ?.
    static PLOEntry
    fetchByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.
    static PLOEntry
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ?.
    static PLOEntry
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ?.
    static PLOEntry
    fetchByPrimaryKey(long ploEntryId)
    Returns the plo entry with the primary key or returns null if it could not be found.
     
    static List<PLOEntry>
    Returns all the plo entries.
    static List<PLOEntry>
    findAll(int start, int end)
    Returns a range of all the plo entries.
    static List<PLOEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns an ordered range of all the plo entries.
    static List<PLOEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the plo entries.
    static List<PLOEntry>
    findByC_K(long companyId, String key)
    Returns all the plo entries where companyId = ? and key = ?.
    static List<PLOEntry>
    findByC_K(long companyId, String key, int start, int end)
    Returns a range of all the plo entries where companyId = ? and key = ?.
    static 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 = ?.
    static 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 = ?.
    static PLOEntry
    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 = ?.
    static PLOEntry
    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.
    static PLOEntry
    findByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ? and key = ?.
    static PLOEntry[]
    findByC_K_PrevAndNext(long ploEntryId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and key = ?.
    static List<PLOEntry>
    findByC_L(long companyId, String languageId)
    Returns all the plo entries where companyId = ? and languageId = ?.
    static List<PLOEntry>
    findByC_L(long companyId, String languageId, int start, int end)
    Returns a range of all the plo entries where companyId = ? and languageId = ?.
    static 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 = ?.
    static 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 = ?.
    static PLOEntry
    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 = ?.
    static PLOEntry
    findByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.
    static PLOEntry[]
    findByC_L_PrevAndNext(long ploEntryId, long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and languageId = ?.
    static List<PLOEntry>
    findByCompanyId(long companyId)
    Returns all the plo entries where companyId = ?.
    static List<PLOEntry>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the plo entries where companyId = ?.
    static 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 = ?.
    static 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 = ?.
    static PLOEntry
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the first plo entry in the ordered set where companyId = ?.
    static PLOEntry
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the last plo entry in the ordered set where companyId = ?.
    static PLOEntry[]
    findByCompanyId_PrevAndNext(long ploEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
    Returns the plo entries before and after the current plo entry in the ordered set where companyId = ?.
    static PLOEntry
    findByPrimaryKey(long ploEntryId)
    Returns the plo entry with the primary key or throws a NoSuchPLOEntryException if it could not be found.
    static List<PLOEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<PLOEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<PLOEntry>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
     
     
    static PLOEntry
    remove(long ploEntryId)
    Removes the plo entry with the primary key from the database.
    static void
    Removes all the plo entries from the database.
    static void
    removeByC_K(long companyId, String key)
    Removes all the plo entries where companyId = ? and key = ? from the database.
    static PLOEntry
    removeByC_K_L(long companyId, String key, String languageId)
    Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.
    static void
    removeByC_L(long companyId, String languageId)
    Removes all the plo entries where companyId = ? and languageId = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the plo entries where companyId = ? from the database.
    static void
     
    static PLOEntry
    update(PLOEntry ploEntry)
     
    static PLOEntry
    update(PLOEntry ploEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static PLOEntry
    updateImpl(PLOEntry ploEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PLOEntryUtil

      public PLOEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(PLOEntry ploEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,PLOEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static PLOEntry update(PLOEntry ploEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static PLOEntry update(PLOEntry ploEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

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

      public static 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 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 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

      public static 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 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 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
    • findByCompanyId

      public static 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 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 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

      public static 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
      NoSuchPLOEntryException
    • fetchByCompanyId_First

      public static 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
    • findByCompanyId_Last

      public static PLOEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the last 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 last matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
      NoSuchPLOEntryException
    • fetchByCompanyId_Last

      public static PLOEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the last 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 last matching plo entry, or null if a matching plo entry could not be found
    • findByCompanyId_PrevAndNext

      public static PLOEntry[] findByCompanyId_PrevAndNext(long ploEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the plo entries before and after the current plo entry in the ordered set where companyId = ?.
      Parameters:
      ploEntryId - the primary key of the current plo entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next plo entry
      Throws:
      NoSuchPLOEntryException - if a plo entry with the primary key could not be found
      NoSuchPLOEntryException
    • removeByCompanyId

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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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_K

      public static 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 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 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

      public static 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
      NoSuchPLOEntryException
    • fetchByC_K_First

      public static 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
    • findByC_K_Last

      public static PLOEntry findByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the last 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 last matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
      NoSuchPLOEntryException
    • fetchByC_K_Last

      public static PLOEntry fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the last 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 last matching plo entry, or null if a matching plo entry could not be found
    • findByC_K_PrevAndNext

      public static PLOEntry[] findByC_K_PrevAndNext(long ploEntryId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and key = ?.
      Parameters:
      ploEntryId - the primary key of the current plo entry
      companyId - the company ID
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next plo entry
      Throws:
      NoSuchPLOEntryException - if a plo entry with the primary key could not be found
      NoSuchPLOEntryException
    • removeByC_K

      public static 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

      public static 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

      public static 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

      public static 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 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 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

      public static 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 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 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
    • findByC_L

      public static 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 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 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

      public static 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
      NoSuchPLOEntryException
    • fetchByC_L_First

      public static 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
    • findByC_L_Last

      public static PLOEntry findByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the last 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 last matching plo entry
      Throws:
      NoSuchPLOEntryException - if a matching plo entry could not be found
      NoSuchPLOEntryException
    • fetchByC_L_Last

      public static PLOEntry fetchByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns the last 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 last matching plo entry, or null if a matching plo entry could not be found
    • findByC_L_PrevAndNext

      public static PLOEntry[] findByC_L_PrevAndNext(long ploEntryId, long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
      Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and languageId = ?.
      Parameters:
      ploEntryId - the primary key of the current plo entry
      companyId - the company ID
      languageId - the language ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next plo entry
      Throws:
      NoSuchPLOEntryException - if a plo entry with the primary key could not be found
      NoSuchPLOEntryException
    • removeByC_L

      public static 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

      public static 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

      public static 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
      NoSuchPLOEntryException
    • fetchByC_K_L

      public static 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
    • fetchByC_K_L

      public static 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

      public static 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

      public static 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
    • cacheResult

      public static void cacheResult(PLOEntry ploEntry)
      Caches the plo entry in the entity cache if it is enabled.
      Parameters:
      ploEntry - the plo entry
    • cacheResult

      public static void cacheResult(List<PLOEntry> ploEntries)
      Caches the plo entries in the entity cache if it is enabled.
      Parameters:
      ploEntries - the plo entries
    • create

      public static 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

      public static 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
      NoSuchPLOEntryException
    • updateImpl

      public static PLOEntry updateImpl(PLOEntry ploEntry)
    • findByPrimaryKey

      public static 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
      NoSuchPLOEntryException
    • fetchByPrimaryKey

      public static 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
    • findAll

      public static List<PLOEntry> findAll()
      Returns all the plo entries.
      Returns:
      the plo entries
    • findAll

      public static List<PLOEntry> findAll(int start, int end)
      Returns a range of all the plo entries.

      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 PLOEntryModelImpl.

      Parameters:
      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 plo entries
    • findAll

      public static List<PLOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
      Returns an ordered range of all the plo entries.

      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 PLOEntryModelImpl.

      Parameters:
      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 plo entries
    • findAll

      public static List<PLOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the plo entries.

      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 PLOEntryModelImpl.

      Parameters:
      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 plo entries
    • removeAll

      public static void removeAll()
      Removes all the plo entries from the database.
    • countAll

      public static int countAll()
      Returns the number of plo entries.
      Returns:
      the number of plo entries
    • getPersistence

      public static PLOEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(PLOEntryPersistence persistence)