List of usage examples for com.liferay.portal.kernel.service PortletPreferencesLocalServiceUtil deletePortletPreferences
public static void deletePortletPreferences(long ownerId, int ownerType, long plid, String portletId) throws com.liferay.portal.kernel.exception.PortalException
From source file:com.liferay.application.list.my.account.permissions.test.PanelAppMyAccountPermissionsTest.java
License:Open Source License
@After public void tearDown() throws Exception { for (ServiceRegistration<?> serviceRegistration : _serviceRegistrations) { serviceRegistration.unregister(); }//ww w .j a v a2 s . com _serviceRegistrations.clear(); PortletPreferencesLocalServiceUtil.deletePortletPreferences(TestPropsValues.getCompanyId(), PortletKeys.PREFS_OWNER_TYPE_COMPANY, LayoutConstants.DEFAULT_PLID, _testPortletId); }