package com.backendless.servercode;

import com.backendless.commons.DeviceType;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: ivanlappo
 * Date: 8/19/13
 * Time: 12:55 PM
 * To change this template use File | Settings | File Templates.
 */
public class RunnerContext
{
  private String appId;
  private String userId;
  private String userToken;
  private DeviceType deviceType;
  private Map missingProperties;

  public RunnerContext()
  {
  }

  public String getAppId()
  {
    return appId;
  }

  public void setAppId( String appId )
  {
    this.appId = appId;
  }

  public String getUserId()
  {
    return userId;
  }

  public void setUserId( String userId )
  {
    this.userId = userId;
  }

  public String getUserToken()
  {
    return userToken;
  }

  public void setUserToken( String userToken )
  {
    this.userToken = userToken;
  }

  public DeviceType getDeviceType()
  {
    return deviceType;
  }

  public void setDeviceType( DeviceType deviceType )
  {
    this.deviceType = deviceType;
  }

  public Map getMissingProperties()
  {
    return missingProperties;
  }

  public void setMissingProperties( Map missingProperties )
  {
    this.missingProperties = missingProperties;
  }
}

@@ -361,16 +361,43 @@
 rToken;%0A
+  private String userRole;%0A
   privat
@@ -801,32 +801,176 @@
 userToken;%0A  %7D%0A%0A
+  public String getUserRole()%0A  %7B%0A    return userRole;%0A  %7D%0A%0A  public void setUserRole( String userRole )%0A  %7B%0A    this.userRole = userRole;%0A  %7D%0A%0A
   public void se

add User Role to CodeRunner Context