Type.registerNamespace('AJAXInterface.modul.PdfFormService');
AJAXInterface.modul.PdfFormService.PdfFormService=function() {
AJAXInterface.modul.PdfFormService.PdfFormService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AJAXInterface.modul.PdfFormService.PdfFormService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_path();},
getFullPdfTemplate:function(productID,pdfFormID,uniquePdfID,templateID,isTemplateInOrderHistory,processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="productID" type="Number">System.Int32</param>
/// <param name="pdfFormID" type="Number">System.Int32</param>
/// <param name="uniquePdfID" type="Number">System.Int32</param>
/// <param name="templateID" type="Number">System.Int32</param>
/// <param name="isTemplateInOrderHistory" type="Boolean">System.Boolean</param>
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</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(), 'getFullPdfTemplate',false,{productID:productID,pdfFormID:pdfFormID,uniquePdfID:uniquePdfID,templateID:templateID,isTemplateInOrderHistory:isTemplateInOrderHistory,processID:processID,events:events},succeededCallback,failedCallback,userContext); },
checkFDFStringsInDB:function(username,password,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" 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(), 'checkFDFStringsInDB',false,{username:username,password:password},succeededCallback,failedCallback,userContext); },
getListOfReceivedUniquePDFIDs:function(processID,events,succeededCallback, failedCallback, userContext) {
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</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(), 'getListOfReceivedUniquePDFIDs',false,{processID:processID,events:events},succeededCallback,failedCallback,userContext); }}
AJAXInterface.modul.PdfFormService.PdfFormService.registerClass('AJAXInterface.modul.PdfFormService.PdfFormService',Sys.Net.WebServiceProxy);
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance = new AJAXInterface.modul.PdfFormService.PdfFormService();
AJAXInterface.modul.PdfFormService.PdfFormService.set_path = function(value) {
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.set_path(value); }
AJAXInterface.modul.PdfFormService.PdfFormService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_path();}
AJAXInterface.modul.PdfFormService.PdfFormService.set_timeout = function(value) {
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.set_timeout(value); }
AJAXInterface.modul.PdfFormService.PdfFormService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_timeout(); }
AJAXInterface.modul.PdfFormService.PdfFormService.set_defaultUserContext = function(value) { 
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.set_defaultUserContext(value); }
AJAXInterface.modul.PdfFormService.PdfFormService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_defaultUserContext(); }
AJAXInterface.modul.PdfFormService.PdfFormService.set_defaultSucceededCallback = function(value) { 
 AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.set_defaultSucceededCallback(value); }
AJAXInterface.modul.PdfFormService.PdfFormService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_defaultSucceededCallback(); }
AJAXInterface.modul.PdfFormService.PdfFormService.set_defaultFailedCallback = function(value) { 
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.set_defaultFailedCallback(value); }
AJAXInterface.modul.PdfFormService.PdfFormService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.get_defaultFailedCallback(); }
AJAXInterface.modul.PdfFormService.PdfFormService.set_path("/AJAXInterface/modul/PdfForm/PdfFormService.asmx");
AJAXInterface.modul.PdfFormService.PdfFormService.getFullPdfTemplate= function(productID,pdfFormID,uniquePdfID,templateID,isTemplateInOrderHistory,processID,events,onSuccess,onFailed,userContext) {
/// <param name="productID" type="Number">System.Int32</param>
/// <param name="pdfFormID" type="Number">System.Int32</param>
/// <param name="uniquePdfID" type="Number">System.Int32</param>
/// <param name="templateID" type="Number">System.Int32</param>
/// <param name="isTemplateInOrderHistory" type="Boolean">System.Boolean</param>
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</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>
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.getFullPdfTemplate(productID,pdfFormID,uniquePdfID,templateID,isTemplateInOrderHistory,processID,events,onSuccess,onFailed,userContext); }
AJAXInterface.modul.PdfFormService.PdfFormService.checkFDFStringsInDB= function(username,password,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" 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>
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.checkFDFStringsInDB(username,password,onSuccess,onFailed,userContext); }
AJAXInterface.modul.PdfFormService.PdfFormService.getListOfReceivedUniquePDFIDs= function(processID,events,onSuccess,onFailed,userContext) {
/// <param name="processID" type="Number">System.Int32</param>
/// <param name="events">System.Object</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>
AJAXInterface.modul.PdfFormService.PdfFormService._staticInstance.getListOfReceivedUniquePDFIDs(processID,events,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('ModanFramework.modul.WebServiceExtensions.model');
if (typeof(ModanFramework.modul.WebServiceExtensions.model.WebserviceResult) === 'undefined') {
ModanFramework.modul.WebServiceExtensions.model.WebserviceResult=gtc("ModanFramework.modul.WebServiceExtensions.model.WebserviceResult");
ModanFramework.modul.WebServiceExtensions.model.WebserviceResult.registerClass('ModanFramework.modul.WebServiceExtensions.model.WebserviceResult');
}

