com.hack23.cia.web.impl.ui.application
Class CitizenIntelligenceAgency

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

@Component(value="citizenIntelligenceAgency")
@Scope(value="prototype")
public final class CitizenIntelligenceAgency
extends org.vaadin.navigator7.NavigableApplication
implements com.vaadin.service.ApplicationContext.TransactionListener, ApplicationUserState

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
 
Field Summary
 
Fields inherited from class org.vaadin.navigator7.NavigableApplication
currentApplication, currentNavigableAppLevelWindow, veryInitialUriFragment
 
Constructor Summary
CitizenIntelligenceAgency()
           
 
Method Summary
 org.vaadin.navigator7.window.NavigableAppLevelWindow createNewNavigableAppLevelWindow()
           
 com.hack23.cia.service.api.ApplicationManager getApplicationManager()
          Gets the application manager.
 com.hack23.cia.service.api.ConfigurationManager getConfigurationManager()
          Gets the configuration manager.
 com.google.api.translate.Language getGoogleApiLanguage()
          Gets the google api language.
 com.google.gwt.language.client.translation.Language getLanguage()
          Gets the language.
 Locale getLocale()
          Gets the locale.
 Object getUser()
          Gets the user.
 void setLanguage(com.google.gwt.language.client.translation.Language language)
          Sets the language.
 void setLocale(Locale locale)
           
 void terminalError(com.vaadin.terminal.Terminal.ErrorEvent event)
           
 void transactionEnd(com.vaadin.Application application, Object object)
           
 void transactionStart(com.vaadin.Application application, Object object)
           
 String translateFromEnglish(String string)
          Translate from english.
 
Methods inherited from class org.vaadin.navigator7.NavigableApplication
getCurrent, getCurrentNavigableAppLevelWindow, getVeryInitialUriFragment, getWebApplication, getWindow, init
 
Methods inherited from class com.vaadin.Application
addListener, addListener, addListener, addResource, addWindow, close, getContext, getErrorHandler, getLogoutURL, getMainWindow, getProperty, getPropertyNames, getRelativeLocation, getSystemMessages, getTheme, getURL, getVersion, getWindows, handleURI, isRunning, removeListener, removeListener, removeListener, removeResource, removeWindow, setErrorHandler, setLogoutURL, setMainWindow, setTheme, setUser, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CitizenIntelligenceAgency

public CitizenIntelligenceAgency()
Method Detail

createNewNavigableAppLevelWindow

public org.vaadin.navigator7.window.NavigableAppLevelWindow createNewNavigableAppLevelWindow()
Specified by:
createNewNavigableAppLevelWindow in class org.vaadin.navigator7.NavigableApplication

getApplicationManager

public com.hack23.cia.service.api.ApplicationManager getApplicationManager()
Description copied from interface: ApplicationUserState
Gets the application manager.

Specified by:
getApplicationManager in interface ApplicationUserState
Returns:
the application manager

getConfigurationManager

public com.hack23.cia.service.api.ConfigurationManager getConfigurationManager()
Description copied from interface: ApplicationUserState
Gets the configuration manager.

Specified by:
getConfigurationManager in interface ApplicationUserState
Returns:
the configuration manager

getGoogleApiLanguage

public com.google.api.translate.Language getGoogleApiLanguage()
Description copied from interface: ApplicationUserState
Gets the google api language.

Specified by:
getGoogleApiLanguage in interface ApplicationUserState
Returns:
the google api language

getLanguage

public com.google.gwt.language.client.translation.Language getLanguage()
Description copied from interface: ApplicationUserState
Gets the language.

Specified by:
getLanguage in interface ApplicationUserState
Returns:
the language

getLocale

public Locale getLocale()
Description copied from interface: ApplicationUserState
Gets the locale.

Specified by:
getLocale in interface ApplicationUserState
Overrides:
getLocale in class com.vaadin.Application
Returns:
the locale

getUser

public Object getUser()
Description copied from interface: ApplicationUserState
Gets the user.

Specified by:
getUser in interface ApplicationUserState
Overrides:
getUser in class com.vaadin.Application
Returns:
the user

setLanguage

public void setLanguage(com.google.gwt.language.client.translation.Language language)
Description copied from interface: ApplicationUserState
Sets the language.

Specified by:
setLanguage in interface ApplicationUserState
Parameters:
language - the new language

setLocale

public void setLocale(Locale locale)
Overrides:
setLocale in class com.vaadin.Application

terminalError

public void terminalError(com.vaadin.terminal.Terminal.ErrorEvent event)
Specified by:
terminalError in interface com.vaadin.terminal.Terminal.ErrorListener
Overrides:
terminalError in class com.vaadin.Application

transactionEnd

public void transactionEnd(com.vaadin.Application application,
                           Object object)
Specified by:
transactionEnd in interface com.vaadin.service.ApplicationContext.TransactionListener
Overrides:
transactionEnd in class org.vaadin.navigator7.NavigableApplication

transactionStart

public void transactionStart(com.vaadin.Application application,
                             Object object)
Specified by:
transactionStart in interface com.vaadin.service.ApplicationContext.TransactionListener
Overrides:
transactionStart in class org.vaadin.navigator7.NavigableApplication

translateFromEnglish

public String translateFromEnglish(String string)
Description copied from interface: ApplicationUserState
Translate from english.

Specified by:
translateFromEnglish in interface ApplicationUserState
Parameters:
string - the string
Returns:
the string


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