nl.surfnet.coin.portal.domain
Class IdentityProvider

java.lang.Object
  extended by nl.surfnet.coin.portal.domain.IdentityProvider

public class IdentityProvider
extends Object


Constructor Summary
IdentityProvider()
           
 
Method Summary
 String getCountry()
          Get the country.
 Locale getDefaultLocale()
          Get the default locale.
 String getDisplayName()
          Get the display name.
 String getDisplayName(String language)
          Get the display name for a given locale.
 String getEntityId()
          Get the entityID.
 String getGeoLocationHint()
          Get the GEO location hint
 Map<String,String[]> getKeywords()
           
 String[] getKeywords(String language)
           
 String getLogo()
          Get the logo
 void setCountry(String country)
          Set the country.
 void setDefaultLocale(Locale defaultLocale)
          Set the default Locale.
 void setDisplayName(String displayName)
          Set the display name, used by controllers to set the display name for the users' locale.
 void setDisplayName(String language, String displayName)
          Set a display name.
 void setEntityId(String entityId)
          Set the entityID.
 void setGeoLocationHint(String geoLocationHint)
          Set the geolocation and also set the country based on the geolocation.
 void setKeyword(String language, String[] keywords)
           
 void setKeywords(Map<String,String[]> keywords)
           
 void setLogo(String logo)
          Set the logo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityProvider

public IdentityProvider()
Method Detail

setDisplayName

public void setDisplayName(String language,
                           String displayName)
Set a display name.

Parameters:
language - the language for the display name to set
displayName - the display name to set

getDisplayName

public String getDisplayName(String language)
Get the display name for a given locale.

Parameters:
language -
Returns:
the display name for the given locale or the display name for the default locale, or null if no default locale is set return null

setEntityId

public void setEntityId(String entityId)
Set the entityID.

Parameters:
entityId - the entityId to set

getEntityId

public String getEntityId()
Get the entityID.

Returns:
the entityId

setDefaultLocale

public void setDefaultLocale(Locale defaultLocale)
Set the default Locale.

Parameters:
defaultLocale - the defaultLocale to set

getDefaultLocale

public Locale getDefaultLocale()
Get the default locale.

Returns:
the defaultLocale

setLogo

public void setLogo(String logo)
Set the logo.

Parameters:
logo - the logo to set

getLogo

public String getLogo()
Get the logo

Returns:
the logo

setGeoLocationHint

public void setGeoLocationHint(String geoLocationHint)
Set the geolocation and also set the country based on the geolocation. The country will be set to NL or OTHER

Parameters:
geoLocationHint - the geoLocationHint to set

getGeoLocationHint

public String getGeoLocationHint()
Get the GEO location hint

Returns:
the geoLocationHint

setDisplayName

public void setDisplayName(String displayName)
Set the display name, used by controllers to set the display name for the users' locale.

Parameters:
displayName - the displayName to set

getDisplayName

public String getDisplayName()
Get the display name.

Returns:
the displayName

setCountry

public void setCountry(String country)
Set the country.

Parameters:
country - the country to set

getCountry

public String getCountry()
Get the country.

Returns:
the country

setKeywords

public void setKeywords(Map<String,String[]> keywords)
Parameters:
keywords - the keywords to set

getKeywords

public Map<String,String[]> getKeywords()
Returns:
the keywords

setKeyword

public void setKeyword(String language,
                       String[] keywords)

getKeywords

public String[] getKeywords(String language)


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