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 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 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 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 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 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 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 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
    • findByUuid_Last

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

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

      LayoutLocalization[] findByUuid_PrevAndNext(long layoutLocalizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ?.
      Parameters:
      layoutLocalizationId - the primary key of the current layout localization
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a layout localization with the primary key 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 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 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 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 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 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 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
    • findByUuid_C_Last

      LayoutLocalization findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the last 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 last matching layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a matching layout localization could not be found
    • fetchByUuid_C_Last

      LayoutLocalization fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
      Returns the last 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 last matching layout localization, or null if a matching layout localization could not be found
    • findByUuid_C_PrevAndNext

      LayoutLocalization[] findByUuid_C_PrevAndNext(long layoutLocalizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      layoutLocalizationId - the primary key of the current layout localization
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a layout localization with the primary key 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 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 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 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 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 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 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
    • findByPlid_Last

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

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

      LayoutLocalization[] findByPlid_PrevAndNext(long layoutLocalizationId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
      Returns the layout localizations before and after the current layout localization in the ordered set where plid = ?.
      Parameters:
      layoutLocalizationId - the primary key of the current layout localization
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next layout localization
      Throws:
      NoSuchLayoutLocalizationException - if a layout localization with the primary key 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 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 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 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 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 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 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