nl.surfnet.coin.portal.domain
Class UserPreferences

java.lang.Object
  extended by nl.surfnet.coin.shared.domain.DomainObject
      extended by nl.surfnet.coin.portal.domain.UserPreferences
All Implemented Interfaces:
Serializable

public class UserPreferences
extends nl.surfnet.coin.shared.domain.DomainObject

The user preferences.

See Also:
Serialized Form

Constructor Summary
UserPreferences()
           
 
Method Summary
 String getPersonId()
           
 Boolean isInformationSharingPermissionGranted()
           
 void setInformationSharingPermissionGranted(Boolean informationSharingPermissionGranted)
          Set wheter the user has granted automatic information sharing permission for gadgets.
 void setPersonId(String personId)
          Set to whom the preferences belong.
 
Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject
equals, getId, hashCode, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserPreferences

public UserPreferences()
Method Detail

getPersonId

public String getPersonId()
Returns:
The ID of the person coupled to these preferences.

setPersonId

public void setPersonId(String personId)
Set to whom the preferences belong.

Parameters:
personId - ID of the person

isInformationSharingPermissionGranted

public Boolean isInformationSharingPermissionGranted()
Returns:
whether the user has granted automatic information sharing permissions for gadgets.

setInformationSharingPermissionGranted

public void setInformationSharingPermissionGranted(Boolean informationSharingPermissionGranted)
Set wheter the user has granted automatic information sharing permission for gadgets.

Parameters:
informationSharingPermissionGranted -


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.