public class SiteNavigationMenuItemUtil
extends java.lang.Object
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
SiteNavigationMenuItemPersistence
Constructor and Description |
---|
SiteNavigationMenuItemUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SiteNavigationMenuItem> siteNavigationMenuItems)
Caches the site navigation menu items in the entity cache if it is enabled.
|
static void |
cacheResult(SiteNavigationMenuItem siteNavigationMenuItem)
Caches the site navigation menu item in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SiteNavigationMenuItem siteNavigationMenuItem) |
static int |
countAll()
Returns the number of site navigation menu items.
|
static int |
countByCompanyId(long companyId)
Returns the number of site navigation menu items where companyId = ?.
|
static int |
countByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
Returns the number of site navigation menu items where parentSiteNavigationMenuItemId = ?.
|
static int |
countByS_LikeN(long siteNavigationMenuId,
java.lang.String name)
Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.
|
static int |
countByS_P(long siteNavigationMenuId,
long parentSiteNavigationMenuItemId)
Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
|
static int |
countBySiteNavigationMenuId(long siteNavigationMenuId)
Returns the number of site navigation menu items where siteNavigationMenuId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of site navigation menu items where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of site navigation menu items where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of site navigation menu items where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SiteNavigationMenuItem |
create(long siteNavigationMenuItemId)
Creates a new site navigation menu item with the primary key.
|
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 = ?.
|
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 = ?.
|
static SiteNavigationMenuItem |
fetchByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
|
static SiteNavigationMenuItem |
fetchByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.
|
static SiteNavigationMenuItem |
fetchByPrimaryKey(long siteNavigationMenuItemId)
Returns the site navigation menu item with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SiteNavigationMenuItem> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SiteNavigationMenuItem |
fetchByS_LikeN_First(long siteNavigationMenuId,
java.lang.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 SiteNavigationMenuItem |
fetchByS_LikeN_Last(long siteNavigationMenuId,
java.lang.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 |
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 = ?.
|
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 = ?.
|
static SiteNavigationMenuItem |
fetchBySiteNavigationMenuId_First(long siteNavigationMenuId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.
|
static SiteNavigationMenuItem |
fetchBySiteNavigationMenuId_Last(long siteNavigationMenuId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.
|
static SiteNavigationMenuItem |
fetchByUuid_C_First(java.lang.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 SiteNavigationMenuItem |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the first site navigation menu item in the ordered set where uuid = ?.
|
static SiteNavigationMenuItem |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the site navigation menu item where uuid = ? and groupId = ? or returns
null if it could not be found. |
static SiteNavigationMenuItem |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the site navigation menu item where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteNavigationMenuItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the last site navigation menu item in the ordered set where uuid = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findAll()
Returns all the site navigation menu items.
|
static java.util.List<SiteNavigationMenuItem> |
findAll(int start,
int end)
Returns a range of all the site navigation menu items.
|
static java.util.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 java.util.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 SiteNavigationMenuItem |
findByCompanyId_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 SiteNavigationMenuItem |
findByCompanyId_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 java.util.List<SiteNavigationMenuItem> |
findByCompanyId(long companyId)
Returns all the site navigation menu items where companyId = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the site navigation menu items where companyId = ?.
|
static java.util.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 java.util.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 SiteNavigationMenuItem |
findByParentSiteNavigationMenuItemId_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 SiteNavigationMenuItem |
findByParentSiteNavigationMenuItemId_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 java.util.List<SiteNavigationMenuItem> |
findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
Returns all the site navigation menu items where parentSiteNavigationMenuItemId = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId,
int start,
int end)
Returns a range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.
|
static java.util.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 java.util.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 SiteNavigationMenuItem |
findByPrimaryKey(long siteNavigationMenuItemId)
Returns the site navigation menu item with the primary key or throws a
NoSuchMenuItemException if it could not be found. |
static SiteNavigationMenuItem |
findByS_LikeN_First(long siteNavigationMenuId,
java.lang.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 SiteNavigationMenuItem |
findByS_LikeN_Last(long siteNavigationMenuId,
java.lang.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,
java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByS_LikeN(long siteNavigationMenuId,
java.lang.String name)
Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByS_LikeN(long siteNavigationMenuId,
java.lang.String name,
int start,
int end)
Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByS_LikeN(long siteNavigationMenuId,
java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByS_LikeN(long siteNavigationMenuId,
java.lang.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 SiteNavigationMenuItem |
findByS_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 SiteNavigationMenuItem |
findByS_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 java.util.List<SiteNavigationMenuItem> |
findByS_P(long siteNavigationMenuId,
long parentSiteNavigationMenuItemId)
Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.
|
static java.util.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 java.util.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 java.util.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 SiteNavigationMenuItem |
findBySiteNavigationMenuId_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 SiteNavigationMenuItem |
findBySiteNavigationMenuId_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 java.util.List<SiteNavigationMenuItem> |
findBySiteNavigationMenuId(long siteNavigationMenuId)
Returns all the site navigation menu items where siteNavigationMenuId = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findBySiteNavigationMenuId(long siteNavigationMenuId,
int start,
int end)
Returns a range of all the site navigation menu items where siteNavigationMenuId = ?.
|
static java.util.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 java.util.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 SiteNavigationMenuItem |
findByUuid_C_First(java.lang.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 SiteNavigationMenuItem |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the site navigation menu items where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the site navigation menu items where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByUuid_C(java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByUuid_C(java.lang.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 SiteNavigationMenuItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Returns the first site navigation menu item in the ordered set where uuid = ?.
|
static SiteNavigationMenuItem |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the site navigation menu item where uuid = ? and groupId = ? or throws a
NoSuchMenuItemException if it could not be found. |
static SiteNavigationMenuItem |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByUuid(java.lang.String uuid)
Returns all the site navigation menu items where uuid = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the site navigation menu items where uuid = ?.
|
static java.util.List<SiteNavigationMenuItem> |
findByUuid(java.lang.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 java.util.List<SiteNavigationMenuItem> |
findByUuid(java.lang.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 java.util.List<SiteNavigationMenuItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SiteNavigationMenuItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SiteNavigationMenuItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) |
static SiteNavigationMenuItemPersistence |
getPersistence() |
static SiteNavigationMenuItem |
remove(long siteNavigationMenuItemId)
Removes the site navigation menu item with the primary key from the database.
|
static void |
removeAll()
Removes all the site navigation menu items from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the site navigation menu items where companyId = ? from the database.
|
static void |
removeByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
Removes all the site navigation menu items where parentSiteNavigationMenuItemId = ? from the database.
|
static void |
removeByS_LikeN(long siteNavigationMenuId,
java.lang.String name)
Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.
|
static void |
removeByS_P(long siteNavigationMenuId,
long parentSiteNavigationMenuItemId)
Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.
|
static void |
removeBySiteNavigationMenuId(long siteNavigationMenuId)
Removes all the site navigation menu items where siteNavigationMenuId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the site navigation menu items where uuid = ? and companyId = ? from the database.
|
static SiteNavigationMenuItem |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the site navigation menu item where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the site navigation menu items where uuid = ? from the database.
|
static SiteNavigationMenuItem |
update(SiteNavigationMenuItem siteNavigationMenuItem) |
static SiteNavigationMenuItem |
update(SiteNavigationMenuItem siteNavigationMenuItem,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SiteNavigationMenuItem |
updateImpl(SiteNavigationMenuItem siteNavigationMenuItem) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SiteNavigationMenuItem siteNavigationMenuItem)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,SiteNavigationMenuItem> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SiteNavigationMenuItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SiteNavigationMenuItem update(SiteNavigationMenuItem siteNavigationMenuItem)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SiteNavigationMenuItem update(SiteNavigationMenuItem siteNavigationMenuItem, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SiteNavigationMenuItem> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SiteNavigationMenuItem> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByUuid_PrevAndNext(long siteNavigationMenuItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static SiteNavigationMenuItem findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchMenuItemException
NoSuchMenuItemException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchMenuItemException
uuid
- the uuidgroupId
- the group IDNoSuchMenuItemException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<SiteNavigationMenuItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SiteNavigationMenuItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByUuid_C_PrevAndNext(long siteNavigationMenuItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SiteNavigationMenuItem> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByCompanyId_PrevAndNext(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId)
siteNavigationMenuId
- the site navigation menu IDpublic static java.util.List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
siteNavigationMenuId
- the site navigation menu 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)public static java.util.List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
siteNavigationMenuId
- the site navigation menu 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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findBySiteNavigationMenuId(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
siteNavigationMenuId
- the site navigation menu 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchBySiteNavigationMenuId_First(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchBySiteNavigationMenuId_Last(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findBySiteNavigationMenuId_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemsiteNavigationMenuId
- the site navigation menu IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeBySiteNavigationMenuId(long siteNavigationMenuId)
siteNavigationMenuId
- the site navigation menu IDpublic static int countBySiteNavigationMenuId(long siteNavigationMenuId)
siteNavigationMenuId
- the site navigation menu IDpublic static java.util.List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static java.util.List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
parentSiteNavigationMenuItemId
- 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)public static java.util.List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
parentSiteNavigationMenuItemId
- 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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
parentSiteNavigationMenuItemId
- 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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByParentSiteNavigationMenuItemId_First(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByParentSiteNavigationMenuItemId_Last(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByParentSiteNavigationMenuItemId_PrevAndNext(long siteNavigationMenuItemId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static int countByParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
parentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static java.util.List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static java.util.List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByS_P_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
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 (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static int countByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId)
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDpublic static java.util.List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, java.lang.String name)
siteNavigationMenuId
- the site navigation menu IDname
- the namepublic static java.util.List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenuItem findByS_LikeN_First(long siteNavigationMenuId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByS_LikeN_First(long siteNavigationMenuId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem findByS_LikeN_Last(long siteNavigationMenuId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuItemException
- if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem fetchByS_LikeN_Last(long siteNavigationMenuId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu item could not be foundpublic static SiteNavigationMenuItem[] findByS_LikeN_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException
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 (optionally null
)NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static void removeByS_LikeN(long siteNavigationMenuId, java.lang.String name)
siteNavigationMenuId
- the site navigation menu IDname
- the namepublic static int countByS_LikeN(long siteNavigationMenuId, java.lang.String name)
siteNavigationMenuId
- the site navigation menu IDname
- the namepublic static void cacheResult(SiteNavigationMenuItem siteNavigationMenuItem)
siteNavigationMenuItem
- the site navigation menu itempublic static void cacheResult(java.util.List<SiteNavigationMenuItem> siteNavigationMenuItems)
siteNavigationMenuItems
- the site navigation menu itemspublic static SiteNavigationMenuItem create(long siteNavigationMenuItemId)
siteNavigationMenuItemId
- the primary key for the new site navigation menu itempublic static SiteNavigationMenuItem remove(long siteNavigationMenuItemId) throws NoSuchMenuItemException
siteNavigationMenuItemId
- the primary key of the site navigation menu itemNoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static SiteNavigationMenuItem updateImpl(SiteNavigationMenuItem siteNavigationMenuItem)
public static SiteNavigationMenuItem findByPrimaryKey(long siteNavigationMenuItemId) throws NoSuchMenuItemException
NoSuchMenuItemException
if it could not be found.siteNavigationMenuItemId
- the primary key of the site navigation menu itemNoSuchMenuItemException
- if a site navigation menu item with the primary key could not be foundpublic static SiteNavigationMenuItem fetchByPrimaryKey(long siteNavigationMenuItemId)
null
if it could not be found.siteNavigationMenuItemId
- the primary key of the site navigation menu itemnull
if a site navigation menu item with the primary key could not be foundpublic static java.util.List<SiteNavigationMenuItem> findAll()
public static java.util.List<SiteNavigationMenuItem> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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)public static java.util.List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)public static java.util.List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuItemModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SiteNavigationMenuItemPersistence getPersistence()