com.esri.adf.web.ags.data.edit.util
Class VersionUtil

java.lang.Object
  extended by com.esri.adf.web.ags.data.edit.util.VersionUtil

public class VersionUtil
extends Object

A helper class to change version of a map service.


Constructor Summary
VersionUtil()
           
 
Method Summary
static boolean setVersion(AGSLocalMapResource mapResource, String newVersionName)
          Changes the version of a map service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionUtil

public VersionUtil()
Method Detail

setVersion

public static boolean setVersion(AGSLocalMapResource mapResource,
                                 String newVersionName)
                          throws Exception
Changes the version of a map service.

Parameters:
mapResource - map service.
newVersionName - new version name.
Returns:
return true if succeed.
Throws:
Exception