Class SiteNavigationMenuItemUtil
com.liferay.site.navigation.service.persistence.impl.SiteNavigationMenuItemPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SiteNavigationMenuItem siteNavigationMenuItem) Caches the site navigation menu item in the entity cache if it is enabled.static voidcacheResult(List<SiteNavigationMenuItem> siteNavigationMenuItems) Caches the site navigation menu items in the entity cache if it is enabled.static voidstatic voidclearCache(SiteNavigationMenuItem siteNavigationMenuItem) static intcountAll()Returns the number of site navigation menu items.static intcountByCompanyId(long companyId) Returns the number of site navigation menu items where companyId = ?.static intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of site navigation menu items where externalReferenceCode = ? and groupId = ?.static intcountByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where parentSiteNavigationMenuItemId = ?.static intcountByS_LikeN(long siteNavigationMenuId, String name) Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.static intcountByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static intcountBySiteNavigationMenuId(long siteNavigationMenuId) Returns the number of site navigation menu items where siteNavigationMenuId = ?.static intcountByUuid(String uuid) Returns the number of site navigation menu items where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of site navigation menu items where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of site navigation menu items where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SiteNavigationMenuItemcreate(long siteNavigationMenuItemId) Creates a new site navigation menu item with the primary key.static SiteNavigationMenuItemfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.static SiteNavigationMenuItemfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.static SiteNavigationMenuItemfetchByERC_G(String externalReferenceCode, long groupId) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.static SiteNavigationMenuItemfetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static SiteNavigationMenuItemfetchByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfetchByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfetchByPrimaryKey(long siteNavigationMenuItemId) Returns the site navigation menu item with the primary key or returnsnullif it could not be found.static Map<Serializable,SiteNavigationMenuItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SiteNavigationMenuItemfetchByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.static SiteNavigationMenuItemfetchByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.static SiteNavigationMenuItemfetchByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfetchByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfetchBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.static SiteNavigationMenuItemfetchBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.static SiteNavigationMenuItemfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenuItemfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenuItemfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.static SiteNavigationMenuItemfetchByUUID_G(String uuid, long groupId) Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnullif it could not be found.static SiteNavigationMenuItemfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static SiteNavigationMenuItemfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.static List<SiteNavigationMenuItem>findAll()Returns all the site navigation menu items.static List<SiteNavigationMenuItem>findAll(int start, int end) Returns a range of all the site navigation menu items.static List<SiteNavigationMenuItem>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items.static List<SiteNavigationMenuItem>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items.static List<SiteNavigationMenuItem>findByCompanyId(long companyId) Returns all the site navigation menu items where companyId = ?.static List<SiteNavigationMenuItem>findByCompanyId(long companyId, int start, int end) Returns a range of all the site navigation menu items where companyId = ?.static List<SiteNavigationMenuItem>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where companyId = ?.static List<SiteNavigationMenuItem>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where companyId = ?.static SiteNavigationMenuItemfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.static SiteNavigationMenuItemfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.static SiteNavigationMenuItem[]findByCompanyId_PrevAndNext(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where companyId = ?.static SiteNavigationMenuItemfindByERC_G(String externalReferenceCode, long groupId) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuItemExceptionif it could not be found.static List<SiteNavigationMenuItem>findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfindByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfindByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItem[]findByParentSiteNavigationMenuItemId_PrevAndNext(long siteNavigationMenuItemId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfindByPrimaryKey(long siteNavigationMenuItemId) Returns the site navigation menu item with the primary key or throws aNoSuchMenuItemExceptionif it could not be found.static List<SiteNavigationMenuItem>findByS_LikeN(long siteNavigationMenuId, String name) Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.static List<SiteNavigationMenuItem>findByS_LikeN(long siteNavigationMenuId, String name, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.static List<SiteNavigationMenuItem>findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.static List<SiteNavigationMenuItem>findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.static SiteNavigationMenuItemfindByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.static SiteNavigationMenuItemfindByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.static SiteNavigationMenuItem[]findByS_LikeN_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.static List<SiteNavigationMenuItem>findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfindByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItemfindByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static SiteNavigationMenuItem[]findByS_P_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.static List<SiteNavigationMenuItem>findBySiteNavigationMenuId(long siteNavigationMenuId) Returns all the site navigation menu items where siteNavigationMenuId = ?.static List<SiteNavigationMenuItem>findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ?.static List<SiteNavigationMenuItem>findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.static List<SiteNavigationMenuItem>findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.static SiteNavigationMenuItemfindBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.static SiteNavigationMenuItemfindBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.static SiteNavigationMenuItem[]findBySiteNavigationMenuId_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ?.static List<SiteNavigationMenuItem>findByUuid(String uuid) Returns all the site navigation menu items where uuid = ?.static List<SiteNavigationMenuItem>findByUuid(String uuid, int start, int end) Returns a range of all the site navigation menu items where uuid = ?.static List<SiteNavigationMenuItem>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ?.static List<SiteNavigationMenuItem>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ?.static List<SiteNavigationMenuItem>findByUuid_C(String uuid, long companyId) Returns all the site navigation menu items where uuid = ? and companyId = ?.static List<SiteNavigationMenuItem>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the site navigation menu items where uuid = ? and companyId = ?.static List<SiteNavigationMenuItem>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.static List<SiteNavigationMenuItem>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.static SiteNavigationMenuItemfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenuItemfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenuItem[]findByUuid_C_PrevAndNext(long siteNavigationMenuItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ? and companyId = ?.static SiteNavigationMenuItemfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.static SiteNavigationMenuItemfindByUUID_G(String uuid, long groupId) Returns the site navigation menu item where uuid = ? and groupId = ? or throws aNoSuchMenuItemExceptionif it could not be found.static SiteNavigationMenuItemfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.static SiteNavigationMenuItem[]findByUuid_PrevAndNext(long siteNavigationMenuItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ?.static List<SiteNavigationMenuItem>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SiteNavigationMenuItem>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SiteNavigationMenuItem>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) static SiteNavigationMenuItemremove(long siteNavigationMenuItemId) Removes the site navigation menu item with the primary key from the database.static voidRemoves all the site navigation menu items from the database.static voidremoveByCompanyId(long companyId) Removes all the site navigation menu items where companyId = ? from the database.static SiteNavigationMenuItemremoveByERC_G(String externalReferenceCode, long groupId) Removes the site navigation menu item where externalReferenceCode = ? and groupId = ? from the database.static voidremoveByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where parentSiteNavigationMenuItemId = ? from the database.static voidremoveByS_LikeN(long siteNavigationMenuId, String name) Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.static voidremoveByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.static voidremoveBySiteNavigationMenuId(long siteNavigationMenuId) Removes all the site navigation menu items where siteNavigationMenuId = ? from the database.static voidremoveByUuid(String uuid) Removes all the site navigation menu items where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the site navigation menu items where uuid = ? and companyId = ? from the database.static SiteNavigationMenuItemremoveByUUID_G(String uuid, long groupId) Removes the site navigation menu item where uuid = ? and groupId = ? from the database.static voidsetPersistence(SiteNavigationMenuItemPersistence persistence) static SiteNavigationMenuItemupdate(SiteNavigationMenuItem siteNavigationMenuItem) static SiteNavigationMenuItemupdate(SiteNavigationMenuItem siteNavigationMenuItem, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SiteNavigationMenuItemupdateImpl(SiteNavigationMenuItem siteNavigationMenuItem)
-
Constructor Details
-
SiteNavigationMenuItemUtil
public SiteNavigationMenuItemUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,SiteNavigationMenuItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
findByUuid
Returns all the site navigation menu items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching site navigation menu items
-
findByUuid
Returns a range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByUuid
public static List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid
public static List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
findByUuid_First
public static SiteNavigationMenuItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByUuid_First
public static SiteNavigationMenuItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByUuid_Last
public static SiteNavigationMenuItem findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByUuid_Last
public static SiteNavigationMenuItem fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByUuid_PrevAndNext
public static SiteNavigationMenuItem[] findByUuid_PrevAndNext(long siteNavigationMenuItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ?.- Parameters:
siteNavigationMenuItemId- the primary key of the current site navigation menu itemuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
removeByUuid
Removes all the site navigation menu items where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of site navigation menu items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching site navigation menu items
-
findByUUID_G
public static SiteNavigationMenuItem findByUUID_G(String uuid, long groupId) throws NoSuchMenuItemException Returns the site navigation menu item where uuid = ? and groupId = ? or throws aNoSuchMenuItemExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByUUID_G
Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
fetchByUUID_G
public static SiteNavigationMenuItem fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnullif 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 item, or
nullif a matching site navigation menu item could not be found
-
removeByUUID_G
public static SiteNavigationMenuItem removeByUUID_G(String uuid, long groupId) throws NoSuchMenuItemException Removes the site navigation menu item where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException
-
countByUUID_G
Returns the number of site navigation menu items where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching site navigation menu items
-
findByUuid_C
Returns all the site navigation menu items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching site navigation menu items
-
findByUuid_C
public static List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByUuid_C
public static List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid_C
public static List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
findByUuid_C_First
public static SiteNavigationMenuItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByUuid_C_First
public static SiteNavigationMenuItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByUuid_C_Last
public static SiteNavigationMenuItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByUuid_C_Last
public static SiteNavigationMenuItem fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByUuid_C_PrevAndNext
public static SiteNavigationMenuItem[] findByUuid_C_PrevAndNext(long siteNavigationMenuItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
siteNavigationMenuItemId- the primary key of the current site navigation menu itemuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
removeByUuid_C
Removes all the site navigation menu items where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of site navigation menu items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching site navigation menu items
-
findByCompanyId
Returns all the site navigation menu items where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching site navigation menu items
-
findByCompanyId
Returns a range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByCompanyId
public static List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site navigation menu items
-
findByCompanyId
public static List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
findByCompanyId_First
public static SiteNavigationMenuItem findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByCompanyId_First
public static SiteNavigationMenuItem fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByCompanyId_Last
public static SiteNavigationMenuItem findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByCompanyId_Last
public static SiteNavigationMenuItem fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByCompanyId_PrevAndNext
public static SiteNavigationMenuItem[] findByCompanyId_PrevAndNext(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where companyId = ?.- Parameters:
siteNavigationMenuItemId- the primary key of the current site navigation menu itemcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the site navigation menu items where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of site navigation menu items where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching site navigation menu items
-
findByS_P
public static List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item ID- Returns:
- the matching site navigation menu items
-
findByS_P
public static List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByS_P
public static List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site navigation menu items
-
findByS_P
public static List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDstart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
findByS_P_First
public static SiteNavigationMenuItem findByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByS_P_First
public static SiteNavigationMenuItem fetchByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByS_P_Last
public static SiteNavigationMenuItem findByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByS_P_Last
public static SiteNavigationMenuItem fetchByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByS_P_PrevAndNext
public static SiteNavigationMenuItem[] findByS_P_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuItemId- the primary key of the current site navigation menu itemsiteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
removeByS_P
public static void removeByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item ID
-
countByS_P
public static int countByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDparentSiteNavigationMenuItemId- the parent site navigation menu item ID- Returns:
- the number of matching site navigation menu items
-
findByS_LikeN
Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the name- Returns:
- the matching site navigation menu items
-
findByS_LikeN
public static List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the namestart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByS_LikeN
public static List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the namestart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching site navigation menu items
-
findByS_LikeN
public static List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the namestart- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
findByS_LikeN_First
public static SiteNavigationMenuItem findByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByS_LikeN_First
public static SiteNavigationMenuItem fetchByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByS_LikeN_Last
public static SiteNavigationMenuItem findByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByS_LikeN_Last
public static SiteNavigationMenuItem fetchByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
findByS_LikeN_PrevAndNext
public static SiteNavigationMenuItem[] findByS_LikeN_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuItemId- the primary key of the current site navigation menu itemsiteNavigationMenuId- the site navigation menu IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
removeByS_LikeN
Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the name
-
countByS_LikeN
Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId- the site navigation menu IDname- the name- Returns:
- the number of matching site navigation menu items
-
findByERC_G
public static SiteNavigationMenuItem findByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuItemExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching site navigation menu item
- Throws:
NoSuchMenuItemException- if a matching site navigation menu item could not be foundNoSuchMenuItemException
-
fetchByERC_G
Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching site navigation menu item, or
nullif a matching site navigation menu item could not be found
-
fetchByERC_G
public static SiteNavigationMenuItem fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnullif 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 item, or
nullif a matching site navigation menu item could not be found
-
removeByERC_G
public static SiteNavigationMenuItem removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException Removes the site navigation menu item where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException
-
countByERC_G
Returns the number of site navigation menu items where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching site navigation menu items
-
cacheResult
Caches the site navigation menu items in the entity cache if it is enabled.- Parameters:
siteNavigationMenuItems- the site navigation menu items
-
create
Creates a new site navigation menu item with the primary key. Does not add the site navigation menu item to the database.- Parameters:
siteNavigationMenuItemId- the primary key for the new site navigation menu item- Returns:
- the new site navigation menu item
-
remove
public static SiteNavigationMenuItem remove(long siteNavigationMenuItemId) throws NoSuchMenuItemException Removes the site navigation menu item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
siteNavigationMenuItemId- the primary key of the site navigation menu item- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
findByPrimaryKey
public static SiteNavigationMenuItem findByPrimaryKey(long siteNavigationMenuItemId) throws NoSuchMenuItemException Returns the site navigation menu item with the primary key or throws aNoSuchMenuItemExceptionif it could not be found.- Parameters:
siteNavigationMenuItemId- the primary key of the site navigation menu item- Returns:
- the site navigation menu item
- Throws:
NoSuchMenuItemException- if a site navigation menu item with the primary key could not be foundNoSuchMenuItemException
-
fetchByPrimaryKey
Returns the site navigation menu item with the primary key or returnsnullif it could not be found.- Parameters:
siteNavigationMenuItemId- the primary key of the site navigation menu item- Returns:
- the site navigation menu item, or
nullif a site navigation menu item with the primary key could not be found
-
findAll
Returns all the site navigation menu items.- Returns:
- the site navigation menu items
-
findAll
Returns a range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
start- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of site navigation menu items
-
findAll
public static List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
start- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of site navigation menu items
-
findAll
public static List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl.- Parameters:
start- the lower bound of the range of site navigation menu itemsend- the upper bound of the range of site navigation menu items (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 menu items
-
removeAll
public static void removeAll()Removes all the site navigation menu items from the database. -
countAll
public static int countAll()Returns the number of site navigation menu items.- Returns:
- the number of site navigation menu items
-
getPersistence
-