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 aNoSuchPortletExceptionif it could not be found.static PortletReturns the portlet where companyId = ? and portletId = ? or throws aNoSuchPortletExceptionif it could not be found.PortletPersistence.findByCompanyId_First(long companyId, OrderByComparator<Portlet> orderByComparator) Returns the first portlet in the ordered set where companyId = ?.static PortletPortletUtil.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 PortletPortletUtil.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 aNoSuchPortletExceptionif it could not be found.static PortletPortletUtil.findByPrimaryKey(long id) Returns the portlet with the primary key or throws aNoSuchPortletExceptionif it could not be found.PortletPersistence.remove(long id) Removes the portlet with the primary key from the database.static PortletPortletUtil.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 PortletPortletUtil.removeByC_P(long companyId, String portletId) Removes the portlet where companyId = ? and portletId = ? from the database.