Interface SiteNavigationMenuItemPersistence

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

@ProviderType public interface SiteNavigationMenuItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SiteNavigationMenuItem>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SiteNavigationMenuItem>
The persistence interface for the site navigation menu item service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<SiteNavigationMenuItem> findByUuid(String uuid)
      Returns all the site navigation menu items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching site navigation menu items
    • findByUuid

      List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end)
      Returns a range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByUuid

      List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

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

      List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findByUuid_First

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

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

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

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

      SiteNavigationMenuItem[] findByUuid_PrevAndNext(long siteNavigationMenuItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the site navigation menu items where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of site navigation menu items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching site navigation menu items
    • findByUUID_G

      SiteNavigationMenuItem findByUUID_G(String uuid, long groupId) throws NoSuchMenuItemException
      Returns the site navigation menu item where uuid = ? and groupId = ? or throws a NoSuchMenuItemException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByUUID_G

      SiteNavigationMenuItem fetchByUUID_G(String uuid, long groupId)
      Returns the site navigation menu item 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 site navigation menu item, or null if a matching site navigation menu item could not be found
    • fetchByUUID_G

      SiteNavigationMenuItem fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the site navigation menu item 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 site navigation menu item, or null if a matching site navigation menu item could not be found
    • removeByUUID_G

      SiteNavigationMenuItem removeByUUID_G(String uuid, long groupId) throws NoSuchMenuItemException
      Removes the site navigation menu item where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the site navigation menu item that was removed
      Throws:
      NoSuchMenuItemException
    • countByUUID_G

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

      List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId)
      Returns all the site navigation menu items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching site navigation menu items
    • findByUuid_C

      List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByUuid_C

      List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

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

      List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findByUuid_C_First

      SiteNavigationMenuItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item 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 site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByUuid_C_First

      SiteNavigationMenuItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item 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 site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByUuid_C_Last

      SiteNavigationMenuItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item 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 site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByUuid_C_Last

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

      SiteNavigationMenuItem[] findByUuid_C_PrevAndNext(long siteNavigationMenuItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the site navigation menu items 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 site navigation menu items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching site navigation menu items
    • findByCompanyId

      List<SiteNavigationMenuItem> findByCompanyId(long companyId)
      Returns all the site navigation menu items where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching site navigation menu items
    • findByCompanyId

      List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByCompanyId

      List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menu items
    • findByCompanyId

      List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items 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 SiteNavigationMenuItemModelImpl.

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

      SiteNavigationMenuItem findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item 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 site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByCompanyId_First

      SiteNavigationMenuItem fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item 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 site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByCompanyId_Last

      SiteNavigationMenuItem findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item 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 site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByCompanyId_Last

      SiteNavigationMenuItem fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the last site navigation menu item 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 site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByCompanyId_PrevAndNext

      SiteNavigationMenuItem[] findByCompanyId_PrevAndNext(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where companyId = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the site navigation menu items where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of site navigation menu items where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching site navigation menu items
    • findBySiteNavigationMenuId

      List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId)
      Returns all the site navigation menu items where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      Returns:
      the matching site navigation menu items
    • findBySiteNavigationMenuId

      List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end)
      Returns a range of all the site navigation menu items where siteNavigationMenuId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findBySiteNavigationMenuId

      List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menu items
    • findBySiteNavigationMenuId

      List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findBySiteNavigationMenuId_First

      SiteNavigationMenuItem findBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchBySiteNavigationMenuId_First

      SiteNavigationMenuItem fetchBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findBySiteNavigationMenuId_Last

      SiteNavigationMenuItem findBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchBySiteNavigationMenuId_Last

      SiteNavigationMenuItem fetchBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findBySiteNavigationMenuId_PrevAndNext

      SiteNavigationMenuItem[] findBySiteNavigationMenuId_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      siteNavigationMenuId - the site navigation menu ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeBySiteNavigationMenuId

      void removeBySiteNavigationMenuId(long siteNavigationMenuId)
      Removes all the site navigation menu items where siteNavigationMenuId = ? from the database.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
    • countBySiteNavigationMenuId

      int countBySiteNavigationMenuId(long siteNavigationMenuId)
      Returns the number of site navigation menu items where siteNavigationMenuId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      Returns:
      the number of matching site navigation menu items
    • findByParentSiteNavigationMenuItemId

      List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
      Returns all the site navigation menu items where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      Returns:
      the matching site navigation menu items
    • findByParentSiteNavigationMenuItemId

      List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end)
      Returns a range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByParentSiteNavigationMenuItemId

      List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menu items
    • findByParentSiteNavigationMenuItemId

      List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findByParentSiteNavigationMenuItemId_First

      SiteNavigationMenuItem findByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByParentSiteNavigationMenuItemId_First

      SiteNavigationMenuItem fetchByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByParentSiteNavigationMenuItemId_Last

      SiteNavigationMenuItem findByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByParentSiteNavigationMenuItemId_Last

      SiteNavigationMenuItem fetchByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByParentSiteNavigationMenuItemId_PrevAndNext

      SiteNavigationMenuItem[] findByParentSiteNavigationMenuItemId_PrevAndNext(long siteNavigationMenuItemId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByParentSiteNavigationMenuItemId

      void removeByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
      Removes all the site navigation menu items where parentSiteNavigationMenuItemId = ? from the database.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
    • countByParentSiteNavigationMenuItemId

      int countByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
      Returns the number of site navigation menu items where parentSiteNavigationMenuItemId = ?.
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      Returns:
      the number of matching site navigation menu items
    • findByS_P

      List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
      Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      Returns:
      the matching site navigation menu items
    • findByS_P

      List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end)
      Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByS_P

      List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menu items
    • findByS_P

      List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findByS_P_First

      SiteNavigationMenuItem findByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByS_P_First

      SiteNavigationMenuItem fetchByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByS_P_Last

      SiteNavigationMenuItem findByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByS_P_Last

      SiteNavigationMenuItem fetchByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByS_P_PrevAndNext

      SiteNavigationMenuItem[] findByS_P_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByS_P

      void removeByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
      Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
    • countByS_P

      int countByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
      Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID
      Returns:
      the number of matching site navigation menu items
    • findByS_LikeN

      List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name)
      Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      Returns:
      the matching site navigation menu items
    • findByS_LikeN

      List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end)
      Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of matching site navigation menu items
    • findByS_LikeN

      List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menu items
    • findByS_LikeN

      List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.

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

      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (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 site navigation menu items
    • findByS_LikeN_First

      SiteNavigationMenuItem findByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByS_LikeN_First

      SiteNavigationMenuItem fetchByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByS_LikeN_Last

      SiteNavigationMenuItem findByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByS_LikeN_Last

      SiteNavigationMenuItem fetchByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • findByS_LikeN_PrevAndNext

      SiteNavigationMenuItem[] findByS_LikeN_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
      Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuItemId - the primary key of the current site navigation menu item
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • removeByS_LikeN

      void removeByS_LikeN(long siteNavigationMenuId, String name)
      Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
    • countByS_LikeN

      int countByS_LikeN(long siteNavigationMenuId, String name)
      Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the site navigation menu ID
      name - the name
      Returns:
      the number of matching site navigation menu items
    • findByERC_G

      SiteNavigationMenuItem findByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException
      Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or throws a NoSuchMenuItemException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching site navigation menu item
      Throws:
      NoSuchMenuItemException - if a matching site navigation menu item could not be found
    • fetchByERC_G

      SiteNavigationMenuItem fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • fetchByERC_G

      SiteNavigationMenuItem fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site navigation menu item, or null if a matching site navigation menu item could not be found
    • removeByERC_G

      SiteNavigationMenuItem removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException
      Removes the site navigation menu item where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the site navigation menu item that was removed
      Throws:
      NoSuchMenuItemException
    • countByERC_G

      int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of site navigation menu items where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching site navigation menu items
    • cacheResult

      void cacheResult(SiteNavigationMenuItem siteNavigationMenuItem)
      Caches the site navigation menu item in the entity cache if it is enabled.
      Parameters:
      siteNavigationMenuItem - the site navigation menu item
    • cacheResult

      void cacheResult(List<SiteNavigationMenuItem> siteNavigationMenuItems)
      Caches the site navigation menu items in the entity cache if it is enabled.
      Parameters:
      siteNavigationMenuItems - the site navigation menu items
    • create

      SiteNavigationMenuItem create(long siteNavigationMenuItemId)
      Creates a new site navigation menu item with the primary key. Does not add the site navigation menu item to the database.
      Parameters:
      siteNavigationMenuItemId - the primary key for the new site navigation menu item
      Returns:
      the new site navigation menu item
    • remove

      SiteNavigationMenuItem remove(long siteNavigationMenuItemId) throws NoSuchMenuItemException
      Removes the site navigation menu item with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      siteNavigationMenuItemId - the primary key of the site navigation menu item
      Returns:
      the site navigation menu item that was removed
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • updateImpl

      SiteNavigationMenuItem updateImpl(SiteNavigationMenuItem siteNavigationMenuItem)
    • findByPrimaryKey

      SiteNavigationMenuItem findByPrimaryKey(long siteNavigationMenuItemId) throws NoSuchMenuItemException
      Returns the site navigation menu item with the primary key or throws a NoSuchMenuItemException if it could not be found.
      Parameters:
      siteNavigationMenuItemId - the primary key of the site navigation menu item
      Returns:
      the site navigation menu item
      Throws:
      NoSuchMenuItemException - if a site navigation menu item with the primary key could not be found
    • fetchByPrimaryKey

      SiteNavigationMenuItem fetchByPrimaryKey(long siteNavigationMenuItemId)
      Returns the site navigation menu item with the primary key or returns null if it could not be found.
      Parameters:
      siteNavigationMenuItemId - the primary key of the site navigation menu item
      Returns:
      the site navigation menu item, or null if a site navigation menu item with the primary key could not be found
    • findAll

      Returns all the site navigation menu items.
      Returns:
      the site navigation menu items
    • findAll

      List<SiteNavigationMenuItem> findAll(int start, int end)
      Returns a range of all the site navigation menu items.

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

      Parameters:
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      Returns:
      the range of site navigation menu items
    • findAll

      List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
      Returns an ordered range of all the site navigation menu items.

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

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

      List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menu items.

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

      Parameters:
      start - the lower bound of the range of site navigation menu items
      end - the upper bound of the range of site navigation menu items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of site navigation menu items
    • removeAll

      void removeAll()
      Removes all the site navigation menu items from the database.
    • countAll

      int countAll()
      Returns the number of site navigation menu items.
      Returns:
      the number of site navigation menu items