Groovy Documentation

org.grails.plugin.vaadin
[Groovy] Class VaadinSystemMessages

java.lang.Object
  com.vaadin.Application.SystemMessages
      com.vaadin.Application.CustomizedSystemMessages
          org.grails.plugin.vaadin.VaadinSystemMessages

class VaadinSystemMessages
extends Application.CustomizedSystemMessages

System-wide system messages configured from Vaadin Config

Authors:
Francis McKenzie


Property Summary
static def log

 
Constructor Summary
VaadinSystemMessages()

Initialise default system messages

VaadinSystemMessages(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)

Initialise this system messages from Vaadin config retrieved from grails application

VaadinSystemMessages(Map props)

Initialise this system messages from specified props

 
Method Summary
void configure(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)

Configures system messages from Vaadin config retrieved from grails application

void configure(Map props)

Configures system messages form specified map of properties.

String toString()

Gets a string representation of this system messages

 
Methods inherited from class Application.CustomizedSystemMessages
setSessionExpiredURL, setSessionExpiredNotificationEnabled, setSessionExpiredCaption, setSessionExpiredMessage, setAuthenticationErrorURL, setAuthenticationErrorNotificationEnabled, setAuthenticationErrorCaption, setAuthenticationErrorMessage, setCommunicationErrorURL, setCommunicationErrorNotificationEnabled, setCommunicationErrorCaption, setCommunicationErrorMessage, setInternalErrorURL, setInternalErrorNotificationEnabled, setInternalErrorCaption, setInternalErrorMessage, setOutOfSyncURL, setOutOfSyncNotificationEnabled, setOutOfSyncCaption, setOutOfSyncMessage, setCookiesDisabledURL, setCookiesDisabledNotificationEnabled, setCookiesDisabledCaption, setCookiesDisabledMessage, getSessionExpiredURL, isSessionExpiredNotificationEnabled, getSessionExpiredCaption, getSessionExpiredMessage, getCommunicationErrorURL, isCommunicationErrorNotificationEnabled, getCommunicationErrorCaption, getCommunicationErrorMessage, getAuthenticationErrorURL, isAuthenticationErrorNotificationEnabled, getAuthenticationErrorCaption, getAuthenticationErrorMessage, getInternalErrorURL, isInternalErrorNotificationEnabled, getInternalErrorCaption, getInternalErrorMessage, getOutOfSyncURL, isOutOfSyncNotificationEnabled, getOutOfSyncCaption, getOutOfSyncMessage, getCookiesDisabledURL, isCookiesDisabledNotificationEnabled, getCookiesDisabledCaption, getCookiesDisabledMessage, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Application.SystemMessages
getSessionExpiredURL, isSessionExpiredNotificationEnabled, getSessionExpiredCaption, getSessionExpiredMessage, getCommunicationErrorURL, isCommunicationErrorNotificationEnabled, getCommunicationErrorCaption, getCommunicationErrorMessage, getAuthenticationErrorURL, isAuthenticationErrorNotificationEnabled, getAuthenticationErrorCaption, getAuthenticationErrorMessage, getInternalErrorURL, isInternalErrorNotificationEnabled, getInternalErrorCaption, getInternalErrorMessage, getOutOfSyncURL, isOutOfSyncNotificationEnabled, getOutOfSyncCaption, getOutOfSyncMessage, getCookiesDisabledURL, isCookiesDisabledNotificationEnabled, getCookiesDisabledCaption, getCookiesDisabledMessage, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

log

static def log


 
Constructor Detail

VaadinSystemMessages

VaadinSystemMessages()
Initialise default system messages


VaadinSystemMessages

VaadinSystemMessages(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
Initialise this system messages from Vaadin config retrieved from grails application

Note that an exception will be thrown if the config contains entries that should not be applied to system messages.

Parameters:
grailsApplication - Grails app from which to retrieve Vaadin config


VaadinSystemMessages

VaadinSystemMessages(Map props)
Initialise this system messages from specified props

Note that an exception will be thrown if the map contains entries that should not be applied to system messages.

Parameters:
props - The settings to use to configure this system messages


 
Method Detail

configure

void configure(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
Configures system messages from Vaadin config retrieved from grails application

Note that an exception will be thrown if the config contains entries that should not be applied to system messages.


configure

void configure(Map props)
Configures system messages form specified map of properties.

Note that an exception will be thrown if the map contains entries that should not be applied to system messages.


toString

String toString()
Gets a string representation of this system messages


 

Groovy Documentation