Class SiteNavigationMenuUtil

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

public class SiteNavigationMenuUtil extends Object
The persistence utility for the site navigation menu service. This utility wraps com.liferay.site.navigation.service.persistence.impl.SiteNavigationMenuPersistenceImpl 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

    • SiteNavigationMenuUtil

      public SiteNavigationMenuUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(SiteNavigationMenu siteNavigationMenu)
      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,SiteNavigationMenu> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

      public static List<SiteNavigationMenu> findByUuid(String uuid)
      Returns all the site navigation menus where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching site navigation menus
    • findByUuid

      public static List<SiteNavigationMenu> findByUuid(String uuid, int start, int end)
      Returns a range of all the site navigation menus 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 SiteNavigationMenuModelImpl.

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

      public static List<SiteNavigationMenu> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus 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 SiteNavigationMenuModelImpl.

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

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

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

      public static SiteNavigationMenu findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the first site navigation menu 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
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByUuid_First

      public static SiteNavigationMenu fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the first site navigation menu 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, or null if a matching site navigation menu could not be found
    • findByUuid_Last

      public static SiteNavigationMenu findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the last site navigation menu 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
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByUuid_Last

      public static SiteNavigationMenu fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the last site navigation menu 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, or null if a matching site navigation menu could not be found
    • findByUuid_PrevAndNext

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

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

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

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

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

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

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

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

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

      public static List<SiteNavigationMenu> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the site navigation menus 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 SiteNavigationMenuModelImpl.

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

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

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

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

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

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

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

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

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

      public static SiteNavigationMenu[] findByUuid_C_PrevAndNext(long siteNavigationMenuId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      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
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • removeByUuid_C

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

      public static List<SiteNavigationMenu> findByGroupId(long groupId)
      Returns all the site navigation menus where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long groupId, int start, int end)
      Returns a range of all the site navigation menus where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • findByGroupId_First

      public static SiteNavigationMenu findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the first site navigation menu in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByGroupId_First

      public static SiteNavigationMenu fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the first site navigation menu in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByGroupId_Last

      public static SiteNavigationMenu findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the last site navigation menu in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByGroupId_Last

      public static SiteNavigationMenu fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the last site navigation menu in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByGroupId_PrevAndNext

      public static SiteNavigationMenu[] findByGroupId_PrevAndNext(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long groupId)
      Returns all the site navigation menus that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      public static SiteNavigationMenu[] filterFindByGroupId_PrevAndNext(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds)
      Returns all the site navigation menus that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByGroupId

      public static List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permission to view where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long[] groupIds)
      Returns all the site navigation menus where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      Returns:
      the matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the site navigation menus where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByGroupId

      public static List<SiteNavigationMenu> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the site navigation menus where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of site navigation menus where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching site navigation menus
    • countByGroupId

      public static int countByGroupId(long[] groupIds)
      Returns the number of site navigation menus where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching site navigation menus
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of site navigation menus that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • filterCountByGroupId

      public static int filterCountByGroupId(long[] groupIds)
      Returns the number of site navigation menus that the user has permission to view where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • findByCompanyId

      public static List<SiteNavigationMenu> findByCompanyId(long companyId)
      Returns all the site navigation menus where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching site navigation menus
    • findByCompanyId

      public static List<SiteNavigationMenu> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the site navigation menus 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 SiteNavigationMenuModelImpl.

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

      public static List<SiteNavigationMenu> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus 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 SiteNavigationMenuModelImpl.

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

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

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

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

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

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

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

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

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

      public static int countByCompanyId(long companyId)
      Returns the number of site navigation menus where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching site navigation menus
    • findByG_N

      public static SiteNavigationMenu findByG_N(long groupId, String name) throws NoSuchMenuException
      Returns the site navigation menu where groupId = ? and name = ? or throws a NoSuchMenuException if it could not be found.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_N

      public static SiteNavigationMenu fetchByG_N(long groupId, String name)
      Returns the site navigation menu where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching site navigation menu, or null if a matching site navigation menu could not be found
    • fetchByG_N

      public static SiteNavigationMenu fetchByG_N(long groupId, String name, boolean useFinderCache)
      Returns the site navigation menu where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching site navigation menu, or null if a matching site navigation menu could not be found
    • removeByG_N

      public static SiteNavigationMenu removeByG_N(long groupId, String name) throws NoSuchMenuException
      Removes the site navigation menu where groupId = ? and name = ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the site navigation menu that was removed
      Throws:
      NoSuchMenuException
    • countByG_N

      public static int countByG_N(long groupId, String name)
      Returns the number of site navigation menus where groupId = ? and name = ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long groupId, String name)
      Returns all the site navigation menus where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long groupId, String name, int start, int end)
      Returns a range of all the site navigation menus where groupId = ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • findByG_LikeN_First

      public static SiteNavigationMenu findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the first site navigation menu in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_LikeN_First

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

      public static SiteNavigationMenu findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the last site navigation menu in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_LikeN_Last

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

      public static SiteNavigationMenu[] findByG_LikeN_PrevAndNext(long siteNavigationMenuId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, String name)
      Returns all the site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, String name, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • filterFindByG_LikeN_PrevAndNext

      public static SiteNavigationMenu[] filterFindByG_LikeN_PrevAndNext(long siteNavigationMenuId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, String name)
      Returns all the site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, String name, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = any ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByG_LikeN

      public static List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permission to view where groupId = any ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, String name)
      Returns all the site navigation menus where groupId = any ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, String name, int start, int end)
      Returns a range of all the site navigation menus where groupId = any ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = any ? 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 SiteNavigationMenuModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByG_LikeN

      public static List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ? and name LIKE ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • removeByG_LikeN

      public static void removeByG_LikeN(long groupId, String name)
      Removes all the site navigation menus where groupId = ? and name LIKE ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
    • countByG_LikeN

      public static int countByG_LikeN(long groupId, String name)
      Returns the number of site navigation menus where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching site navigation menus
    • countByG_LikeN

      public static int countByG_LikeN(long[] groupIds, String name)
      Returns the number of site navigation menus where groupId = any ? and name LIKE ?.
      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the number of matching site navigation menus
    • filterCountByG_LikeN

      public static int filterCountByG_LikeN(long groupId, String name)
      Returns the number of site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • filterCountByG_LikeN

      public static int filterCountByG_LikeN(long[] groupIds, String name)
      Returns the number of site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • findByG_T

      public static List<SiteNavigationMenu> findByG_T(long groupId, int type)
      Returns all the site navigation menus where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching site navigation menus
    • findByG_T

      public static List<SiteNavigationMenu> findByG_T(long groupId, int type, int start, int end)
      Returns a range of all the site navigation menus where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByG_T

      public static List<SiteNavigationMenu> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByG_T

      public static List<SiteNavigationMenu> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • findByG_T_First

      public static SiteNavigationMenu findByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the first site navigation menu in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_T_First

      public static SiteNavigationMenu fetchByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the first site navigation menu in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByG_T_Last

      public static SiteNavigationMenu findByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the last site navigation menu in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_T_Last

      public static SiteNavigationMenu fetchByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the last site navigation menu in the ordered set where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByG_T_PrevAndNext

      public static SiteNavigationMenu[] findByG_T_PrevAndNext(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and type = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByG_T

      public static List<SiteNavigationMenu> filterFindByG_T(long groupId, int type)
      Returns all the site navigation menus that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByG_T

      public static List<SiteNavigationMenu> filterFindByG_T(long groupId, int type, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByG_T

      public static List<SiteNavigationMenu> filterFindByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? and type = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • filterFindByG_T_PrevAndNext

      public static SiteNavigationMenu[] filterFindByG_T_PrevAndNext(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • removeByG_T

      public static void removeByG_T(long groupId, int type)
      Removes all the site navigation menus where groupId = ? and type = ? from the database.
      Parameters:
      groupId - the group ID
      type - the type
    • countByG_T

      public static int countByG_T(long groupId, int type)
      Returns the number of site navigation menus where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching site navigation menus
    • filterCountByG_T

      public static int filterCountByG_T(long groupId, int type)
      Returns the number of site navigation menus that the user has permission to view where groupId = ? and type = ?.
      Parameters:
      groupId - the group ID
      type - the type
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • findByG_A

      public static List<SiteNavigationMenu> findByG_A(long groupId, boolean auto)
      Returns all the site navigation menus where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      Returns:
      the matching site navigation menus
    • findByG_A

      public static List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, int start, int end)
      Returns a range of all the site navigation menus where groupId = ? and auto = ?.

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

      Parameters:
      groupId - the group ID
      auto - the auto
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus
    • findByG_A

      public static List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus where groupId = ? and auto = ?.

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

      Parameters:
      groupId - the group ID
      auto - the auto
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus
    • findByG_A

      public static List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the site navigation menus where groupId = ? and auto = ?.

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

      Parameters:
      groupId - the group ID
      auto - the auto
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • findByG_A_First

      public static SiteNavigationMenu findByG_A_First(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the first site navigation menu in the ordered set where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_A_First

      public static SiteNavigationMenu fetchByG_A_First(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the first site navigation menu in the ordered set where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByG_A_Last

      public static SiteNavigationMenu findByG_A_Last(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the last site navigation menu in the ordered set where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu
      Throws:
      NoSuchMenuException - if a matching site navigation menu could not be found
      NoSuchMenuException
    • fetchByG_A_Last

      public static SiteNavigationMenu fetchByG_A_Last(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns the last site navigation menu in the ordered set where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching site navigation menu, or null if a matching site navigation menu could not be found
    • findByG_A_PrevAndNext

      public static SiteNavigationMenu[] findByG_A_PrevAndNext(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and auto = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • filterFindByG_A

      public static List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto)
      Returns all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      Returns:
      the matching site navigation menus that the user has permission to view
    • filterFindByG_A

      public static List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto, int start, int end)
      Returns a range of all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.

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

      Parameters:
      groupId - the group ID
      auto - the auto
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      Returns:
      the range of matching site navigation menus that the user has permission to view
    • filterFindByG_A

      public static List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? and auto = ?.

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

      Parameters:
      groupId - the group ID
      auto - the auto
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching site navigation menus that the user has permission to view
    • filterFindByG_A_PrevAndNext

      public static SiteNavigationMenu[] filterFindByG_A_PrevAndNext(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
      Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and auto = ?.
      Parameters:
      siteNavigationMenuId - the primary key of the current site navigation menu
      groupId - the group ID
      auto - the auto
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • removeByG_A

      public static void removeByG_A(long groupId, boolean auto)
      Removes all the site navigation menus where groupId = ? and auto = ? from the database.
      Parameters:
      groupId - the group ID
      auto - the auto
    • countByG_A

      public static int countByG_A(long groupId, boolean auto)
      Returns the number of site navigation menus where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      Returns:
      the number of matching site navigation menus
    • filterCountByG_A

      public static int filterCountByG_A(long groupId, boolean auto)
      Returns the number of site navigation menus that the user has permission to view where groupId = ? and auto = ?.
      Parameters:
      groupId - the group ID
      auto - the auto
      Returns:
      the number of matching site navigation menus that the user has permission to view
    • findByERC_G

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

      public static SiteNavigationMenu fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the site navigation menu 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, or null if a matching site navigation menu could not be found
    • fetchByERC_G

      public static SiteNavigationMenu fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the site navigation menu 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, or null if a matching site navigation menu could not be found
    • removeByERC_G

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

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

      public static void cacheResult(SiteNavigationMenu siteNavigationMenu)
      Caches the site navigation menu in the entity cache if it is enabled.
      Parameters:
      siteNavigationMenu - the site navigation menu
    • cacheResult

      public static void cacheResult(List<SiteNavigationMenu> siteNavigationMenus)
      Caches the site navigation menus in the entity cache if it is enabled.
      Parameters:
      siteNavigationMenus - the site navigation menus
    • create

      public static SiteNavigationMenu create(long siteNavigationMenuId)
      Creates a new site navigation menu with the primary key. Does not add the site navigation menu to the database.
      Parameters:
      siteNavigationMenuId - the primary key for the new site navigation menu
      Returns:
      the new site navigation menu
    • remove

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

      public static SiteNavigationMenu updateImpl(SiteNavigationMenu siteNavigationMenu)
    • findByPrimaryKey

      public static SiteNavigationMenu findByPrimaryKey(long siteNavigationMenuId) throws NoSuchMenuException
      Returns the site navigation menu with the primary key or throws a NoSuchMenuException if it could not be found.
      Parameters:
      siteNavigationMenuId - the primary key of the site navigation menu
      Returns:
      the site navigation menu
      Throws:
      NoSuchMenuException - if a site navigation menu with the primary key could not be found
      NoSuchMenuException
    • fetchByPrimaryKey

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

      public static List<SiteNavigationMenu> findAll()
      Returns all the site navigation menus.
      Returns:
      the site navigation menus
    • findAll

      public static List<SiteNavigationMenu> findAll(int start, int end)
      Returns a range of all the site navigation menus.

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

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

      public static List<SiteNavigationMenu> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
      Returns an ordered range of all the site navigation menus.

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

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

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

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

      Parameters:
      start - the lower bound of the range of site navigation menus
      end - the upper bound of the range of site navigation menus (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 menus
    • removeAll

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

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

      public static SiteNavigationMenuPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SiteNavigationMenuPersistence persistence)