Class SiteNavigationMenuItemUtil

java.lang.Object
com.liferay.site.navigation.service.persistence.SiteNavigationMenuItemUtil

public class SiteNavigationMenuItemUtil extends Object
The persistence utility for the site navigation menu item service. This utility wraps com.liferay.site.navigation.service.persistence.impl.SiteNavigationMenuItemPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • SiteNavigationMenuItemUtil

      public SiteNavigationMenuItemUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

      public static SiteNavigationMenuItem update(SiteNavigationMenuItem siteNavigationMenuItem, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByUuid_First

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

      public static 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
      NoSuchMenuItemException
    • fetchByUuid_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByUuid

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByUUID_G

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

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

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByUuid_C_First

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

      public static 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
      NoSuchMenuItemException
    • fetchByUuid_C_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByUuid_C

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

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

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByCompanyId_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByCompanyId

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchBySiteNavigationMenuId_First

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

      public static 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
      NoSuchMenuItemException
    • fetchBySiteNavigationMenuId_Last

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

      public static 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
      NoSuchMenuItemException
    • removeBySiteNavigationMenuId

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByParentSiteNavigationMenuItemId_First

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

      public static 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
      NoSuchMenuItemException
    • fetchByParentSiteNavigationMenuItemId_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByParentSiteNavigationMenuItemId

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByS_P_First

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

      public static 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
      NoSuchMenuItemException
    • fetchByS_P_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByS_P

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

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

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

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

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByS_LikeN_First

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

      public static 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
      NoSuchMenuItemException
    • fetchByS_LikeN_Last

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

      public static 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
      NoSuchMenuItemException
    • removeByS_LikeN

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

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

      public static 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
      NoSuchMenuItemException
    • fetchByERC_G

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

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

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

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

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

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

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

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

      public static SiteNavigationMenuItem updateImpl(SiteNavigationMenuItem siteNavigationMenuItem)
    • findByPrimaryKey

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

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

      public static List<SiteNavigationMenuItem> findAll()
      Returns all the site navigation menu items.
      Returns:
      the site navigation menu items
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of site navigation menu items.
      Returns:
      the number of site navigation menu items
    • getPersistence

      public static SiteNavigationMenuItemPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SiteNavigationMenuItemPersistence persistence)