Uses of Class
com.liferay.portal.kernel.exception.NoSuchPortletException
Packages that use NoSuchPortletException
Package
Description
This package defines the portal service persistence interfaces, classes, and utilities.
-
Uses of NoSuchPortletException in com.liferay.portal.kernel.service.persistence
Methods in com.liferay.portal.kernel.service.persistence that throw NoSuchPortletExceptionModifier and TypeMethodDescriptionReturns the portlet where companyId = ? and portletId = ? or throws aNoSuchPortletException
if it could not be found.static Portlet
Returns the portlet where companyId = ? and portletId = ? or throws aNoSuchPortletException
if it could not be found.PortletPersistence.findByCompanyId_First
(long companyId, OrderByComparator<Portlet> orderByComparator) Returns the first portlet in the ordered set where companyId = ?.static Portlet
PortletUtil.findByCompanyId_First
(long companyId, OrderByComparator<Portlet> orderByComparator) Returns the first portlet in the ordered set where companyId = ?.PortletPersistence.findByCompanyId_Last
(long companyId, OrderByComparator<Portlet> orderByComparator) Returns the last portlet in the ordered set where companyId = ?.static Portlet
PortletUtil.findByCompanyId_Last
(long companyId, OrderByComparator<Portlet> orderByComparator) Returns the last portlet in the ordered set where companyId = ?.Portlet[]
PortletPersistence.findByCompanyId_PrevAndNext
(long id, long companyId, OrderByComparator<Portlet> orderByComparator) Returns the portlets before and after the current portlet in the ordered set where companyId = ?.static Portlet[]
PortletUtil.findByCompanyId_PrevAndNext
(long id, long companyId, OrderByComparator<Portlet> orderByComparator) Returns the portlets before and after the current portlet in the ordered set where companyId = ?.PortletPersistence.findByPrimaryKey
(long id) Returns the portlet with the primary key or throws aNoSuchPortletException
if it could not be found.static Portlet
PortletUtil.findByPrimaryKey
(long id) Returns the portlet with the primary key or throws aNoSuchPortletException
if it could not be found.PortletPersistence.remove
(long id) Removes the portlet with the primary key from the database.static Portlet
PortletUtil.remove
(long id) Removes the portlet with the primary key from the database.PortletPersistence.removeByC_P
(long companyId, String portletId) Removes the portlet where companyId = ? and portletId = ? from the database.static Portlet
PortletUtil.removeByC_P
(long companyId, String portletId) Removes the portlet where companyId = ? and portletId = ? from the database.