|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlet.container.services.PortletPreferencesServiceImpl
public class PortletPreferencesServiceImpl
Hooks into uPortal portlet preferences object model
| Field Summary | |
|---|---|
protected static String |
PORTLET_PREFERENCES_MAP_ATTRIBUTE
|
| Constructor Summary | |
|---|---|
PortletPreferencesServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
addPreferencesToMap(List<IPortletPreference> preferencesList,
Map<String,org.apache.pluto.internal.InternalPortletPreference> preferencesMap)
Add all of the preferences in the List to the Map using the preference name as the key |
protected List<IPortletPreference> |
getDescriptorPreferences(org.apache.pluto.descriptors.portlet.PortletDD portletDescriptor)
Gets the preferences for a portlet descriptor converted to the uPortal IPortletPreference interface. |
IPersonManager |
getPersonManager()
|
IPortalRequestUtils |
getPortalRequestUtils()
|
IPortletDefinitionRegistry |
getPortletDefinitionRegistry()
|
IPortletEntityRegistry |
getPortletEntityRegistry()
|
IPortletWindowRegistry |
getPortletWindowRegistry()
|
protected List<IPortletPreference> |
getSessionPreferences(IPortletEntityId portletEntityId,
HttpServletRequest httpServletRequest)
Gets the session-stored list of IPortletPreferences for the specified request and IPortletEntityId. |
org.apache.pluto.internal.InternalPortletPreference[] |
getStoredPreferences(org.apache.pluto.PortletWindow plutoPortletWindow,
PortletRequest portletRequest)
|
protected boolean |
isGuestUser(HttpServletRequest httpServletRequest)
Determine if the user for the specified request is a guest as it pertains to shared portlet preferences. |
boolean |
isLoadFromEntity(PortletRequest portletRequest)
|
boolean |
isLoadFromMemory(PortletRequest portletRequest)
|
boolean |
isLoadGuestPreferencesFromEntity()
|
boolean |
isLoadGuestPreferencesFromMemory()
|
boolean |
isStoreGuestPreferencesInEntity()
|
boolean |
isStoreGuestPreferencesInMemory()
|
boolean |
isStoreInEntity(PortletRequest portletRequest)
|
boolean |
isStoreInMemory(PortletRequest portletRequest)
|
void |
setLoadGuestPreferencesFromEntity(boolean loadGuestPreferencesFromEntity)
|
void |
setLoadGuestPreferencesFromMemory(boolean loadGuestPreferencesFromMemory)
|
void |
setPersonManager(IPersonManager personManager)
|
void |
setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
|
void |
setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
|
void |
setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
|
void |
setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
|
void |
setStoreGuestPreferencesInEntity(boolean storeGuestPreferencesInEntity)
|
void |
setStoreGuestPreferencesInMemory(boolean storeGuestPreferencesInMemory)
|
void |
store(org.apache.pluto.PortletWindow plutoPortletWindow,
PortletRequest portletRequest,
org.apache.pluto.internal.InternalPortletPreference[] newPreferences)
|
protected void |
storeSessionPreferences(IPortletEntityId portletEntityId,
HttpServletRequest httpServletRequest,
List<IPortletPreference> preferences)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String PORTLET_PREFERENCES_MAP_ATTRIBUTE
| Constructor Detail |
|---|
public PortletPreferencesServiceImpl()
| Method Detail |
|---|
public IPortalRequestUtils getPortalRequestUtils()
public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
portalRequestUtils - the portalRequestUtils to setpublic IPortletWindowRegistry getPortletWindowRegistry()
public void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
portletWindowRegistry - the portletWindowRegistry to setpublic IPortletEntityRegistry getPortletEntityRegistry()
public void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
portletEntityRegistry - the portletEntityRegistry to setpublic IPortletDefinitionRegistry getPortletDefinitionRegistry()
public void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
portletDefinitionRegistry - the portletDefinitionRegistry to setpublic IPersonManager getPersonManager()
public void setPersonManager(IPersonManager personManager)
personManager - the personManager to setpublic boolean isLoadGuestPreferencesFromMemory()
public void setLoadGuestPreferencesFromMemory(boolean loadGuestPreferencesFromMemory)
public boolean isLoadGuestPreferencesFromEntity()
public void setLoadGuestPreferencesFromEntity(boolean loadGuestPreferencesFromEntity)
public boolean isStoreGuestPreferencesInMemory()
public void setStoreGuestPreferencesInMemory(boolean storeGuestPreferencesInMemory)
public boolean isStoreGuestPreferencesInEntity()
public void setStoreGuestPreferencesInEntity(boolean storeGuestPreferencesInEntity)
public boolean isStoreInEntity(PortletRequest portletRequest)
public boolean isLoadFromEntity(PortletRequest portletRequest)
public boolean isStoreInMemory(PortletRequest portletRequest)
public boolean isLoadFromMemory(PortletRequest portletRequest)
public org.apache.pluto.internal.InternalPortletPreference[] getStoredPreferences(org.apache.pluto.PortletWindow plutoPortletWindow,
PortletRequest portletRequest)
throws org.apache.pluto.PortletContainerException
getStoredPreferences in interface org.apache.pluto.spi.optional.PortletPreferencesServiceorg.apache.pluto.PortletContainerException
public void store(org.apache.pluto.PortletWindow plutoPortletWindow,
PortletRequest portletRequest,
org.apache.pluto.internal.InternalPortletPreference[] newPreferences)
throws org.apache.pluto.PortletContainerException
store in interface org.apache.pluto.spi.optional.PortletPreferencesServiceorg.apache.pluto.PortletContainerExceptionprotected List<IPortletPreference> getDescriptorPreferences(org.apache.pluto.descriptors.portlet.PortletDD portletDescriptor)
protected void addPreferencesToMap(List<IPortletPreference> preferencesList,
Map<String,org.apache.pluto.internal.InternalPortletPreference> preferencesMap)
protected boolean isGuestUser(HttpServletRequest httpServletRequest)
protected List<IPortletPreference> getSessionPreferences(IPortletEntityId portletEntityId,
HttpServletRequest httpServletRequest)
protected void storeSessionPreferences(IPortletEntityId portletEntityId,
HttpServletRequest httpServletRequest,
List<IPortletPreference> preferences)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||