Package com.liferay.portal.service.impl
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
- Author:
- Alexander Chow
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.PortalPreferencesLocalServiceBaseImpl
counterLocalService, portalPreferencesLocalService, portalPreferencesPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.PortalPreferencesaddPortalPreferences(long ownerId, int ownerType, String defaultPreferences) com.liferay.portal.kernel.model.PortalPreferencesdeletePortalPreferences(long portalPreferencesId) Deletes the portal preferences with the primary key from the database.com.liferay.portal.kernel.model.PortalPreferencesdeletePortalPreferences(com.liferay.portal.kernel.model.PortalPreferences portalPreferences) Deletes the portal preferences from the database.com.liferay.portal.kernel.model.PortalPreferencesfetchPortalPreferences(long ownerId, int ownerType) getPreferences(long ownerId, int ownerType) getPreferences(long ownerId, int ownerType, String defaultPreferences) com.liferay.portal.kernel.model.PortalPreferencesupdatePreferences(long ownerId, int ownerType, com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences) com.liferay.portal.kernel.model.PortalPreferencesupdatePreferences(long ownerId, int ownerType, String xml) Methods inherited from class com.liferay.portal.service.base.PortalPreferencesLocalServiceBaseImpl
addPortalPreferences, afterPropertiesSet, createPersistedModel, createPortalPreferences, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPortalPreferences, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortalPreferences, getPortalPreferenceses, getPortalPreferencesesCount, getPortalPreferencesLocalService, getPortalPreferencesPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setPortalPreferencesLocalService, setPortalPreferencesPersistence, updatePortalPreferencesMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
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:PortalPreferencesLocalServiceBaseImplDeletes 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:
deletePortalPreferencesin interfacecom.liferay.portal.kernel.service.PortalPreferencesLocalService- Overrides:
deletePortalPreferencesin classPortalPreferencesLocalServiceBaseImpl- 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:PortalPreferencesLocalServiceBaseImplDeletes 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:
deletePortalPreferencesin interfacecom.liferay.portal.kernel.service.PortalPreferencesLocalService- Overrides:
deletePortalPreferencesin classPortalPreferencesLocalServiceBaseImpl- 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
-
getPreferences
-
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)
-