var AllServicesLinq=function() {
AllServicesLinq.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AllServicesLinq.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AllServicesLinq._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetLists:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLists',false,{},succeededCallback,failedCallback,userContext); },
GetReadList:function(IDStory,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetReadList',false,{IDStory:IDStory},succeededCallback,failedCallback,userContext); },
SetReadList:function(IDStory,IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetReadList',false,{IDStory:IDStory,IDList:IDList},succeededCallback,failedCallback,userContext); },
GetStory:function(storyID,doMatchKeywords,doAllocateStory,searchTerm,IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStory',false,{storyID:storyID,doMatchKeywords:doMatchKeywords,doAllocateStory:doAllocateStory,searchTerm:searchTerm,IDList:IDList},succeededCallback,failedCallback,userContext); },
setKeywordType:function(IDKeyword,type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setKeywordType',false,{IDKeyword:IDKeyword,type:type},succeededCallback,failedCallback,userContext); },
addKeyword:function(IDList,keyword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addKeyword',false,{IDList:IDList,keyword:keyword},succeededCallback,failedCallback,userContext); },
deleteList:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteList',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
GetListContacts:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetListContacts',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
deleteKeyword:function(IDKeyword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteKeyword',false,{IDKeyword:IDKeyword},succeededCallback,failedCallback,userContext); },
getKeywordManager:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getKeywordManager',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
GetKeywordsList:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetKeywordsList',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
ManagerGetKeywords:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ManagerGetKeywords',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
getDeliveryManager:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getDeliveryManager',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
Search:function(publication,IDSubCat,searchHeadline,searchBody,IDRead,startDate,endDate,keywords,orderType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Search',false,{publication:publication,IDSubCat:IDSubCat,searchHeadline:searchHeadline,searchBody:searchBody,IDRead:IDRead,startDate:startDate,endDate:endDate,keywords:keywords,orderType:orderType},succeededCallback,failedCallback,userContext); },
GetReadStories:function(IDList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetReadStories',false,{IDList:IDList},succeededCallback,failedCallback,userContext); },
setDeliveryOption:function(method,IDContact,IDList,value,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setDeliveryOption',false,{method:method,IDContact:IDContact,IDList:IDList,value:value},succeededCallback,failedCallback,userContext); }}
AllServicesLinq.registerClass('AllServicesLinq',Sys.Net.WebServiceProxy);
AllServicesLinq._staticInstance = new AllServicesLinq();
AllServicesLinq.set_path = function(value) { AllServicesLinq._staticInstance.set_path(value); }
AllServicesLinq.get_path = function() { return AllServicesLinq._staticInstance.get_path(); }
AllServicesLinq.set_timeout = function(value) { AllServicesLinq._staticInstance.set_timeout(value); }
AllServicesLinq.get_timeout = function() { return AllServicesLinq._staticInstance.get_timeout(); }
AllServicesLinq.set_defaultUserContext = function(value) { AllServicesLinq._staticInstance.set_defaultUserContext(value); }
AllServicesLinq.get_defaultUserContext = function() { return AllServicesLinq._staticInstance.get_defaultUserContext(); }
AllServicesLinq.set_defaultSucceededCallback = function(value) { AllServicesLinq._staticInstance.set_defaultSucceededCallback(value); }
AllServicesLinq.get_defaultSucceededCallback = function() { return AllServicesLinq._staticInstance.get_defaultSucceededCallback(); }
AllServicesLinq.set_defaultFailedCallback = function(value) { AllServicesLinq._staticInstance.set_defaultFailedCallback(value); }
AllServicesLinq.get_defaultFailedCallback = function() { return AllServicesLinq._staticInstance.get_defaultFailedCallback(); }
AllServicesLinq.set_path("/Services/AllServicesLinq.asmx");
AllServicesLinq.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
AllServicesLinq.GetLists= function(onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetLists(onSuccess,onFailed,userContext); }
AllServicesLinq.GetReadList= function(IDStory,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetReadList(IDStory,onSuccess,onFailed,userContext); }
AllServicesLinq.SetReadList= function(IDStory,IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.SetReadList(IDStory,IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.GetStory= function(storyID,doMatchKeywords,doAllocateStory,searchTerm,IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetStory(storyID,doMatchKeywords,doAllocateStory,searchTerm,IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.setKeywordType= function(IDKeyword,type,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.setKeywordType(IDKeyword,type,onSuccess,onFailed,userContext); }
AllServicesLinq.addKeyword= function(IDList,keyword,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.addKeyword(IDList,keyword,onSuccess,onFailed,userContext); }
AllServicesLinq.deleteList= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.deleteList(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.GetListContacts= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetListContacts(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.deleteKeyword= function(IDKeyword,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.deleteKeyword(IDKeyword,onSuccess,onFailed,userContext); }
AllServicesLinq.getKeywordManager= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.getKeywordManager(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.GetKeywordsList= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetKeywordsList(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.ManagerGetKeywords= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.ManagerGetKeywords(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.getDeliveryManager= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.getDeliveryManager(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.Search= function(publication,IDSubCat,searchHeadline,searchBody,IDRead,startDate,endDate,keywords,orderType,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.Search(publication,IDSubCat,searchHeadline,searchBody,IDRead,startDate,endDate,keywords,orderType,onSuccess,onFailed,userContext); }
AllServicesLinq.GetReadStories= function(IDList,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.GetReadStories(IDList,onSuccess,onFailed,userContext); }
AllServicesLinq.setDeliveryOption= function(method,IDContact,IDList,value,onSuccess,onFailed,userContext) {AllServicesLinq._staticInstance.setDeliveryOption(method,IDContact,IDList,value,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DataModels');
if (typeof(DataModels.Keyword) === 'undefined') {
DataModels.Keyword=gtc("DataModels.Keyword");
DataModels.Keyword.registerClass('DataModels.Keyword');
}
