Class SiteNavigationMenuUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(SiteNavigationMenu siteNavigationMenu) Caches the site navigation menu in the entity cache if it is enabled.static void
cacheResult
(List<SiteNavigationMenu> siteNavigationMenus) Caches the site navigation menus in the entity cache if it is enabled.static void
static void
clearCache
(SiteNavigationMenu siteNavigationMenu) static int
countAll()
Returns the number of site navigation menus.static int
countByCompanyId
(long companyId) Returns the number of site navigation menus where companyId = ?.static int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of site navigation menus where externalReferenceCode = ? and groupId = ?.static int
countByG_A
(long groupId, boolean auto) Returns the number of site navigation menus where groupId = ? and auto = ?.static int
countByG_LikeN
(long[] groupIds, String name) Returns the number of site navigation menus where groupId = any ? and name LIKE ?.static int
countByG_LikeN
(long groupId, String name) Returns the number of site navigation menus where groupId = ? and name LIKE ?.static int
countByG_N
(long groupId, String name) Returns the number of site navigation menus where groupId = ? and name = ?.static int
countByG_T
(long groupId, int type) Returns the number of site navigation menus where groupId = ? and type = ?.static int
countByGroupId
(long groupId) Returns the number of site navigation menus where groupId = ?.static int
countByGroupId
(long[] groupIds) Returns the number of site navigation menus where groupId = any ?.static int
countByUuid
(String uuid) Returns the number of site navigation menus where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of site navigation menus where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of site navigation menus where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SiteNavigationMenu
create
(long siteNavigationMenuId) Creates a new site navigation menu with the primary key.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 = ?.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 = ?.static SiteNavigationMenu
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static SiteNavigationMenu
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 ?.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 ?.static SiteNavigationMenu
fetchByG_N
(long groupId, String name) Returns the site navigation menu where groupId = ? and name = ? or returnsnull
if it could not be found.static SiteNavigationMenu
fetchByG_N
(long groupId, String name, boolean useFinderCache) Returns the site navigation menu where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu
fetchByPrimaryKey
(long siteNavigationMenuId) Returns the site navigation menu with the primary key or returnsnull
if it could not be found.static Map<Serializable,
SiteNavigationMenu> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.static SiteNavigationMenu
fetchByUUID_G
(String uuid, long groupId) Returns the site navigation menu where uuid = ? and groupId = ? or returnsnull
if it could not be found.static SiteNavigationMenu
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the site navigation menu where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 ?.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 ?.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 = ?.static int
filterCountByGroupId
(long groupId) Returns the number of site navigation menus that the user has permission to view where groupId = ?.static int
filterCountByGroupId
(long[] groupIds) Returns the number of site navigation menus that the user has permission to view where groupId = any ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu[]
filterFindByG_A_PrevAndNext
(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) 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 = ?.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 ?.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 ?.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 ?.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 ?.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 ?.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 ?.static SiteNavigationMenu[]
filterFindByG_LikeN_PrevAndNext
(long siteNavigationMenuId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) 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 ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu[]
filterFindByG_T_PrevAndNext
(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) 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 = ?.static List<SiteNavigationMenu>
filterFindByGroupId
(long groupId) Returns all the site navigation menus that the user has permission to view where groupId = ?.static List<SiteNavigationMenu>
filterFindByGroupId
(long[] groupIds) Returns all the site navigation menus that the user has permission to view where groupId = any ?.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 ?.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 ?.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 = ?.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 = ?.static SiteNavigationMenu[]
filterFindByGroupId_PrevAndNext
(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) 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 = ?.static List<SiteNavigationMenu>
findAll()
Returns all the site navigation menus.static List<SiteNavigationMenu>
findAll
(int start, int end) Returns a range of all the site navigation menus.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.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.static List<SiteNavigationMenu>
findByCompanyId
(long companyId) Returns all the site navigation menus where companyId = ?.static List<SiteNavigationMenu>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the site navigation menus where companyId = ?.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 = ?.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 = ?.static SiteNavigationMenu
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where companyId = ?.static SiteNavigationMenu
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where companyId = ?.static SiteNavigationMenu[]
findByCompanyId_PrevAndNext
(long siteNavigationMenuId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where companyId = ?.static SiteNavigationMenu
findByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuException
if it could not be found.static List<SiteNavigationMenu>
findByG_A
(long groupId, boolean auto) Returns all the site navigation menus where groupId = ? and auto = ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu
findByG_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 = ?.static SiteNavigationMenu
findByG_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 = ?.static SiteNavigationMenu[]
findByG_A_PrevAndNext
(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and auto = ?.static List<SiteNavigationMenu>
findByG_LikeN
(long[] groupIds, String name) Returns all the site navigation menus where groupId = any ? and name LIKE ?.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 ?.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 ?.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.static List<SiteNavigationMenu>
findByG_LikeN
(long groupId, String name) Returns all the site navigation menus where groupId = ? and name LIKE ?.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 ?.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 ?.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 ?.static SiteNavigationMenu
findByG_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 ?.static SiteNavigationMenu
findByG_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 ?.static SiteNavigationMenu[]
findByG_LikeN_PrevAndNext
(long siteNavigationMenuId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and name LIKE ?.static SiteNavigationMenu
Returns the site navigation menu where groupId = ? and name = ? or throws aNoSuchMenuException
if it could not be found.static List<SiteNavigationMenu>
findByG_T
(long groupId, int type) Returns all the site navigation menus where groupId = ? and type = ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu
findByG_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 = ?.static SiteNavigationMenu
findByG_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 = ?.static SiteNavigationMenu[]
findByG_T_PrevAndNext
(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and type = ?.static List<SiteNavigationMenu>
findByGroupId
(long groupId) Returns all the site navigation menus where groupId = ?.static List<SiteNavigationMenu>
findByGroupId
(long[] groupIds) Returns all the site navigation menus where groupId = any ?.static List<SiteNavigationMenu>
findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the site navigation menus where groupId = any ?.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 ?.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.static List<SiteNavigationMenu>
findByGroupId
(long groupId, int start, int end) Returns a range of all the site navigation menus where groupId = ?.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 = ?.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 = ?.static SiteNavigationMenu
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where groupId = ?.static SiteNavigationMenu
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where groupId = ?.static SiteNavigationMenu[]
findByGroupId_PrevAndNext
(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ?.static SiteNavigationMenu
findByPrimaryKey
(long siteNavigationMenuId) Returns the site navigation menu with the primary key or throws aNoSuchMenuException
if it could not be found.static List<SiteNavigationMenu>
findByUuid
(String uuid) Returns all the site navigation menus where uuid = ?.static List<SiteNavigationMenu>
findByUuid
(String uuid, int start, int end) Returns a range of all the site navigation menus where uuid = ?.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 = ?.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 = ?.static List<SiteNavigationMenu>
findByUuid_C
(String uuid, long companyId) Returns all the site navigation menus where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static SiteNavigationMenu
findByUuid_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 = ?.static SiteNavigationMenu
findByUuid_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 = ?.static SiteNavigationMenu[]
findByUuid_C_PrevAndNext
(long siteNavigationMenuId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenu
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where uuid = ?.static SiteNavigationMenu
findByUUID_G
(String uuid, long groupId) Returns the site navigation menu where uuid = ? and groupId = ? or throws aNoSuchMenuException
if it could not be found.static SiteNavigationMenu
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where uuid = ?.static SiteNavigationMenu[]
findByUuid_PrevAndNext
(long siteNavigationMenuId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the site navigation menus before and after the current site navigation menu in the ordered set where uuid = ?.static List<SiteNavigationMenu>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SiteNavigationMenu>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SiteNavigationMenu>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) static SiteNavigationMenu
remove
(long siteNavigationMenuId) Removes the site navigation menu with the primary key from the database.static void
Removes all the site navigation menus from the database.static void
removeByCompanyId
(long companyId) Removes all the site navigation menus where companyId = ? from the database.static SiteNavigationMenu
removeByERC_G
(String externalReferenceCode, long groupId) Removes the site navigation menu where externalReferenceCode = ? and groupId = ? from the database.static void
removeByG_A
(long groupId, boolean auto) Removes all the site navigation menus where groupId = ? and auto = ? from the database.static void
removeByG_LikeN
(long groupId, String name) Removes all the site navigation menus where groupId = ? and name LIKE ? from the database.static SiteNavigationMenu
removeByG_N
(long groupId, String name) Removes the site navigation menu where groupId = ? and name = ? from the database.static void
removeByG_T
(long groupId, int type) Removes all the site navigation menus where groupId = ? and type = ? from the database.static void
removeByGroupId
(long groupId) Removes all the site navigation menus where groupId = ? from the database.static void
removeByUuid
(String uuid) Removes all the site navigation menus where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the site navigation menus where uuid = ? and companyId = ? from the database.static SiteNavigationMenu
removeByUUID_G
(String uuid, long groupId) Removes the site navigation menu where uuid = ? and groupId = ? from the database.static void
setPersistence
(SiteNavigationMenuPersistence persistence) static SiteNavigationMenu
update
(SiteNavigationMenu siteNavigationMenu) static SiteNavigationMenu
update
(SiteNavigationMenu siteNavigationMenu, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SiteNavigationMenu
updateImpl
(SiteNavigationMenu siteNavigationMenu)
-
Constructor Details
-
SiteNavigationMenuUtil
public SiteNavigationMenuUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
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)
-
findByUuid
Returns all the site navigation menus where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching site navigation menus
-
findByUuid
Returns a range of all the site navigation menus where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menuuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
removeByUuid
Removes all the site navigation menus where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of site navigation menus where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching site navigation menus
-
findByUUID_G
Returns the site navigation menu where uuid = ? and groupId = ? or throws aNoSuchMenuException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
fetchByUUID_G
Returns the site navigation menu where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching site navigation menu, or
null
if a matching site navigation menu could not be found
-
fetchByUUID_G
Returns the site navigation menu where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- 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 uuidgroupId
- the group ID- Returns:
- the site navigation menu that was removed
- Throws:
NoSuchMenuException
-
countByUUID_G
Returns the number of site navigation menus where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching site navigation menus
-
findByUuid_C
Returns all the site navigation menus where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menuuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
removeByUuid_C
Removes all the site navigation menus where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of site navigation menus where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching site navigation menus
-
findByGroupId
Returns all the site navigation menus where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching site navigation menus
-
findByGroupId
Returns a range of all the site navigation menus where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menugroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 menugroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menus that the user has permission to view
-
findByGroupId
Returns all the site navigation menus where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDs- Returns:
- the matching site navigation menus
-
findByGroupId
Returns a range of all the site navigation menus where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
Returns all the site navigation menus where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching site navigation menus
-
findByCompanyId
Returns a range of all the site navigation menus where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menucompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
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
Returns the site navigation menu where groupId = ? and name = ? or throws aNoSuchMenuException
if it could not be found.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
fetchByG_N
Returns the site navigation menu where groupId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching site navigation menu, or
null
if a matching site navigation menu could not be found
-
fetchByG_N
Returns the site navigation menu where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDname
- the nameuseFinderCache
- 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
Removes the site navigation menu where groupId = ? and name = ? from the database.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the site navigation menu that was removed
- Throws:
NoSuchMenuException
-
countByG_N
Returns the number of site navigation menus where groupId = ? and name = ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching site navigation menus
-
findByG_LikeN
Returns all the site navigation menus where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching site navigation menus
-
findByG_LikeN
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menugroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByG_LikeN
Returns all the site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 menugroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByG_LikeN
Returns all the site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.- Parameters:
groupIds
- the group IDsname
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menus that the user has permission to view
-
findByG_LikeN
Returns all the site navigation menus where groupId = any ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menus
-
removeByG_LikeN
Removes all the site navigation menus where groupId = ? and name LIKE ? from the database.- Parameters:
groupId
- the group IDname
- the name
-
countByG_LikeN
Returns the number of site navigation menus where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching site navigation menus
-
countByG_LikeN
Returns the number of site navigation menus where groupId = any ? and name LIKE ?.- Parameters:
groupIds
- the group IDsname
- the name- Returns:
- the number of matching site navigation menus
-
filterCountByG_LikeN
Returns the number of site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching site navigation menus that the user has permission to view
-
filterCountByG_LikeN
Returns the number of site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.- Parameters:
groupIds
- the group IDsname
- the name- Returns:
- the number of matching site navigation menus that the user has permission to view
-
findByG_T
Returns all the site navigation menus where groupId = ? and type = ?.- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the matching site navigation menus
-
findByG_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menugroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByG_T
Returns all the site navigation menus that the user has permission to view where groupId = ? and type = ?.- Parameters:
groupId
- the group IDtype
- the type- Returns:
- the matching site navigation menus that the user has permission to view
-
filterFindByG_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 menugroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
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 IDtype
- 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 IDtype
- 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 IDtype
- the type- Returns:
- the number of matching site navigation menus that the user has permission to view
-
findByG_A
Returns all the site navigation menus where groupId = ? and auto = ?.- Parameters:
groupId
- the group IDauto
- the auto- Returns:
- the matching site navigation menus
-
findByG_A
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
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 IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- 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 menugroupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
filterFindByG_A
Returns all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.- Parameters:
groupId
- the group IDauto
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 menugroupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu
- Throws:
NoSuchMenuException
- if a site navigation menu with the primary key could not be foundNoSuchMenuException
-
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 IDauto
- 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 IDauto
- 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 IDauto
- 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 aNoSuchMenuException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching site navigation menu
- Throws:
NoSuchMenuException
- if a matching site navigation menu could not be foundNoSuchMenuException
-
fetchByERC_G
Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- 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 codegroupId
- the group ID- Returns:
- the site navigation menu that was removed
- Throws:
NoSuchMenuException
-
countByERC_G
Returns the number of site navigation menus where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching site navigation menus
-
cacheResult
Caches the site navigation menus in the entity cache if it is enabled.- Parameters:
siteNavigationMenus
- the site navigation menus
-
create
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
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 foundNoSuchMenuException
-
findByPrimaryKey
public static SiteNavigationMenu findByPrimaryKey(long siteNavigationMenuId) throws NoSuchMenuException Returns the site navigation menu with the primary key or throws aNoSuchMenuException
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 foundNoSuchMenuException
-
fetchByPrimaryKey
Returns the site navigation menu with the primary key or returnsnull
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
Returns all the site navigation menus.- Returns:
- the site navigation menus
-
findAll
Returns a range of all the site navigation menus.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menusend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-