Class PortalPreferencesLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.PortalPreferencesLocalServiceBaseImpl
com.liferay.portal.service.impl.PortalPreferencesLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.PortalPreferencesLocalService

public class PortalPreferencesLocalServiceImpl extends PortalPreferencesLocalServiceBaseImpl
Author:
Alexander Chow
  • Constructor Details

    • PortalPreferencesLocalServiceImpl

      public PortalPreferencesLocalServiceImpl()
  • Method Details

    • addPortalPreferences

      public com.liferay.portal.kernel.model.PortalPreferences addPortalPreferences(long ownerId, int ownerType, String defaultPreferences)
    • deletePortalPreferences

      @Indexable(type=DELETE) public com.liferay.portal.kernel.model.PortalPreferences deletePortalPreferences(long portalPreferencesId) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: PortalPreferencesLocalServiceBaseImpl
      Deletes the portal preferences with the primary key from the database. Also notifies the appropriate model listeners.

      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.

      Specified by:
      deletePortalPreferences in interface com.liferay.portal.kernel.service.PortalPreferencesLocalService
      Overrides:
      deletePortalPreferences in class PortalPreferencesLocalServiceBaseImpl
      Parameters:
      portalPreferencesId - the primary key of the portal preferences
      Returns:
      the portal preferences that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a portal preferences with the primary key could not be found
    • deletePortalPreferences

      @Indexable(type=DELETE) public com.liferay.portal.kernel.model.PortalPreferences deletePortalPreferences(com.liferay.portal.kernel.model.PortalPreferences portalPreferences)
      Description copied from class: PortalPreferencesLocalServiceBaseImpl
      Deletes the portal preferences from the database. Also notifies the appropriate model listeners.

      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.

      Specified by:
      deletePortalPreferences in interface com.liferay.portal.kernel.service.PortalPreferencesLocalService
      Overrides:
      deletePortalPreferences in class PortalPreferencesLocalServiceBaseImpl
      Parameters:
      portalPreferences - the portal preferences
      Returns:
      the portal preferences that was removed
    • fetchPortalPreferences

      public com.liferay.portal.kernel.model.PortalPreferences fetchPortalPreferences(long ownerId, int ownerType)
    • getPreferences

      public PortletPreferences getPreferences(long ownerId, int ownerType)
    • getPreferences

      public PortletPreferences getPreferences(long ownerId, int ownerType, String defaultPreferences)
    • updatePreferences

      public com.liferay.portal.kernel.model.PortalPreferences updatePreferences(long ownerId, int ownerType, com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences)
    • updatePreferences

      public com.liferay.portal.kernel.model.PortalPreferences updatePreferences(long ownerId, int ownerType, String xml)