com.esri.adf.web.ags.data.edit.util
Class VersionUtil
java.lang.Object
com.esri.adf.web.ags.data.edit.util.VersionUtil
public class VersionUtil
- extends Object
A helper class to change version of a map service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionUtil
public VersionUtil()
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