com.hack23.cia.model.application.dto
Class UserSessionDTO

Package class diagram package UserSessionDTO
java.lang.Object
  extended by com.hack23.cia.model.application.dto.UserSessionDTO

public class UserSessionDTO
extends Object

The Class UserSessionDTO.


Constructor Summary
UserSessionDTO(UserSession userSession)
          Instantiates a new user session dto.
 
Method Summary
 String getLanguageResource(Agency.LanguageContentKey key)
          Gets the language resource.
 String getLanguageResource(Portal.LanguageContentKey key)
          Gets the language resource.
 String getLanguageResource(Vote.Position position)
          Gets the language resource.
 UserSession getUserSession()
          Gets the user session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSessionDTO

public UserSessionDTO(UserSession userSession)
Instantiates a new user session dto.

Parameters:
userSession - the user session
Method Detail

getLanguageResource

public final String getLanguageResource(Agency.LanguageContentKey key)
Gets the language resource.

Parameters:
key - the key
Returns:
the language resource

getLanguageResource

public final String getLanguageResource(Portal.LanguageContentKey key)
Gets the language resource.

Parameters:
key - the key
Returns:
the language resource

getLanguageResource

public final String getLanguageResource(Vote.Position position)
Gets the language resource.

Parameters:
position - the position
Returns:
the language resource

getUserSession

public final UserSession getUserSession()
Gets the user session.

Returns:
the user session


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.