org.romaframework.module.users.domain.portal
Class PortalPreferences

java.lang.Object
  extended by org.romaframework.module.users.domain.portal.PortalPreferences

public class PortalPreferences
extends java.lang.Object

Class that rapresents the portlet configuration

Author:
l.molino

Constructor Summary
PortalPreferences()
           
PortalPreferences(BaseAccount iAccount)
          It creates a new instance of PortlaPreferences for specified account
 
Method Summary
 boolean equals(java.lang.Object o)
           
 BaseAccount getAccount()
          Method that returns the BaseAccount of this preferences
 java.util.Map<java.lang.String,PortletList> getPortletsInfos()
          Method that returns a map that contains portlet configuration
 int hashCode()
           
 void setAccount(BaseAccount account)
          Method that sets the BaseAccount of this preferences
 void setPortletsInfos(java.util.Map<java.lang.String,PortletList> portlets)
          Method that sets the map containing portlet configurations
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalPreferences

public PortalPreferences()

PortalPreferences

public PortalPreferences(BaseAccount iAccount)
It creates a new instance of PortlaPreferences for specified account

Parameters:
iAccount - the account associated with this preferences
Method Detail

getAccount

public BaseAccount getAccount()
Method that returns the BaseAccount of this preferences

Returns:
the account of this preferences
See Also:
BaseAccount

setAccount

public void setAccount(BaseAccount account)
Method that sets the BaseAccount of this preferences

Parameters:
account - the account of this preferences
See Also:
BaseAccount

getPortletsInfos

public java.util.Map<java.lang.String,PortletList> getPortletsInfos()
Method that returns a map that contains portlet configuration

Returns:
the map of portlet configuration, mapped by the name of the contaier

setPortletsInfos

public void setPortletsInfos(java.util.Map<java.lang.String,PortletList> portlets)
Method that sets the map containing portlet configurations

Parameters:
portlets - the map containing portlet configurations

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object