public class SiteNavigationMenuUtil
extends java.lang.Object
com.liferay.site.navigation.service.persistence.impl.SiteNavigationMenuPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
SiteNavigationMenuPersistence
Constructor and Description |
---|
SiteNavigationMenuUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SiteNavigationMenu> siteNavigationMenus)
Caches the site navigation menus in the entity cache if it is enabled.
|
static void |
cacheResult(SiteNavigationMenu siteNavigationMenu)
Caches the site navigation menu in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SiteNavigationMenu siteNavigationMenu) |
static int |
countAll()
Returns the number of site navigation menus.
|
static int |
countByCompanyId(long companyId)
Returns the number of site navigation menus where companyId = ?.
|
static int |
countByG_A(long groupId,
boolean auto)
Returns the number of site navigation menus where groupId = ? and auto = ?.
|
static int |
countByG_LikeN(long[] groupIds,
java.lang.String name)
Returns the number of site navigation menus where groupId = any ? and name LIKE ?.
|
static int |
countByG_LikeN(long groupId,
java.lang.String name)
Returns the number of site navigation menus where groupId = ? and name LIKE ?.
|
static int |
countByG_N(long groupId,
java.lang.String name)
Returns the number of site navigation menus where groupId = ? and name = ?.
|
static int |
countByG_T(long groupId,
int type)
Returns the number of site navigation menus where groupId = ? and type = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of site navigation menus where groupId = ?.
|
static int |
countByGroupId(long[] groupIds)
Returns the number of site navigation menus where groupId = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of site navigation menus where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of site navigation menus where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of site navigation menus where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SiteNavigationMenu |
create(long siteNavigationMenuId)
Creates a new site navigation menu with the primary key.
|
static SiteNavigationMenu |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where companyId = ?.
|
static SiteNavigationMenu |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where companyId = ?.
|
static SiteNavigationMenu |
fetchByG_A_First(long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and auto = ?.
|
static SiteNavigationMenu |
fetchByG_A_Last(long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and auto = ?.
|
static SiteNavigationMenu |
fetchByG_LikeN_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu |
fetchByG_LikeN_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu |
fetchByG_N(long groupId,
java.lang.String name)
Returns the site navigation menu where groupId = ? and name = ? or returns
null if it could not be found. |
static SiteNavigationMenu |
fetchByG_N(long groupId,
java.lang.String name,
boolean useFinderCache)
Returns the site navigation menu where groupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteNavigationMenu |
fetchByG_T_First(long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and type = ?.
|
static SiteNavigationMenu |
fetchByG_T_Last(long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and type = ?.
|
static SiteNavigationMenu |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ?.
|
static SiteNavigationMenu |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ?.
|
static SiteNavigationMenu |
fetchByPrimaryKey(long siteNavigationMenuId)
Returns the site navigation menu with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SiteNavigationMenu> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SiteNavigationMenu |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where uuid = ? and companyId = ?.
|
static SiteNavigationMenu |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where uuid = ? and companyId = ?.
|
static SiteNavigationMenu |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where uuid = ?.
|
static SiteNavigationMenu |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the site navigation menu where uuid = ? and groupId = ? or returns
null if it could not be found. |
static SiteNavigationMenu |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the site navigation menu where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteNavigationMenu |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where uuid = ?.
|
static int |
filterCountByG_A(long groupId,
boolean auto)
Returns the number of site navigation menus that the user has permission to view where groupId = ? and auto = ?.
|
static int |
filterCountByG_LikeN(long[] groupIds,
java.lang.String name)
Returns the number of site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
|
static int |
filterCountByG_LikeN(long groupId,
java.lang.String name)
Returns the number of site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
|
static int |
filterCountByG_T(long groupId,
int type)
Returns the number of site navigation menus that the user has permission to view where groupId = ? and type = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of site navigation menus that the user has permission to view where groupId = ?.
|
static int |
filterCountByGroupId(long[] groupIds)
Returns the number of site navigation menus that the user has permission to view where groupId = any ?.
|
static SiteNavigationMenu[] |
filterFindByG_A_PrevAndNext(long siteNavigationMenuId,
long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_A(long groupId,
boolean auto)
Returns all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_A(long groupId,
boolean auto,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_A(long groupId,
boolean auto,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? and auto = ?.
|
static SiteNavigationMenu[] |
filterFindByG_LikeN_PrevAndNext(long siteNavigationMenuId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long[] groupIds,
java.lang.String name)
Returns all the site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permission to view where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long groupId,
java.lang.String name)
Returns all the site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu[] |
filterFindByG_T_PrevAndNext(long siteNavigationMenuId,
long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_T(long groupId,
int type)
Returns all the site navigation menus that the user has permission to view where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_T(long groupId,
int type,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByG_T(long groupId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ? and type = ?.
|
static SiteNavigationMenu[] |
filterFindByGroupId_PrevAndNext(long siteNavigationMenuId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set of site navigation menus that the user has permission to view where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long groupId)
Returns all the site navigation menus that the user has permission to view where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long[] groupIds)
Returns all the site navigation menus that the user has permission to view where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permission to view where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the site navigation menus that the user has permission to view where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus that the user has permissions to view where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
findAll()
Returns all the site navigation menus.
|
static java.util.List<SiteNavigationMenu> |
findAll(int start,
int end)
Returns a range of all the site navigation menus.
|
static java.util.List<SiteNavigationMenu> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus.
|
static java.util.List<SiteNavigationMenu> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus.
|
static SiteNavigationMenu |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where companyId = ?.
|
static SiteNavigationMenu |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where companyId = ?.
|
static SiteNavigationMenu[] |
findByCompanyId_PrevAndNext(long siteNavigationMenuId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByCompanyId(long companyId)
Returns all the site navigation menus where companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the site navigation menus where companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where companyId = ?.
|
static SiteNavigationMenu |
findByG_A_First(long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and auto = ?.
|
static SiteNavigationMenu |
findByG_A_Last(long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and auto = ?.
|
static SiteNavigationMenu[] |
findByG_A_PrevAndNext(long siteNavigationMenuId,
long groupId,
boolean auto,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_A(long groupId,
boolean auto)
Returns all the site navigation menus where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_A(long groupId,
boolean auto,
int start,
int end)
Returns a range of all the site navigation menus where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_A(long groupId,
boolean auto,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = ? and auto = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_A(long groupId,
boolean auto,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ? and auto = ?.
|
static SiteNavigationMenu |
findByG_LikeN_First(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu |
findByG_LikeN_Last(long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu[] |
findByG_LikeN_PrevAndNext(long siteNavigationMenuId,
long groupId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long[] groupIds,
java.lang.String name)
Returns all the site navigation menus where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end)
Returns a range of all the site navigation menus where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = any ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long[] groupIds,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ? and name LIKE ?, optionally using the finder cache.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the site navigation menus where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the site navigation menus where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = ? and name LIKE ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ? and name LIKE ?.
|
static SiteNavigationMenu |
findByG_N(long groupId,
java.lang.String name)
Returns the site navigation menu where groupId = ? and name = ? or throws a
NoSuchMenuException if it could not be found. |
static SiteNavigationMenu |
findByG_T_First(long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ? and type = ?.
|
static SiteNavigationMenu |
findByG_T_Last(long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ? and type = ?.
|
static SiteNavigationMenu[] |
findByG_T_PrevAndNext(long siteNavigationMenuId,
long groupId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_T(long groupId,
int type)
Returns all the site navigation menus where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_T(long groupId,
int type,
int start,
int end)
Returns a range of all the site navigation menus where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_T(long groupId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = ? and type = ?.
|
static java.util.List<SiteNavigationMenu> |
findByG_T(long groupId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ? and type = ?.
|
static SiteNavigationMenu |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where groupId = ?.
|
static SiteNavigationMenu |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where groupId = ?.
|
static SiteNavigationMenu[] |
findByGroupId_PrevAndNext(long siteNavigationMenuId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long groupId)
Returns all the site navigation menus where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long[] groupIds)
Returns all the site navigation menus where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the site navigation menus where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = any ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ?, optionally using the finder cache.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the site navigation menus where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where groupId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where groupId = ?.
|
static SiteNavigationMenu |
findByPrimaryKey(long siteNavigationMenuId)
Returns the site navigation menu with the primary key or throws a
NoSuchMenuException if it could not be found. |
static SiteNavigationMenu |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where uuid = ? and companyId = ?.
|
static SiteNavigationMenu |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where uuid = ? and companyId = ?.
|
static SiteNavigationMenu[] |
findByUuid_C_PrevAndNext(long siteNavigationMenuId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the site navigation menus where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the site navigation menus where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where uuid = ? and companyId = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where uuid = ? and companyId = ?.
|
static SiteNavigationMenu |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the first site navigation menu in the ordered set where uuid = ?.
|
static SiteNavigationMenu |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the site navigation menu where uuid = ? and groupId = ? or throws a
NoSuchMenuException if it could not be found. |
static SiteNavigationMenu |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the last site navigation menu in the ordered set where uuid = ?.
|
static SiteNavigationMenu[] |
findByUuid_PrevAndNext(long siteNavigationMenuId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns the site navigation menus before and after the current site navigation menu in the ordered set where uuid = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid(java.lang.String uuid)
Returns all the site navigation menus where uuid = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the site navigation menus where uuid = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
Returns an ordered range of all the site navigation menus where uuid = ?.
|
static java.util.List<SiteNavigationMenu> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site navigation menus where uuid = ?.
|
static java.util.List<SiteNavigationMenu> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SiteNavigationMenu> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SiteNavigationMenu> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) |
static SiteNavigationMenuPersistence |
getPersistence() |
static SiteNavigationMenu |
remove(long siteNavigationMenuId)
Removes the site navigation menu with the primary key from the database.
|
static void |
removeAll()
Removes all the site navigation menus from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the site navigation menus where companyId = ? from the database.
|
static void |
removeByG_A(long groupId,
boolean auto)
Removes all the site navigation menus where groupId = ? and auto = ? from the database.
|
static void |
removeByG_LikeN(long groupId,
java.lang.String name)
Removes all the site navigation menus where groupId = ? and name LIKE ? from the database.
|
static SiteNavigationMenu |
removeByG_N(long groupId,
java.lang.String name)
Removes the site navigation menu where groupId = ? and name = ? from the database.
|
static void |
removeByG_T(long groupId,
int type)
Removes all the site navigation menus where groupId = ? and type = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the site navigation menus where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the site navigation menus where uuid = ? and companyId = ? from the database.
|
static SiteNavigationMenu |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the site navigation menu where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the site navigation menus where uuid = ? from the database.
|
static SiteNavigationMenu |
update(SiteNavigationMenu siteNavigationMenu) |
static SiteNavigationMenu |
update(SiteNavigationMenu siteNavigationMenu,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SiteNavigationMenu |
updateImpl(SiteNavigationMenu siteNavigationMenu) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SiteNavigationMenu siteNavigationMenu)
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,SiteNavigationMenu> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SiteNavigationMenu> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SiteNavigationMenu> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SiteNavigationMenu> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SiteNavigationMenu update(SiteNavigationMenu siteNavigationMenu)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SiteNavigationMenu update(SiteNavigationMenu siteNavigationMenu, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SiteNavigationMenu> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByUuid_PrevAndNext(long siteNavigationMenuId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menuuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu 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 SiteNavigationMenu findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchMenuException
NoSuchMenuException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu 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 could not be foundpublic static SiteNavigationMenu 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 could not be foundpublic static SiteNavigationMenu removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchMenuException
uuid
- the uuidgroupId
- the group IDNoSuchMenuException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<SiteNavigationMenu> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByUuid_C_PrevAndNext(long siteNavigationMenuId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menuuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu 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<SiteNavigationMenu> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SiteNavigationMenu> findByGroupId(long groupId, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByGroupId_PrevAndNext(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SiteNavigationMenu> filterFindByGroupId(long groupId, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SiteNavigationMenu[] filterFindByGroupId_PrevAndNext(long siteNavigationMenuId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds, 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuModelImpl
.
groupIds
- the group IDspublic static java.util.List<SiteNavigationMenu> findByGroupId(long[] groupIds, 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<SiteNavigationMenu> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByCompanyId_PrevAndNext(long siteNavigationMenuId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menucompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu 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 SiteNavigationMenu findByG_N(long groupId, java.lang.String name) throws NoSuchMenuException
NoSuchMenuException
if it could not be found.groupId
- the group IDname
- the nameNoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_N(long groupId, java.lang.String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDname
- the namenull
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_N(long groupId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu removeByG_N(long groupId, java.lang.String name) throws NoSuchMenuException
groupId
- the group IDname
- the nameNoSuchMenuException
public static int countByG_N(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<SiteNavigationMenu> findByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<SiteNavigationMenu> findByG_LikeN(long groupId, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_LikeN_First(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_LikeN_Last(long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByG_LikeN_PrevAndNext(long siteNavigationMenuId, long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SiteNavigationMenu[] filterFindByG_LikeN_PrevAndNext(long siteNavigationMenuId, long groupId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, java.lang.String name)
groupIds
- the group IDsname
- the namepublic static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByG_LikeN(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, java.lang.String name)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteNavigationMenuModelImpl
.
groupIds
- the group IDsname
- the namepublic static java.util.List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupIds
- the group IDsname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByG_LikeN(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDname
- the namestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static int countByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static int countByG_LikeN(long[] groupIds, java.lang.String name)
groupIds
- the group IDsname
- the namepublic static int filterCountByG_LikeN(long groupId, java.lang.String name)
groupId
- the group IDname
- the namepublic static int filterCountByG_LikeN(long[] groupIds, java.lang.String name)
groupIds
- the group IDsname
- the namepublic static java.util.List<SiteNavigationMenu> findByG_T(long groupId, int type)
groupId
- the group IDtype
- the typepublic static java.util.List<SiteNavigationMenu> findByG_T(long groupId, int type, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_T_First(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_T_Last(long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByG_T_PrevAndNext(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByG_T(long groupId, int type)
groupId
- the group IDtype
- the typepublic static java.util.List<SiteNavigationMenu> filterFindByG_T(long groupId, int type, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByG_T(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDtype
- the typestart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SiteNavigationMenu[] filterFindByG_T_PrevAndNext(long siteNavigationMenuId, long groupId, int type, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDtype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static void removeByG_T(long groupId, int type)
groupId
- the group IDtype
- the typepublic static int countByG_T(long groupId, int type)
groupId
- the group IDtype
- the typepublic static int filterCountByG_T(long groupId, int type)
groupId
- the group IDtype
- the typepublic static java.util.List<SiteNavigationMenu> findByG_A(long groupId, boolean auto)
groupId
- the group IDauto
- the autopublic static java.util.List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteNavigationMenu findByG_A_First(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_A_First(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu findByG_A_Last(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
groupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a matching site navigation menu could not be foundpublic static SiteNavigationMenu fetchByG_A_Last(long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator)
groupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site navigation menu could not be foundpublic static SiteNavigationMenu[] findByG_A_PrevAndNext(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto)
groupId
- the group IDauto
- the autopublic static java.util.List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto, 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> filterFindByG_A(long groupId, boolean auto, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
groupId
- the group IDauto
- the autostart
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static SiteNavigationMenu[] filterFindByG_A_PrevAndNext(long siteNavigationMenuId, long groupId, boolean auto, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> orderByComparator) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the current site navigation menugroupId
- the group IDauto
- the autoorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static void removeByG_A(long groupId, boolean auto)
groupId
- the group IDauto
- the autopublic static int countByG_A(long groupId, boolean auto)
groupId
- the group IDauto
- the autopublic static int filterCountByG_A(long groupId, boolean auto)
groupId
- the group IDauto
- the autopublic static void cacheResult(SiteNavigationMenu siteNavigationMenu)
siteNavigationMenu
- the site navigation menupublic static void cacheResult(java.util.List<SiteNavigationMenu> siteNavigationMenus)
siteNavigationMenus
- the site navigation menuspublic static SiteNavigationMenu create(long siteNavigationMenuId)
siteNavigationMenuId
- the primary key for the new site navigation menupublic static SiteNavigationMenu remove(long siteNavigationMenuId) throws NoSuchMenuException
siteNavigationMenuId
- the primary key of the site navigation menuNoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static SiteNavigationMenu updateImpl(SiteNavigationMenu siteNavigationMenu)
public static SiteNavigationMenu findByPrimaryKey(long siteNavigationMenuId) throws NoSuchMenuException
NoSuchMenuException
if it could not be found.siteNavigationMenuId
- the primary key of the site navigation menuNoSuchMenuException
- if a site navigation menu with the primary key could not be foundpublic static SiteNavigationMenu fetchByPrimaryKey(long siteNavigationMenuId)
null
if it could not be found.siteNavigationMenuId
- the primary key of the site navigation menunull
if a site navigation menu with the primary key could not be foundpublic static java.util.List<SiteNavigationMenu> findAll()
public static java.util.List<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
start
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)public static java.util.List<SiteNavigationMenu> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
start
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteNavigationMenu> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenu> 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 SiteNavigationMenuModelImpl
.
start
- the lower bound of the range of site navigation menusend
- the upper bound of the range of site navigation menus (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SiteNavigationMenuPersistence getPersistence()