Interface LayoutLocalizationPersistence

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

@ProviderType public interface LayoutLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutLocalization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutLocalization>
The persistence interface for the layout localization service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(LayoutLocalization layoutLocalization)
    Caches the layout localization in the entity cache if it is enabled.
    void
    cacheResult(List<LayoutLocalization> layoutLocalizations)
    Caches the layout localizations in the entity cache if it is enabled.
    int
    Returns the number of layout localizations.
    int
    countByG_L_P(long groupId, String languageId, long plid)
    Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.
    int
    countByL_P(String languageId, long plid)
    Returns the number of layout localizations where languageId = ? and plid = ?.
    int
    countByPlid(long plid)
    Returns the number of layout localizations where plid = ?.
    int
    Returns the number of layout localizations where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of layout localizations where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of layout localizations where uuid = ? and groupId = ?.
    create(long layoutLocalizationId)
    Creates a new layout localization with the primary key.
    fetchByG_L_P(long groupId, String languageId, long plid)
    Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null if it could not be found.
    fetchByG_L_P(long groupId, String languageId, long plid, boolean useFinderCache)
    Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByL_P(String languageId, long plid)
    Returns the layout localization where languageId = ? and plid = ? or returns null if it could not be found.
    fetchByL_P(String languageId, long plid, boolean useFinderCache)
    Returns the layout localization where languageId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where plid = ?.
    fetchByPrimaryKey(long layoutLocalizationId)
    Returns the layout localization with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the layout localization where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the layout localization where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the layout localizations.
    findAll(int start, int end)
    Returns a range of all the layout localizations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns an ordered range of all the layout localizations.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout localizations.
    findByG_L_P(long groupId, String languageId, long plid)
    Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
    findByL_P(String languageId, long plid)
    Returns the layout localization where languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
    findByPlid(long plid)
    Returns all the layout localizations where plid = ?.
    findByPlid(long plid, int start, int end)
    Returns a range of all the layout localizations where plid = ?.
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns an ordered range of all the layout localizations where plid = ?.
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout localizations where plid = ?.
    findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where plid = ?.
    findByPrimaryKey(long layoutLocalizationId)
    Returns the layout localization with the primary key or throws a NoSuchLayoutLocalizationException if it could not be found.
    Returns all the layout localizations where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the layout localizations where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns an ordered range of all the layout localizations where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout localizations where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the layout localizations where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the layout localizations where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns an ordered range of all the layout localizations where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the layout localizations where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
    Returns the first layout localization in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the layout localization where uuid = ? and groupId = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
    remove(long layoutLocalizationId)
    Removes the layout localization with the primary key from the database.
    void
    Removes all the layout localizations from the database.
    removeByG_L_P(long groupId, String languageId, long plid)
    Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.
    removeByL_P(String languageId, long plid)
    Removes the layout localization where languageId = ? and plid = ? from the database.
    void
    removeByPlid(long plid)
    Removes all the layout localizations where plid = ? from the database.
    void
    Removes all the layout localizations where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the layout localizations where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the layout localization where uuid = ? and groupId = ? from the database.
    updateImpl(LayoutLocalization layoutLocalization)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, 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

    • findByUuid

      List<LayoutLocalization> findByUuid(String uuid)
      Returns all the layout localizations where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching layout localizations
    • findByUuid

      List<LayoutLocalization> findByUuid(String uuid, int start, int end)
      Returns a range of all the layout localizations where uuid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      Returns:
      the range of matching layout localizations
    • findByUuid

      List<LayoutLocalization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns an ordered range of all the layout localizations where uuid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout localizations
    • findByUuid

      List<LayoutLocalization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout localizations where uuid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout 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 layout localizations
    • findByUuid_First

      LayoutLocalization findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the first layout localization in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByUuid_First

      LayoutLocalization fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns the first layout localization in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization, or null if a matching layout localization could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the layout localizations where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of layout localizations where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching layout localizations
    • findByUUID_G

      LayoutLocalization findByUUID_G(String uuid, long groupId) throws NoSuchLayoutLocalizationException
      Returns the layout localization where uuid = ? and groupId = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByUUID_G

      LayoutLocalization fetchByUUID_G(String uuid, long groupId)
      Returns the layout localization where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • fetchByUUID_G

      LayoutLocalization fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the layout localization where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • removeByUUID_G

      LayoutLocalization removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutLocalizationException
      Removes the layout localization where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the layout localization that was removed
      Throws:
      NoSuchLayoutLocalizationException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of layout localizations where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching layout localizations
    • findByUuid_C

      List<LayoutLocalization> findByUuid_C(String uuid, long companyId)
      Returns all the layout localizations where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching layout localizations
    • findByUuid_C

      List<LayoutLocalization> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the layout localizations where uuid = ? and 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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      Returns:
      the range of matching layout localizations
    • findByUuid_C

      List<LayoutLocalization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns an ordered range of all the layout localizations where uuid = ? and 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.layout.model.impl.LayoutLocalizationModelImpl.

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

      List<LayoutLocalization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout localizations where uuid = ? and 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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout 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 layout localizations
    • findByUuid_C_First

      LayoutLocalization findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByUuid_C_First

      LayoutLocalization fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization, or null if a matching layout localization could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the layout localizations where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of layout localizations where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching layout localizations
    • findByPlid

      List<LayoutLocalization> findByPlid(long plid)
      Returns all the layout localizations where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the matching layout localizations
    • findByPlid

      List<LayoutLocalization> findByPlid(long plid, int start, int end)
      Returns a range of all the layout localizations where plid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      Returns:
      the range of matching layout localizations
    • findByPlid

      List<LayoutLocalization> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns an ordered range of all the layout localizations where plid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching layout localizations
    • findByPlid

      List<LayoutLocalization> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout localizations where plid = ?.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      plid - the plid
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout 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 layout localizations
    • findByPlid_First

      LayoutLocalization findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the first layout localization in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByPlid_First

      LayoutLocalization fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns the first layout localization in the ordered set where plid = ?.
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching layout localization, or null if a matching layout localization could not be found
    • removeByPlid

      void removeByPlid(long plid)
      Removes all the layout localizations where plid = ? from the database.
      Parameters:
      plid - the plid
    • countByPlid

      int countByPlid(long plid)
      Returns the number of layout localizations where plid = ?.
      Parameters:
      plid - the plid
      Returns:
      the number of matching layout localizations
    • findByL_P

      LayoutLocalization findByL_P(String languageId, long plid) throws NoSuchLayoutLocalizationException
      Returns the layout localization where languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
      Parameters:
      languageId - the language ID
      plid - the plid
      Returns:
      the matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByL_P

      LayoutLocalization fetchByL_P(String languageId, long plid)
      Returns the layout localization where languageId = ? and plid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      languageId - the language ID
      plid - the plid
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • fetchByL_P

      LayoutLocalization fetchByL_P(String languageId, long plid, boolean useFinderCache)
      Returns the layout localization where languageId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      languageId - the language ID
      plid - the plid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • removeByL_P

      LayoutLocalization removeByL_P(String languageId, long plid) throws NoSuchLayoutLocalizationException
      Removes the layout localization where languageId = ? and plid = ? from the database.
      Parameters:
      languageId - the language ID
      plid - the plid
      Returns:
      the layout localization that was removed
      Throws:
      NoSuchLayoutLocalizationException
    • countByL_P

      int countByL_P(String languageId, long plid)
      Returns the number of layout localizations where languageId = ? and plid = ?.
      Parameters:
      languageId - the language ID
      plid - the plid
      Returns:
      the number of matching layout localizations
    • findByG_L_P

      LayoutLocalization findByG_L_P(long groupId, String languageId, long plid) throws NoSuchLayoutLocalizationException
      Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException if it could not be found.
      Parameters:
      groupId - the group ID
      languageId - the language ID
      plid - the plid
      Returns:
      the matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByG_L_P

      LayoutLocalization fetchByG_L_P(long groupId, String languageId, long plid)
      Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      languageId - the language ID
      plid - the plid
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • fetchByG_L_P

      LayoutLocalization fetchByG_L_P(long groupId, String languageId, long plid, boolean useFinderCache)
      Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      languageId - the language ID
      plid - the plid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching layout localization, or null if a matching layout localization could not be found
    • removeByG_L_P

      LayoutLocalization removeByG_L_P(long groupId, String languageId, long plid) throws NoSuchLayoutLocalizationException
      Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.
      Parameters:
      groupId - the group ID
      languageId - the language ID
      plid - the plid
      Returns:
      the layout localization that was removed
      Throws:
      NoSuchLayoutLocalizationException
    • countByG_L_P

      int countByG_L_P(long groupId, String languageId, long plid)
      Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.
      Parameters:
      groupId - the group ID
      languageId - the language ID
      plid - the plid
      Returns:
      the number of matching layout localizations
    • cacheResult

      void cacheResult(LayoutLocalization layoutLocalization)
      Caches the layout localization in the entity cache if it is enabled.
      Parameters:
      layoutLocalization - the layout localization
    • cacheResult

      void cacheResult(List<LayoutLocalization> layoutLocalizations)
      Caches the layout localizations in the entity cache if it is enabled.
      Parameters:
      layoutLocalizations - the layout localizations
    • create

      LayoutLocalization create(long layoutLocalizationId)
      Creates a new layout localization with the primary key. Does not add the layout localization to the database.
      Parameters:
      layoutLocalizationId - the primary key for the new layout localization
      Returns:
      the new layout localization
    • remove

      LayoutLocalization remove(long layoutLocalizationId) throws NoSuchLayoutLocalizationException
      Removes the layout localization with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      layoutLocalizationId - the primary key of the layout localization
      Returns:
      the layout localization that was removed
      Throws:
      NoSuchLayoutLocalizationException - if a layout localization with the primary key could not be found
    • updateImpl

      LayoutLocalization updateImpl(LayoutLocalization layoutLocalization)
    • findByPrimaryKey

      LayoutLocalization findByPrimaryKey(long layoutLocalizationId) throws NoSuchLayoutLocalizationException
      Returns the layout localization with the primary key or throws a NoSuchLayoutLocalizationException if it could not be found.
      Parameters:
      layoutLocalizationId - the primary key of the layout localization
      Returns:
      the layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a layout localization with the primary key could not be found
    • fetchByPrimaryKey

      LayoutLocalization fetchByPrimaryKey(long layoutLocalizationId)
      Returns the layout localization with the primary key or returns null if it could not be found.
      Parameters:
      layoutLocalizationId - the primary key of the layout localization
      Returns:
      the layout localization, or null if a layout localization with the primary key could not be found
    • findAll

      Returns all the layout localizations.
      Returns:
      the layout localizations
    • findAll

      List<LayoutLocalization> findAll(int start, int end)
      Returns a range of all the layout localizations.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      Returns:
      the range of layout localizations
    • findAll

      List<LayoutLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns an ordered range of all the layout localizations.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout localizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of layout localizations
    • findAll

      List<LayoutLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the layout localizations.

      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.layout.model.impl.LayoutLocalizationModelImpl.

      Parameters:
      start - the lower bound of the range of layout localizations
      end - the upper bound of the range of layout 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 layout localizations
    • removeAll

      void removeAll()
      Removes all the layout localizations from the database.
    • countAll

      int countAll()
      Returns the number of layout localizations.
      Returns:
      the number of layout localizations