com.hack23.cia.model.api.dto.application
Class UserSessionDto

Package class diagram package UserSessionDto
java.lang.Object
  extended by com.hack23.cia.model.api.dto.common.AbstractDto
      extended by com.hack23.cia.model.api.dto.application.UserSessionDto
All Implemented Interfaces:
DataTransferObject, Serializable

public class UserSessionDto
extends AbstractDto

The Class UserSessionDto.

See Also:
Serialized Form

Constructor Summary
UserSessionDto(UserSessionData userSession)
          Instantiates a new user session dto.
 
Method Summary
 String getLanguageResource(LanguageContentKey key)
          Gets the language resource.
 String getLanguageResource(PortalLanguageContentKey key)
          Gets the language resource.
 String getLanguageResource(String string)
          Gets the language resource.
 String getLanguageResource(VotePosition position)
          Gets the language resource.
 UserSessionData 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(UserSessionData userSession)
Instantiates a new user session dto.

Parameters:
userSession - the user session
Method Detail

getLanguageResource

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

Parameters:
key - the key
Returns:
the language resource

getLanguageResource

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

Parameters:
key - the key
Returns:
the language resource

getLanguageResource

public final String getLanguageResource(String string)
Gets the language resource.

Parameters:
string - the string
Returns:
the language resource

getLanguageResource

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

Parameters:
position - the position
Returns:
the language resource

getUserSession

public final UserSessionData getUserSession()
Gets the user session.

Returns:
the user session


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