public class PortalPreferencesLocalServiceImpl extends PortalPreferencesLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, portalPreferencesLocalService, portalPreferencesPersistence, portalPreferenceValueLocalService, portalPreferenceValuePersistence
Constructor and Description |
---|
PortalPreferencesLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.PortalPreferences |
addPortalPreferences(long ownerId,
int ownerType,
String defaultPreferences) |
com.liferay.portal.kernel.model.PortalPreferences |
deletePortalPreferences(long portalPreferencesId)
Deletes the portal preferences with the primary key from the database.
|
com.liferay.portal.kernel.model.PortalPreferences |
deletePortalPreferences(com.liferay.portal.kernel.model.PortalPreferences portalPreferences)
Deletes the portal preferences from the database.
|
com.liferay.portal.kernel.model.PortalPreferences |
fetchPortalPreferences(long ownerId,
int ownerType) |
PortletPreferences |
getPreferences(long ownerId,
int ownerType) |
PortletPreferences |
getPreferences(long ownerId,
int ownerType,
String defaultPreferences) |
com.liferay.portal.kernel.model.PortalPreferences |
updatePreferences(long ownerId,
int ownerType,
com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences) |
com.liferay.portal.kernel.model.PortalPreferences |
updatePreferences(long ownerId,
int ownerType,
String xml) |
addPortalPreferences, afterPropertiesSet, createPersistedModel, createPortalPreferences, deletePersistedModel, destroy, dslQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPortalPreferences, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortalPreferences, getPortalPreferenceses, getPortalPreferencesesCount, getPortalPreferencesLocalService, getPortalPreferencesPersistence, getPortalPreferenceValueLocalService, getPortalPreferenceValuePersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setPortalPreferencesLocalService, setPortalPreferencesPersistence, setPortalPreferenceValueLocalService, setPortalPreferenceValuePersistence, updatePortalPreferences
public com.liferay.portal.kernel.model.PortalPreferences addPortalPreferences(long ownerId, int ownerType, String defaultPreferences)
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.PortalPreferences deletePortalPreferences(long portalPreferencesId) throws com.liferay.portal.kernel.exception.PortalException
PortalPreferencesLocalServiceBaseImpl
Important: Inspect PortalPreferencesLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deletePortalPreferences
in interface com.liferay.portal.kernel.service.PortalPreferencesLocalService
deletePortalPreferences
in class PortalPreferencesLocalServiceBaseImpl
portalPreferencesId
- the primary key of the portal preferencescom.liferay.portal.kernel.exception.PortalException
- if a portal preferences with the primary key could not be found@Indexable(type=DELETE) public com.liferay.portal.kernel.model.PortalPreferences deletePortalPreferences(com.liferay.portal.kernel.model.PortalPreferences portalPreferences)
PortalPreferencesLocalServiceBaseImpl
Important: Inspect PortalPreferencesLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deletePortalPreferences
in interface com.liferay.portal.kernel.service.PortalPreferencesLocalService
deletePortalPreferences
in class PortalPreferencesLocalServiceBaseImpl
portalPreferences
- the portal preferencespublic com.liferay.portal.kernel.model.PortalPreferences fetchPortalPreferences(long ownerId, int ownerType)
public PortletPreferences getPreferences(long ownerId, int ownerType)
public PortletPreferences getPreferences(long ownerId, int ownerType, String defaultPreferences)
public com.liferay.portal.kernel.model.PortalPreferences updatePreferences(long ownerId, int ownerType, com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences)
public com.liferay.portal.kernel.model.PortalPreferences updatePreferences(long ownerId, int ownerType, String xml)