com.vaadin.shared.communication
Class LegacyChangeVariablesInvocation

java.lang.Object
  extended by com.vaadin.shared.communication.MethodInvocation
      extended by com.vaadin.shared.communication.LegacyChangeVariablesInvocation
All Implemented Interfaces:
java.io.Serializable

public class LegacyChangeVariablesInvocation
extends MethodInvocation

See Also:
Serialized Form

Constructor Summary
LegacyChangeVariablesInvocation(java.lang.String connectorId, java.lang.String variableName, java.lang.Object value)
           
 
Method Summary
 java.lang.String getLastOnlyTag()
          Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if @Delay(lastOnly = true) is used.
 java.util.Map<java.lang.String,java.lang.Object> getVariableChanges()
           
static boolean isLegacyVariableChange(java.lang.String interfaceName, java.lang.String methodName)
           
 void setVariableChange(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class com.vaadin.shared.communication.MethodInvocation
equals, getConnectorId, getInterfaceName, getMethodName, getParameters, setParameters, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LegacyChangeVariablesInvocation

public LegacyChangeVariablesInvocation(java.lang.String connectorId,
                                       java.lang.String variableName,
                                       java.lang.Object value)
Method Detail

isLegacyVariableChange

public static boolean isLegacyVariableChange(java.lang.String interfaceName,
                                             java.lang.String methodName)

setVariableChange

public void setVariableChange(java.lang.String name,
                              java.lang.Object value)

getVariableChanges

public java.util.Map<java.lang.String,java.lang.Object> getVariableChanges()

getLastOnlyTag

public java.lang.String getLastOnlyTag()
Description copied from class: MethodInvocation
Gets a String tag that is used to uniquely identify previous method invocations that should be purged from the queue if @Delay(lastOnly = true) is used.

The returned string should contain at least one non-number char to ensure it doesn't collide with the keys used for invocations without lastOnly.

Overrides:
getLastOnlyTag in class MethodInvocation
Returns:
a string identifying this method invocation


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.