Interface SiteNavigationMenuPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SiteNavigationMenu>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SiteNavigationMenu>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SiteNavigationMenu siteNavigationMenu) Caches the site navigation menu in the entity cache if it is enabled.void
cacheResult
(List<SiteNavigationMenu> siteNavigationMenus) Caches the site navigation menus in the entity cache if it is enabled.int
countAll()
Returns the number of site navigation menus.int
countByCompanyId
(long companyId) Returns the number of site navigation menus where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of site navigation menus where externalReferenceCode = ? and groupId = ?.int
countByG_A
(long groupId, boolean auto) Returns the number of site navigation menus where groupId = ? and auto = ?.int
countByG_LikeN
(long[] groupIds, String name) Returns the number of site navigation menus where groupId = any ? and name LIKE ?.int
countByG_LikeN
(long groupId, String name) Returns the number of site navigation menus where groupId = ? and name LIKE ?.int
countByG_N
(long groupId, String name) Returns the number of site navigation menus where groupId = ? and name = ?.int
countByG_T
(long groupId, int type) Returns the number of site navigation menus where groupId = ? and type = ?.int
countByGroupId
(long groupId) Returns the number of site navigation menus where groupId = ?.int
countByGroupId
(long[] groupIds) Returns the number of site navigation menus where groupId = any ?.int
countByUuid
(String uuid) Returns the number of site navigation menus where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of site navigation menus where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of site navigation menus where uuid = ? and groupId = ?.create
(long siteNavigationMenuId) Creates a new site navigation menu with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where companyId = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.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.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 = ?.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 = ?.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 ?.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 ?.fetchByG_N
(long groupId, String name) Returns the site navigation menu where groupId = ? and name = ? or returnsnull
if it could not be found.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.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where groupId = ?.fetchByPrimaryKey
(long siteNavigationMenuId) Returns the site navigation menu with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the site navigation menu where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where uuid = ?.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 = ?.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 ?.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 ?.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 = ?.int
filterCountByGroupId
(long groupId) Returns the number of site navigation menus that the user has permission to view where groupId = ?.int
filterCountByGroupId
(long[] groupIds) Returns the number of site navigation menus that the user has permission to view where groupId = any ?.filterFindByG_A
(long groupId, boolean auto) Returns all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.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 = ?.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 = ?.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 = ?.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 ?.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 ?.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 ?.filterFindByG_LikeN
(long groupId, String name) Returns all the site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.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 ?.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 ?.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 ?.filterFindByG_T
(long groupId, int type) Returns all the site navigation menus that the user has permission to view where groupId = ? and type = ?.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 = ?.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 = ?.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 = ?.filterFindByGroupId
(long groupId) Returns all the site navigation menus that the user has permission to view where groupId = ?.filterFindByGroupId
(long[] groupIds) Returns all the site navigation menus that the user has permission to view where groupId = any ?.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 ?.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 ?.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 = ?.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 = ?.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 = ?.findAll()
Returns all the site navigation menus.findAll
(int start, int end) Returns a range of all the site navigation menus.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns an ordered range of all the site navigation menus.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.findByCompanyId
(long companyId) Returns all the site navigation menus where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the site navigation menus where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where companyId = ?.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 = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuException
if it could not be found.findByG_A
(long groupId, boolean auto) Returns all the site navigation menus where groupId = ? and auto = ?.findByG_A
(long groupId, boolean auto, int start, int end) Returns a range of all the site navigation menus where groupId = ? and auto = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_LikeN
(long[] groupIds, String name) Returns all the site navigation menus where groupId = any ? and name LIKE ?.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 ?.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 ?.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.findByG_LikeN
(long groupId, String name) Returns all the site navigation menus where groupId = ? and name LIKE ?.findByG_LikeN
(long groupId, String name, int start, int end) Returns a range of all the site navigation menus where groupId = ? and name LIKE ?.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 ?.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 ?.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 ?.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 ?.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 ?.Returns the site navigation menu where groupId = ? and name = ? or throws aNoSuchMenuException
if it could not be found.findByG_T
(long groupId, int type) Returns all the site navigation menus where groupId = ? and type = ?.findByG_T
(long groupId, int type, int start, int end) Returns a range of all the site navigation menus where groupId = ? and type = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the site navigation menus where groupId = ?.findByGroupId
(long[] groupIds) Returns all the site navigation menus where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the site navigation menus where groupId = any ?.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 ?.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.findByGroupId
(long groupId, int start, int end) Returns a range of all the site navigation menus where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long siteNavigationMenuId) Returns the site navigation menu with the primary key or throws aNoSuchMenuException
if it could not be found.findByUuid
(String uuid) Returns all the site navigation menus where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the site navigation menus where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the site navigation menus where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the site navigation menus where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the first site navigation menu in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the site navigation menu where uuid = ? and groupId = ? or throws aNoSuchMenuException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) Returns the last site navigation menu in the ordered set where uuid = ?.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 = ?.remove
(long siteNavigationMenuId) Removes the site navigation menu with the primary key from the database.void
Removes all the site navigation menus from the database.void
removeByCompanyId
(long companyId) Removes all the site navigation menus where companyId = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the site navigation menu where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_A
(long groupId, boolean auto) Removes all the site navigation menus where groupId = ? and auto = ? from the database.void
removeByG_LikeN
(long groupId, String name) Removes all the site navigation menus where groupId = ? and name LIKE ? from the database.removeByG_N
(long groupId, String name) Removes the site navigation menu where groupId = ? and name = ? from the database.void
removeByG_T
(long groupId, int type) Removes all the site navigation menus where groupId = ? and type = ? from the database.void
removeByGroupId
(long groupId) Removes all the site navigation menus where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the site navigation menus where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the site navigation menus where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the site navigation menu where uuid = ? and groupId = ? from the database.updateImpl
(SiteNavigationMenu siteNavigationMenu) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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 found
-
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
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
fetchByGroupId_First
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
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 found
-
fetchByGroupId_Last
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
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 found
-
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
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
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 found
-
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
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
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
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
void removeByGroupId(long groupId) Removes all the site navigation menus where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the site navigation menus where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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 found
-
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
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
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
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 found
-
fetchByG_LikeN_First
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
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 found
-
fetchByG_LikeN_Last
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
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 found
-
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
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
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
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 found
-
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
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
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
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
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
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
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
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
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 found
-
fetchByG_T_First
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
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 found
-
fetchByG_T_Last
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
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 found
-
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
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
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 found
-
removeByG_T
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
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
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
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
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
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 found
-
fetchByG_A_First
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
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 found
-
fetchByG_A_Last
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
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 found
-
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
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
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
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 found
-
removeByG_A
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
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
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
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 found
-
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
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
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 found
-
findByPrimaryKey
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 found
-
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
List<SiteNavigationMenu> 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
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
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
void removeAll()Removes all the site navigation menus from the database. -
countAll
int countAll()Returns the number of site navigation menus.- Returns:
- the number of site navigation menus
-