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

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

public class UserSessionDto
extends AbstractDtoImpl

The Class UserSessionDto.

See Also:
Serialized Form

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

Parameters:
key - the key
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-2010 www.hack23.com. All Rights Reserved.