var ClientServices=function() {
ClientServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ClientServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ClientServices._staticInstance.get_path();},
refreshContent:function(userName,hashedPassword,location,contentID,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'refreshContent',false,{userName:userName,hashedPassword:hashedPassword,location:location,contentID:contentID},succeededCallback,failedCallback,userContext); },
writeContent:function(email,hashedPassword,location,contentID,newContent,versionName,succeededCallback, failedCallback, userContext) {
/// <param name="email" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="newContent" type="String">System.String</param>
/// <param name="versionName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'writeContent',false,{email:email,hashedPassword:hashedPassword,location:location,contentID:contentID,newContent:newContent,versionName:versionName},succeededCallback,failedCallback,userContext); },
getContentVersions:function(userName,hashedPassword,contentID,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getContentVersions',false,{userName:userName,hashedPassword:hashedPassword,contentID:contentID},succeededCallback,failedCallback,userContext); },
getContentVersion:function(userName,hashedPassword,versionID,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="versionID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'getContentVersion',false,{userName:userName,hashedPassword:hashedPassword,versionID:versionID},succeededCallback,failedCallback,userContext); }}
ClientServices.registerClass('ClientServices',Sys.Net.WebServiceProxy);
ClientServices._staticInstance = new ClientServices();
ClientServices.set_path = function(value) {
ClientServices._staticInstance.set_path(value); }
ClientServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ClientServices._staticInstance.get_path();}
ClientServices.set_timeout = function(value) {
ClientServices._staticInstance.set_timeout(value); }
ClientServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ClientServices._staticInstance.get_timeout(); }
ClientServices.set_defaultUserContext = function(value) { 
ClientServices._staticInstance.set_defaultUserContext(value); }
ClientServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ClientServices._staticInstance.get_defaultUserContext(); }
ClientServices.set_defaultSucceededCallback = function(value) { 
 ClientServices._staticInstance.set_defaultSucceededCallback(value); }
ClientServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ClientServices._staticInstance.get_defaultSucceededCallback(); }
ClientServices.set_defaultFailedCallback = function(value) { 
ClientServices._staticInstance.set_defaultFailedCallback(value); }
ClientServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ClientServices._staticInstance.get_defaultFailedCallback(); }
ClientServices.set_path("/ClientServices.asmx");
ClientServices.refreshContent= function(userName,hashedPassword,location,contentID,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ClientServices._staticInstance.refreshContent(userName,hashedPassword,location,contentID,onSuccess,onFailed,userContext); }
ClientServices.writeContent= function(email,hashedPassword,location,contentID,newContent,versionName,onSuccess,onFailed,userContext) {
/// <param name="email" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="newContent" type="String">System.String</param>
/// <param name="versionName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ClientServices._staticInstance.writeContent(email,hashedPassword,location,contentID,newContent,versionName,onSuccess,onFailed,userContext); }
ClientServices.getContentVersions= function(userName,hashedPassword,contentID,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="contentID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ClientServices._staticInstance.getContentVersions(userName,hashedPassword,contentID,onSuccess,onFailed,userContext); }
ClientServices.getContentVersion= function(userName,hashedPassword,versionID,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="hashedPassword" type="String">System.String</param>
/// <param name="versionID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ClientServices._staticInstance.getContentVersion(userName,hashedPassword,versionID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(OptionList) === 'undefined') {
var OptionList=gtc("OptionList");
OptionList.registerClass('OptionList');
}
