com.liferay.portal.service.impl
Class PortletPreferencesLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
      extended by com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.PortletPreferencesLocalService

public class PortletPreferencesLocalServiceImpl
extends PortletPreferencesLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, browserTrackerLocalService, browserTrackerPersistence, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, emailAddressLocalService, emailAddressPersistence, emailAddressService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, permissionUserFinder, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, portalLocalService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, quartzLocalService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceActionLocalService, resourceActionPersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, subscriptionLocalService, subscriptionPersistence, themeLocalService, themeService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService
 
Constructor Summary
PortletPreferencesLocalServiceImpl()
           
 
Method Summary
 com.liferay.portal.model.PortletPreferences addPortletPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, com.liferay.portal.model.Portlet portlet, java.lang.String defaultPreferences)
           
 void deletePortletPreferences(long portletPreferencesId)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
protected  java.lang.String encodeKey(long plid, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getDefaultPreferences(long companyId, java.lang.String portletId)
           
 java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
           
 java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(long ownerId, int ownerType, long plid)
           
 com.liferay.portal.model.PortletPreferences getPortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(long plid, java.lang.String portletId)
           
 java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(long plid)
           
 javax.portlet.PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String defaultPreferences)
           
 javax.portlet.PortletPreferences getPreferences(com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
           
 com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
 com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String xml)
           
 
Methods inherited from class com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
addPortletPreferences, createPortletPreferences, deletePortletPreferences, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPermissionUserFinder, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPortalLocalService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferences, getPortletPreferenceses, getPortletPreferencesesCount, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getQuartzLocalService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceActionLocalService, getResourceActionPersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getThemeService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPermissionUserFinder, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPortalLocalService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setQuartzLocalService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceActionLocalService, setResourceActionPersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setThemeLocalService, setThemeService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, updatePortletPreferences, updatePortletPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesLocalServiceImpl

public PortletPreferencesLocalServiceImpl()
Method Detail

addPortletPreferences

public com.liferay.portal.model.PortletPreferences addPortletPreferences(long companyId,
                                                                         long ownerId,
                                                                         int ownerType,
                                                                         long plid,
                                                                         java.lang.String portletId,
                                                                         com.liferay.portal.model.Portlet portlet,
                                                                         java.lang.String defaultPreferences)
                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePortletPreferences

public void deletePortletPreferences(long portletPreferencesId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Specified by:
deletePortletPreferences in interface com.liferay.portal.service.PortletPreferencesLocalService
Overrides:
deletePortletPreferences in class PortletPreferencesLocalServiceBaseImpl
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid,
                                     java.lang.String portletId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultPreferences

public javax.portlet.PortletPreferences getDefaultPreferences(long companyId,
                                                              java.lang.String portletId)
                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(long plid,
                                                                                         java.lang.String portletId)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(long ownerId,
                                                                                         int ownerType,
                                                                                         long plid)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public com.liferay.portal.model.PortletPreferences getPortletPreferences(long ownerId,
                                                                         int ownerType,
                                                                         long plid,
                                                                         java.lang.String portletId)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferencesByPlid

public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(long plid)
                                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(long companyId,
                                                       long ownerId,
                                                       int ownerType,
                                                       long plid,
                                                       java.lang.String portletId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(long companyId,
                                                       long ownerId,
                                                       int ownerType,
                                                       long plid,
                                                       java.lang.String portletId,
                                                       java.lang.String defaultPreferences)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePreferences

public com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId,
                                                                     int ownerType,
                                                                     long plid,
                                                                     java.lang.String portletId,
                                                                     javax.portlet.PortletPreferences preferences)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePreferences

public com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId,
                                                                     int ownerType,
                                                                     long plid,
                                                                     java.lang.String portletId,
                                                                     java.lang.String xml)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

encodeKey

protected java.lang.String encodeKey(long plid,
                                     java.lang.String portletId)