Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class PortletPreferencesLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
          extended by com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, PortletPreferencesLocalService

public class PortletPreferencesLocalServiceImpl
extends PortletPreferencesLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence
 
Constructor Summary
PortletPreferencesLocalServiceImpl()
           
 
Method Summary
 PortletPreferences addPortletPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, Portlet portlet, String defaultPreferences)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid, String portletId)
           
 void deletePortletPreferencesByPlid(long plid)
           
 PortletPreferences fetchPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId)
           
 PortletPreferences fetchPreferences(PortletPreferencesIds portletPreferencesIds)
           
 PortletPreferences getDefaultPreferences(long companyId, String portletId)
           
 List<PortletPreferences> getPortletPreferences()
           
 List<PortletPreferences> getPortletPreferences(int ownerType, long plid, String portletId)
           
 List<PortletPreferences> getPortletPreferences(long ownerId, int ownerType, long plid)
           
 PortletPreferences getPortletPreferences(long ownerId, int ownerType, long plid, String portletId)
           
 List<PortletPreferences> getPortletPreferences(long companyId, long groupId, long ownerId, int ownerType, String portletId, boolean privateLayout)
           
 List<PortletPreferences> getPortletPreferences(long plid, String portletId)
           
 List<PortletPreferences> getPortletPreferencesByPlid(long plid)
           
 long getPortletPreferencesCount(int ownerType, long plid, String portletId)
           
 long getPortletPreferencesCount(int ownerType, String portletId)
           
 long getPortletPreferencesCount(long ownerId, int ownerType, long plid, Portlet portlet, boolean excludeDefaultPreferences)
           
 long getPortletPreferencesCount(long ownerId, int ownerType, String portletId, boolean excludeDefaultPreferences)
           
 PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId)
           
 PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, String defaultPreferences)
           
protected  PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, String defaultPreferences, boolean strict)
           
 PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
           
 PortletPreferences getStrictPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId)
           
 PortletPreferences getStrictPreferences(PortletPreferencesIds portletPreferencesIds)
           
 PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, String portletId, PortletPreferences portletPreferences)
           
 PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, String portletId, String xml)
           
 
Methods inherited from class com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
addPortletPreferences, afterPropertiesSet, createPortletPreferences, deletePersistedModel, deletePortletPreferences, deletePortletPreferences, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPortletPreferences, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferences, getPortletPreferenceses, getPortletPreferencesesCount, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, updatePortletPreferences
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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 PortletPreferences addPortletPreferences(long companyId,
                                                long ownerId,
                                                int ownerType,
                                                long plid,
                                                String portletId,
                                                Portlet portlet,
                                                String defaultPreferences)

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid)

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid,
                                     String portletId)
                              throws PortalException
Throws:
PortalException

deletePortletPreferencesByPlid

public void deletePortletPreferencesByPlid(long plid)

fetchPreferences

public PortletPreferences fetchPreferences(long companyId,
                                           long ownerId,
                                           int ownerType,
                                           long plid,
                                           String portletId)

fetchPreferences

public PortletPreferences fetchPreferences(PortletPreferencesIds portletPreferencesIds)

getDefaultPreferences

@Skip
public PortletPreferences getDefaultPreferences(long companyId,
                                                     String portletId)

getPortletPreferences

public List<PortletPreferences> getPortletPreferences()

getPortletPreferences

public List<PortletPreferences> getPortletPreferences(int ownerType,
                                                      long plid,
                                                      String portletId)

getPortletPreferences

public List<PortletPreferences> getPortletPreferences(long ownerId,
                                                      int ownerType,
                                                      long plid)

getPortletPreferences

public PortletPreferences getPortletPreferences(long ownerId,
                                                int ownerType,
                                                long plid,
                                                String portletId)
                                         throws PortalException
Throws:
PortalException

getPortletPreferences

public List<PortletPreferences> getPortletPreferences(long companyId,
                                                      long groupId,
                                                      long ownerId,
                                                      int ownerType,
                                                      String portletId,
                                                      boolean privateLayout)

getPortletPreferences

public List<PortletPreferences> getPortletPreferences(long plid,
                                                      String portletId)

getPortletPreferencesByPlid

public List<PortletPreferences> getPortletPreferencesByPlid(long plid)

getPortletPreferencesCount

public long getPortletPreferencesCount(int ownerType,
                                       long plid,
                                       String portletId)

getPortletPreferencesCount

public long getPortletPreferencesCount(int ownerType,
                                       String portletId)

getPortletPreferencesCount

public long getPortletPreferencesCount(long ownerId,
                                       int ownerType,
                                       long plid,
                                       Portlet portlet,
                                       boolean excludeDefaultPreferences)

getPortletPreferencesCount

public long getPortletPreferencesCount(long ownerId,
                                       int ownerType,
                                       String portletId,
                                       boolean excludeDefaultPreferences)

getPreferences

@Retry(acceptor=ExceptionRetryAcceptor.class,
       properties=@Property(name="EXCEPTION_NAME",value="org.springframework.dao.DataIntegrityViolationException"))
public PortletPreferences getPreferences(long companyId,
                                                                                                               long ownerId,
                                                                                                               int ownerType,
                                                                                                               long plid,
                                                                                                               String portletId)

getPreferences

@Retry(acceptor=ExceptionRetryAcceptor.class,
       properties=@Property(name="EXCEPTION_NAME",value="org.springframework.dao.DataIntegrityViolationException"))
public PortletPreferences getPreferences(long companyId,
                                                                                                               long ownerId,
                                                                                                               int ownerType,
                                                                                                               long plid,
                                                                                                               String portletId,
                                                                                                               String defaultPreferences)

getPreferences

@Retry(acceptor=ExceptionRetryAcceptor.class,
       properties=@Property(name="EXCEPTION_NAME",value="org.springframework.dao.DataIntegrityViolationException"))
public PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)

getStrictPreferences

@Retry(acceptor=ExceptionRetryAcceptor.class,
       properties=@Property(name="EXCEPTION_NAME",value="org.springframework.dao.DataIntegrityViolationException"))
public PortletPreferences getStrictPreferences(long companyId,
                                                                                                                     long ownerId,
                                                                                                                     int ownerType,
                                                                                                                     long plid,
                                                                                                                     String portletId)

getStrictPreferences

public PortletPreferences getStrictPreferences(PortletPreferencesIds portletPreferencesIds)

updatePreferences

public PortletPreferences updatePreferences(long ownerId,
                                            int ownerType,
                                            long plid,
                                            String portletId,
                                            PortletPreferences portletPreferences)

updatePreferences

public PortletPreferences updatePreferences(long ownerId,
                                            int ownerType,
                                            long plid,
                                            String portletId,
                                            String xml)

getPreferences

protected PortletPreferences getPreferences(long companyId,
                                            long ownerId,
                                            int ownerType,
                                            long plid,
                                            String portletId,
                                            String defaultPreferences,
                                            boolean strict)

Liferay 7.0-ce-b4