Interface SiteNavigationMenuItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SiteNavigationMenuItem>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SiteNavigationMenuItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SiteNavigationMenuItem siteNavigationMenuItem) Caches the site navigation menu item in the entity cache if it is enabled.void
cacheResult
(List<SiteNavigationMenuItem> siteNavigationMenuItems) Caches the site navigation menu items in the entity cache if it is enabled.int
countAll()
Returns the number of site navigation menu items.int
countByCompanyId
(long companyId) Returns the number of site navigation menu items where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of site navigation menu items where externalReferenceCode = ? and groupId = ?.int
countByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where parentSiteNavigationMenuItemId = ?.int
countByS_LikeN
(long siteNavigationMenuId, String name) Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.int
countByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.int
countBySiteNavigationMenuId
(long siteNavigationMenuId) Returns the number of site navigation menu items where siteNavigationMenuId = ?.int
countByUuid
(String uuid) Returns the number of site navigation menu items where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of site navigation menu items where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of site navigation menu items where uuid = ? and groupId = ?.create
(long siteNavigationMenuItemId) Creates a new site navigation menu item with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByParentSiteNavigationMenuItemId_First
(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.fetchByParentSiteNavigationMenuItemId_Last
(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.fetchByPrimaryKey
(long siteNavigationMenuItemId) Returns the site navigation menu item with the primary key or returnsnull
if it could not be found.fetchByS_LikeN_First
(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.fetchByS_LikeN_Last
(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.fetchByS_P_First
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.fetchByS_P_Last
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.fetchBySiteNavigationMenuId_First
(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.fetchBySiteNavigationMenuId_Last
(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.findAll()
Returns all the site navigation menu items.findAll
(int start, int end) Returns a range of all the site navigation menu items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items.findByCompanyId
(long companyId) Returns all the site navigation menu items where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the site navigation menu items where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where companyId = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuItemException
if it could not be found.findByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId_First
(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId_Last
(long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.findByParentSiteNavigationMenuItemId_PrevAndNext
(long siteNavigationMenuItemId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where parentSiteNavigationMenuItemId = ?.findByPrimaryKey
(long siteNavigationMenuItemId) Returns the site navigation menu item with the primary key or throws aNoSuchMenuItemException
if it could not be found.findByS_LikeN
(long siteNavigationMenuId, String name) Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN
(long siteNavigationMenuId, String name, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN
(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN
(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN_First
(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN_Last
(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.findByS_LikeN_PrevAndNext
(long siteNavigationMenuItemId, long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.findByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P_First
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P_Last
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findByS_P_PrevAndNext
(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.findBySiteNavigationMenuId
(long siteNavigationMenuId) Returns all the site navigation menu items where siteNavigationMenuId = ?.findBySiteNavigationMenuId
(long siteNavigationMenuId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ?.findBySiteNavigationMenuId
(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.findBySiteNavigationMenuId
(long siteNavigationMenuId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ?.findBySiteNavigationMenuId_First
(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ?.findBySiteNavigationMenuId_Last
(long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ?.findBySiteNavigationMenuId_PrevAndNext
(long siteNavigationMenuItemId, long siteNavigationMenuId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ?.findByUuid
(String uuid) Returns all the site navigation menu items where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the site navigation menu items where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the site navigation menu items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the site navigation menu items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long siteNavigationMenuItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the site navigation menu item where uuid = ? and groupId = ? or throws aNoSuchMenuItemException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long siteNavigationMenuItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ?.remove
(long siteNavigationMenuItemId) Removes the site navigation menu item with the primary key from the database.void
Removes all the site navigation menu items from the database.void
removeByCompanyId
(long companyId) Removes all the site navigation menu items where companyId = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the site navigation menu item where externalReferenceCode = ? and groupId = ? from the database.void
removeByParentSiteNavigationMenuItemId
(long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where parentSiteNavigationMenuItemId = ? from the database.void
removeByS_LikeN
(long siteNavigationMenuId, String name) Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.void
removeByS_P
(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.void
removeBySiteNavigationMenuId
(long siteNavigationMenuId) Removes all the site navigation menu items where siteNavigationMenuId = ? from the database.void
removeByUuid
(String uuid) Removes all the site navigation menu items where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the site navigation menu items where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the site navigation menu item where uuid = ? and groupId = ? from the database.updateImpl
(SiteNavigationMenuItem siteNavigationMenuItem) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the site navigation menu items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching site navigation menu items
-
findByUuid
Returns a range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByUuid
List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid
List<SiteNavigationMenuItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid_First
SiteNavigationMenuItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByUuid_First
SiteNavigationMenuItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByUuid_Last
SiteNavigationMenuItem findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByUuid_Last
SiteNavigationMenuItem fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByUuid_PrevAndNext
SiteNavigationMenuItem[] findByUuid_PrevAndNext(long siteNavigationMenuItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ?.- Parameters:
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
removeByUuid
Removes all the site navigation menu items where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of site navigation menu items where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching site navigation menu items
-
findByUUID_G
Returns the site navigation menu item where uuid = ? and groupId = ? or throws aNoSuchMenuItemException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByUUID_G
Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
fetchByUUID_G
Returns the site navigation menu item where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
removeByUUID_G
Removes the site navigation menu item where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException
-
countByUUID_G
Returns the number of site navigation menu items where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching site navigation menu items
-
findByUuid_C
Returns all the site navigation menu items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching site navigation menu items
-
findByUuid_C
Returns a range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByUuid_C
List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid_C
List<SiteNavigationMenuItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menu items
-
findByUuid_C_First
SiteNavigationMenuItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByUuid_C_First
SiteNavigationMenuItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByUuid_C_Last
SiteNavigationMenuItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByUuid_C_Last
SiteNavigationMenuItem fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByUuid_C_PrevAndNext
SiteNavigationMenuItem[] findByUuid_C_PrevAndNext(long siteNavigationMenuItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where uuid = ? and companyId = ?.- Parameters:
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
removeByUuid_C
Removes all the site navigation menu items where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of site navigation menu items where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching site navigation menu items
-
findByCompanyId
Returns all the site navigation menu items where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching site navigation menu items
-
findByCompanyId
Returns a range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByCompanyId
List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menu items
-
findByCompanyId
List<SiteNavigationMenuItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menu items
-
findByCompanyId_First
SiteNavigationMenuItem findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByCompanyId_First
SiteNavigationMenuItem fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByCompanyId_Last
SiteNavigationMenuItem findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByCompanyId_Last
SiteNavigationMenuItem fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByCompanyId_PrevAndNext
SiteNavigationMenuItem[] findByCompanyId_PrevAndNext(long siteNavigationMenuItemId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where companyId = ?.- Parameters:
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the site navigation menu items where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of site navigation menu items where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching site navigation menu items
-
findByS_P
List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item ID- Returns:
- the matching site navigation menu items
-
findByS_P
List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByS_P
List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menu items
-
findByS_P
List<SiteNavigationMenuItem> findByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDstart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menu items
-
findByS_P_First
SiteNavigationMenuItem findByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByS_P_First
SiteNavigationMenuItem fetchByS_P_First(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByS_P_Last
SiteNavigationMenuItem findByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByS_P_Last
SiteNavigationMenuItem fetchByS_P_Last(long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByS_P_PrevAndNext
SiteNavigationMenuItem[] findByS_P_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, long parentSiteNavigationMenuItemId, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemsiteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
removeByS_P
void removeByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Removes all the site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ? from the database.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item ID
-
countByS_P
int countByS_P(long siteNavigationMenuId, long parentSiteNavigationMenuItemId) Returns the number of site navigation menu items where siteNavigationMenuId = ? and parentSiteNavigationMenuItemId = ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDparentSiteNavigationMenuItemId
- the parent site navigation menu item ID- Returns:
- the number of matching site navigation menu items
-
findByS_LikeN
Returns all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the name- Returns:
- the matching site navigation menu items
-
findByS_LikeN
List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end) Returns a range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the namestart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of matching site navigation menu items
-
findByS_LikeN
List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the namestart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching site navigation menu items
-
findByS_LikeN
List<SiteNavigationMenuItem> findByS_LikeN(long siteNavigationMenuId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the namestart
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching site navigation menu items
-
findByS_LikeN_First
SiteNavigationMenuItem findByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByS_LikeN_First
SiteNavigationMenuItem fetchByS_LikeN_First(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the first site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByS_LikeN_Last
SiteNavigationMenuItem findByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByS_LikeN_Last
SiteNavigationMenuItem fetchByS_LikeN_Last(long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns the last site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
findByS_LikeN_PrevAndNext
SiteNavigationMenuItem[] findByS_LikeN_PrevAndNext(long siteNavigationMenuItemId, long siteNavigationMenuId, String name, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) throws NoSuchMenuItemException Returns the site navigation menu items before and after the current site navigation menu item in the ordered set where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuItemId
- the primary key of the current site navigation menu itemsiteNavigationMenuId
- the site navigation menu IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
removeByS_LikeN
Removes all the site navigation menu items where siteNavigationMenuId = ? and name LIKE ? from the database.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the name
-
countByS_LikeN
Returns the number of site navigation menu items where siteNavigationMenuId = ? and name LIKE ?.- Parameters:
siteNavigationMenuId
- the site navigation menu IDname
- the name- Returns:
- the number of matching site navigation menu items
-
findByERC_G
SiteNavigationMenuItem findByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or throws aNoSuchMenuItemException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching site navigation menu item
- Throws:
NoSuchMenuItemException
- if a matching site navigation menu item could not be found
-
fetchByERC_G
Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
fetchByERC_G
SiteNavigationMenuItem fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the site navigation menu item where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching site navigation menu item, or
null
if a matching site navigation menu item could not be found
-
removeByERC_G
SiteNavigationMenuItem removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchMenuItemException Removes the site navigation menu item where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException
-
countByERC_G
Returns the number of site navigation menu items where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching site navigation menu items
-
cacheResult
Caches the site navigation menu items in the entity cache if it is enabled.- Parameters:
siteNavigationMenuItems
- the site navigation menu items
-
create
Creates a new site navigation menu item with the primary key. Does not add the site navigation menu item to the database.- Parameters:
siteNavigationMenuItemId
- the primary key for the new site navigation menu item- Returns:
- the new site navigation menu item
-
remove
Removes the site navigation menu item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
siteNavigationMenuItemId
- the primary key of the site navigation menu item- Returns:
- the site navigation menu item that was removed
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
findByPrimaryKey
SiteNavigationMenuItem findByPrimaryKey(long siteNavigationMenuItemId) throws NoSuchMenuItemException Returns the site navigation menu item with the primary key or throws aNoSuchMenuItemException
if it could not be found.- Parameters:
siteNavigationMenuItemId
- the primary key of the site navigation menu item- Returns:
- the site navigation menu item
- Throws:
NoSuchMenuItemException
- if a site navigation menu item with the primary key could not be found
-
fetchByPrimaryKey
Returns the site navigation menu item with the primary key or returnsnull
if it could not be found.- Parameters:
siteNavigationMenuItemId
- the primary key of the site navigation menu item- Returns:
- the site navigation menu item, or
null
if a site navigation menu item with the primary key could not be found
-
findAll
List<SiteNavigationMenuItem> findAll()Returns all the site navigation menu items.- Returns:
- the site navigation menu items
-
findAll
Returns a range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)- Returns:
- the range of site navigation menu items
-
findAll
List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator) Returns an ordered range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of site navigation menu items
-
findAll
List<SiteNavigationMenuItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteNavigationMenuItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the site navigation menu items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSiteNavigationMenuItemModelImpl
.- Parameters:
start
- the lower bound of the range of site navigation menu itemsend
- the upper bound of the range of site navigation menu items (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of site navigation menu items
-
removeAll
void removeAll()Removes all the site navigation menu items from the database. -
countAll
int countAll()Returns the number of site navigation menu items.- Returns:
- the number of site navigation menu items
-