Type.registerNamespace('GJB.Services');
GJB.Services.Decrypt=function() {
GJB.Services.Decrypt.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GJB.Services.Decrypt.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GJB.Services.Decrypt._staticInstance.get_path();},
GetText:function(strCode,bolEmail,succeededCallback, failedCallback, userContext) {
/// <param name="strCode" type="String">System.String</param>
/// <param name="bolEmail" type="Boolean">System.Boolean</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(), 'GetText',false,{strCode:strCode,bolEmail:bolEmail},succeededCallback,failedCallback,userContext); },
GetAll:function(ajaxText,iCount,succeededCallback, failedCallback, userContext) {
/// <param name="ajaxText" type="Array">System.String[]</param>
/// <param name="iCount" 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(), 'GetAll',false,{ajaxText:ajaxText,iCount:iCount},succeededCallback,failedCallback,userContext); }}
GJB.Services.Decrypt.registerClass('GJB.Services.Decrypt',Sys.Net.WebServiceProxy);
GJB.Services.Decrypt._staticInstance = new GJB.Services.Decrypt();
GJB.Services.Decrypt.set_path = function(value) {
GJB.Services.Decrypt._staticInstance.set_path(value); }
GJB.Services.Decrypt.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GJB.Services.Decrypt._staticInstance.get_path();}
GJB.Services.Decrypt.set_timeout = function(value) {
GJB.Services.Decrypt._staticInstance.set_timeout(value); }
GJB.Services.Decrypt.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GJB.Services.Decrypt._staticInstance.get_timeout(); }
GJB.Services.Decrypt.set_defaultUserContext = function(value) { 
GJB.Services.Decrypt._staticInstance.set_defaultUserContext(value); }
GJB.Services.Decrypt.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GJB.Services.Decrypt._staticInstance.get_defaultUserContext(); }
GJB.Services.Decrypt.set_defaultSucceededCallback = function(value) { 
 GJB.Services.Decrypt._staticInstance.set_defaultSucceededCallback(value); }
GJB.Services.Decrypt.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GJB.Services.Decrypt._staticInstance.get_defaultSucceededCallback(); }
GJB.Services.Decrypt.set_defaultFailedCallback = function(value) { 
GJB.Services.Decrypt._staticInstance.set_defaultFailedCallback(value); }
GJB.Services.Decrypt.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GJB.Services.Decrypt._staticInstance.get_defaultFailedCallback(); }
GJB.Services.Decrypt.set_enableJsonp = function(value) { GJB.Services.Decrypt._staticInstance.set_enableJsonp(value); }
GJB.Services.Decrypt.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return GJB.Services.Decrypt._staticInstance.get_enableJsonp(); }
GJB.Services.Decrypt.set_jsonpCallbackParameter = function(value) { GJB.Services.Decrypt._staticInstance.set_jsonpCallbackParameter(value); }
GJB.Services.Decrypt.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return GJB.Services.Decrypt._staticInstance.get_jsonpCallbackParameter(); }
GJB.Services.Decrypt.set_path("/App_Services/tools/decrypt.asmx");
GJB.Services.Decrypt.GetText= function(strCode,bolEmail,onSuccess,onFailed,userContext) {
/// <param name="strCode" type="String">System.String</param>
/// <param name="bolEmail" type="Boolean">System.Boolean</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>
GJB.Services.Decrypt._staticInstance.GetText(strCode,bolEmail,onSuccess,onFailed,userContext); }
GJB.Services.Decrypt.GetAll= function(ajaxText,iCount,onSuccess,onFailed,userContext) {
/// <param name="ajaxText" type="Array">System.String[]</param>
/// <param name="iCount" 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>
GJB.Services.Decrypt._staticInstance.GetAll(ajaxText,iCount,onSuccess,onFailed,userContext); }

