com.hack23.cia.web.views.navigationview.application
Class CitizenIntelligenceAgency

Package class diagram package CitizenIntelligenceAgency
java.lang.Object
  extended by com.vaadin.Application
      extended by com.hack23.cia.web.views.navigationview.application.CitizenIntelligenceAgency
All Implemented Interfaces:
ApplicationUserState, Navigator.NavigableApplication, com.vaadin.service.ApplicationContext.TransactionListener, com.vaadin.terminal.Terminal.ErrorListener, com.vaadin.terminal.URIHandler, Serializable

@Configurable(preConstruction=true)
public class CitizenIntelligenceAgency
extends com.vaadin.Application
implements com.vaadin.service.ApplicationContext.TransactionListener, ApplicationUserState, Navigator.NavigableApplication

The Class CitizenIntelligenceAgency.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.Application
com.vaadin.Application.ApplicationError, com.vaadin.Application.CustomizedSystemMessages, com.vaadin.Application.SystemMessages, com.vaadin.Application.UserChangeEvent, com.vaadin.Application.UserChangeListener, com.vaadin.Application.WindowAttachEvent, com.vaadin.Application.WindowAttachListener, com.vaadin.Application.WindowDetachEvent, com.vaadin.Application.WindowDetachListener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.URIHandler
com.vaadin.terminal.URIHandler.ErrorEvent
 
Constructor Summary
CitizenIntelligenceAgency()
           
 
Method Summary
 com.vaadin.ui.Window createNewWindow()
          Creates the new window.
 com.vaadin.ui.HorizontalLayout createToolbar(UserSessionDTO userSessionDTO, Navigator navigator)
          Creates the toolbar.
 Navigator getNavigator()
          Gets the navigator.
 UserSessionDTO getUserSessionDTO()
          Gets the user session dto.
 Long getUserSessionId()
          Gets the user session id.
 com.vaadin.ui.Window getWindow(String name)
           
 void init()
           
 void setUserSessionDTO(UserSessionDTO userSessionDTO)
          Sets the user session dto.
 void setUserSessionId(Long id)
          Sets the user session id.
 void transactionEnd(com.vaadin.Application application, Object o)
           
 void transactionStart(com.vaadin.Application application, Object o)
           
 
Methods inherited from class com.vaadin.Application
addListener, addListener, addListener, addResource, addWindow, close, getContext, getErrorHandler, getLocale, getLogoutURL, getMainWindow, getProperty, getPropertyNames, getRelativeLocation, getSystemMessages, getTheme, getURL, getUser, getVersion, getWindows, handleURI, isRunning, removeListener, removeListener, removeListener, removeResource, removeWindow, setErrorHandler, setLocale, setLogoutURL, setMainWindow, setTheme, setUser, start, terminalError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.web.views.common.ApplicationUserState
getUser
 

Constructor Detail

CitizenIntelligenceAgency

public CitizenIntelligenceAgency()
Method Detail

createNewWindow

public com.vaadin.ui.Window createNewWindow()
Description copied from interface: Navigator.NavigableApplication
Creates the new window.

Specified by:
createNewWindow in interface Navigator.NavigableApplication
Returns:
the window

createToolbar

public com.vaadin.ui.HorizontalLayout createToolbar(UserSessionDTO userSessionDTO,
                                                    Navigator navigator)
Creates the toolbar.

Parameters:
userSessionDTO - the user session dto
navigator - the navigator
Returns:
the horizontal layout

getNavigator

public Navigator getNavigator()
Description copied from interface: ApplicationUserState
Gets the navigator.

Specified by:
getNavigator in interface ApplicationUserState
Returns:
the navigator

getUserSessionDTO

public UserSessionDTO getUserSessionDTO()
Description copied from interface: ApplicationUserState
Gets the user session dto.

Specified by:
getUserSessionDTO in interface ApplicationUserState
Returns:
the user session dto

getUserSessionId

public Long getUserSessionId()
Description copied from interface: ApplicationUserState
Gets the user session id.

Specified by:
getUserSessionId in interface ApplicationUserState
Returns:
the user session id

getWindow

public com.vaadin.ui.Window getWindow(String name)
Overrides:
getWindow in class com.vaadin.Application

init

public void init()
Specified by:
init in class com.vaadin.Application

setUserSessionDTO

public void setUserSessionDTO(UserSessionDTO userSessionDTO)
Sets the user session dto.

Parameters:
userSessionDTO - the new user session dto

setUserSessionId

public void setUserSessionId(Long id)
Description copied from interface: ApplicationUserState
Sets the user session id.

Specified by:
setUserSessionId in interface ApplicationUserState
Parameters:
id - the new user session id

transactionEnd

public void transactionEnd(com.vaadin.Application application,
                           Object o)
Specified by:
transactionEnd in interface com.vaadin.service.ApplicationContext.TransactionListener

transactionStart

public void transactionStart(com.vaadin.Application application,
                             Object o)
Specified by:
transactionStart in interface com.vaadin.service.ApplicationContext.TransactionListener


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