org.jasig.portal.io.support
Class PortletEntityPreferenceHandler

java.lang.Object
  extended by org.jasig.portal.io.support.PortletEntityPreferenceHandler

public class PortletEntityPreferenceHandler
extends Object

Import/Export helper bean for dealing with portlet entity preferences

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
PortletEntityPreferenceHandler()
           
 
Method Summary
 IChannelRegistryStore getChannelRegistryStore()
           
 DataSource getDataSource()
           
 Set<IPortletEntity> getEntityPreferences(Integer userId)
           
 IPortletDefinitionRegistry getPortletDefinitionRegistry()
           
protected  IPortletEntity getPortletEntity(String fName, String channelSubscribeId, int userId)
           
 IPortletEntityRegistry getPortletEntityRegistry()
           
 void setChannelRegistryStore(IChannelRegistryStore channelRegistryStore)
           
 void setDataSource(DataSource dataSource)
           
 void setEntityPreference(String fName, String channelSubscribeId, Integer userId, LinkedHashMap<String,List<String>> preferencesMap)
           
 void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
           
 void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletEntityPreferenceHandler

public PortletEntityPreferenceHandler()
Method Detail

getChannelRegistryStore

public IChannelRegistryStore getChannelRegistryStore()
Returns:
the channelRegistryStore

setChannelRegistryStore

public void setChannelRegistryStore(IChannelRegistryStore channelRegistryStore)
Parameters:
channelRegistryStore - the channelRegistryStore to set

getPortletDefinitionRegistry

public IPortletDefinitionRegistry getPortletDefinitionRegistry()
Returns:
the portletDefinitionRegistry

setPortletDefinitionRegistry

public void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
Parameters:
portletDefinitionRegistry - the portletDefinitionRegistry to set

getPortletEntityRegistry

public IPortletEntityRegistry getPortletEntityRegistry()
Returns:
the portletEntityRegistry

setPortletEntityRegistry

public void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
Parameters:
portletEntityRegistry - the portletEntityRegistry to set

getDataSource

public DataSource getDataSource()
Returns:
the dataSource

setDataSource

public void setDataSource(DataSource dataSource)
Parameters:
dataSource - the dataSource to set

getEntityPreferences

public Set<IPortletEntity> getEntityPreferences(Integer userId)

setEntityPreference

public void setEntityPreference(String fName,
                                String channelSubscribeId,
                                Integer userId,
                                LinkedHashMap<String,List<String>> preferencesMap)

getPortletEntity

protected IPortletEntity getPortletEntity(String fName,
                                          String channelSubscribeId,
                                          int userId)


Copyright © 2010 Jasig. All Rights Reserved.