Type.registerNamespace('Axosoft.CustomerPortal.services');
Axosoft.CustomerPortal.services.OnTimeService=function() {
Axosoft.CustomerPortal.services.OnTimeService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Axosoft.CustomerPortal.services.OnTimeService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_path();},
UpdateCustomerContactFilter:function(filterValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCustomerContactFilter',false,{filterValue:filterValue},succeededCallback,failedCallback,userContext); },
UpdateCustomerContactSearchString:function(searchString,searchField,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCustomerContactSearchString',false,{searchString:searchString,searchField:searchField},succeededCallback,failedCallback,userContext); },
UpdateCustomerContactPageSize:function(pageSizeModifier,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCustomerContactPageSize',false,{pageSizeModifier:pageSizeModifier},succeededCallback,failedCallback,userContext); },
GetAttachmentsCount:function(itemType,itemId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAttachmentsCount',false,{itemType:itemType,itemId:itemId},succeededCallback,failedCallback,userContext); },
LogoutCustomerContact:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogoutCustomerContact',false,{},succeededCallback,failedCallback,userContext); },
UpdateCurrentSelectedTab:function(selectedTab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCurrentSelectedTab',false,{selectedTab:selectedTab},succeededCallback,failedCallback,userContext); },
GetProgressInfo:function(FormId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProgressInfo',false,{FormId:FormId},succeededCallback,failedCallback,userContext); },
ReleaseLock:function(lockId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReleaseLock',false,{lockId:lockId},succeededCallback,failedCallback,userContext); },
RefreshLock:function(lockId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RefreshLock',false,{lockId:lockId},succeededCallback,failedCallback,userContext); },
UpdateWikiPageHeight:function(heightModifier,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateWikiPageHeight',false,{heightModifier:heightModifier},succeededCallback,failedCallback,userContext); },
GetWikiPagesMenuItems:function(isFullPage,projectId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWikiPagesMenuItems',false,{isFullPage:isFullPage,projectId:projectId},succeededCallback,failedCallback,userContext); },
SearchWikiPages:function(searchTerm,projectId,isFullPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchWikiPages',false,{searchTerm:searchTerm,projectId:projectId,isFullPage:isFullPage},succeededCallback,failedCallback,userContext); },
ViewWikiPage:function(wikiPageId,addToHistory,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewWikiPage',false,{wikiPageId:wikiPageId,addToHistory:addToHistory},succeededCallback,failedCallback,userContext); },
WikiPageHistoryBack:function(isFullPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'WikiPageHistoryBack',false,{isFullPage:isFullPage},succeededCallback,failedCallback,userContext); },
WikiPageHistoryForward:function(isFullPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'WikiPageHistoryForward',false,{isFullPage:isFullPage},succeededCallback,failedCallback,userContext); },
EditWikiPage:function(wikiPageId,projectId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditWikiPage',false,{wikiPageId:wikiPageId,projectId:projectId},succeededCallback,failedCallback,userContext); },
SaveWikiPage:function(wikiPageId,title,body,lockId,projectId,isFullPage,commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveWikiPage',false,{wikiPageId:wikiPageId,title:title,body:body,lockId:lockId,projectId:projectId,isFullPage:isFullPage,commentId:commentId},succeededCallback,failedCallback,userContext); },
CopyWikiPage:function(wikiPageId,projectId,isFullPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CopyWikiPage',false,{wikiPageId:wikiPageId,projectId:projectId,isFullPage:isFullPage},succeededCallback,failedCallback,userContext); },
ViewFullWikiPage:function(wikiPageId,projectId,addToHistory,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewFullWikiPage',false,{wikiPageId:wikiPageId,projectId:projectId,addToHistory:addToHistory},succeededCallback,failedCallback,userContext); },
GetCommentsView:function(commentItemId,commentItemTypeId,projectId,isFullPage,fieldId,isEmbedded,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommentsView',false,{commentItemId:commentItemId,commentItemTypeId:commentItemTypeId,projectId:projectId,isFullPage:isFullPage,fieldId:fieldId,isEmbedded:isEmbedded},succeededCallback,failedCallback,userContext); },
DeleteComment:function(strCommentId,commentItemId,commentItemTypeId,projectId,fieldId,includeFullPage,pageSessionGuid,fieldTemplateId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteComment',false,{strCommentId:strCommentId,commentItemId:commentItemId,commentItemTypeId:commentItemTypeId,projectId:projectId,fieldId:fieldId,includeFullPage:includeFullPage,pageSessionGuid:pageSessionGuid,fieldTemplateId:fieldTemplateId},succeededCallback,failedCallback,userContext); },
GetAddEditCommentsView:function(commentItemId,commentItemTypeId,projectId,fieldId,pageSessionGuid,fieldTemplateId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAddEditCommentsView',false,{commentItemId:commentItemId,commentItemTypeId:commentItemTypeId,projectId:projectId,fieldId:fieldId,pageSessionGuid:pageSessionGuid,fieldTemplateId:fieldTemplateId},succeededCallback,failedCallback,userContext); },
CastVote:function(voteNumber,itemId,itemTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CastVote',false,{voteNumber:voteNumber,itemId:itemId,itemTypeId:itemTypeId},succeededCallback,failedCallback,userContext); },
AddEditItemChangeProject:function(newProjectId,pageSessionGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddEditItemChangeProject',false,{newProjectId:newProjectId,pageSessionGuid:pageSessionGuid},succeededCallback,failedCallback,userContext); },
ParentPicklistValueChanged:function(pickListId,value,itemType,pageSessionGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ParentPicklistValueChanged',false,{pickListId:pickListId,value:value,itemType:itemType,pageSessionGuid:pageSessionGuid},succeededCallback,failedCallback,userContext); },
RemovePageSession:function(pageSessionGuid,lockId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemovePageSession',false,{pageSessionGuid:pageSessionGuid,lockId:lockId},succeededCallback,failedCallback,userContext); },
ShowDetailsTabPageByItemId:function(itemId,projectId,itemTypeId,detailsTab,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShowDetailsTabPageByItemId',false,{itemId:itemId,projectId:projectId,itemTypeId:itemTypeId,detailsTab:detailsTab},succeededCallback,failedCallback,userContext); }}
Axosoft.CustomerPortal.services.OnTimeService.registerClass('Axosoft.CustomerPortal.services.OnTimeService',Sys.Net.WebServiceProxy);
Axosoft.CustomerPortal.services.OnTimeService._staticInstance = new Axosoft.CustomerPortal.services.OnTimeService();
Axosoft.CustomerPortal.services.OnTimeService.set_path = function(value) { Axosoft.CustomerPortal.services.OnTimeService._staticInstance.set_path(value); }
Axosoft.CustomerPortal.services.OnTimeService.get_path = function() { return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_path(); }
Axosoft.CustomerPortal.services.OnTimeService.set_timeout = function(value) { Axosoft.CustomerPortal.services.OnTimeService._staticInstance.set_timeout(value); }
Axosoft.CustomerPortal.services.OnTimeService.get_timeout = function() { return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_timeout(); }
Axosoft.CustomerPortal.services.OnTimeService.set_defaultUserContext = function(value) { Axosoft.CustomerPortal.services.OnTimeService._staticInstance.set_defaultUserContext(value); }
Axosoft.CustomerPortal.services.OnTimeService.get_defaultUserContext = function() { return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_defaultUserContext(); }
Axosoft.CustomerPortal.services.OnTimeService.set_defaultSucceededCallback = function(value) { Axosoft.CustomerPortal.services.OnTimeService._staticInstance.set_defaultSucceededCallback(value); }
Axosoft.CustomerPortal.services.OnTimeService.get_defaultSucceededCallback = function() { return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_defaultSucceededCallback(); }
Axosoft.CustomerPortal.services.OnTimeService.set_defaultFailedCallback = function(value) { Axosoft.CustomerPortal.services.OnTimeService._staticInstance.set_defaultFailedCallback(value); }
Axosoft.CustomerPortal.services.OnTimeService.get_defaultFailedCallback = function() { return Axosoft.CustomerPortal.services.OnTimeService._staticInstance.get_defaultFailedCallback(); }
Axosoft.CustomerPortal.services.OnTimeService.set_path("/services/OnTimeService.asmx");
Axosoft.CustomerPortal.services.OnTimeService.UpdateCustomerContactFilter= function(filterValue,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.UpdateCustomerContactFilter(filterValue,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.UpdateCustomerContactSearchString= function(searchString,searchField,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.UpdateCustomerContactSearchString(searchString,searchField,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.UpdateCustomerContactPageSize= function(pageSizeModifier,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.UpdateCustomerContactPageSize(pageSizeModifier,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.GetAttachmentsCount= function(itemType,itemId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.GetAttachmentsCount(itemType,itemId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.LogoutCustomerContact= function(onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.LogoutCustomerContact(onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.UpdateCurrentSelectedTab= function(selectedTab,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.UpdateCurrentSelectedTab(selectedTab,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.GetProgressInfo= function(FormId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.GetProgressInfo(FormId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.ReleaseLock= function(lockId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.ReleaseLock(lockId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.RefreshLock= function(lockId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.RefreshLock(lockId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.UpdateWikiPageHeight= function(heightModifier,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.UpdateWikiPageHeight(heightModifier,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.GetWikiPagesMenuItems= function(isFullPage,projectId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.GetWikiPagesMenuItems(isFullPage,projectId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.SearchWikiPages= function(searchTerm,projectId,isFullPage,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.SearchWikiPages(searchTerm,projectId,isFullPage,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.ViewWikiPage= function(wikiPageId,addToHistory,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.ViewWikiPage(wikiPageId,addToHistory,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.WikiPageHistoryBack= function(isFullPage,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.WikiPageHistoryBack(isFullPage,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.WikiPageHistoryForward= function(isFullPage,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.WikiPageHistoryForward(isFullPage,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.EditWikiPage= function(wikiPageId,projectId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.EditWikiPage(wikiPageId,projectId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.SaveWikiPage= function(wikiPageId,title,body,lockId,projectId,isFullPage,commentId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.SaveWikiPage(wikiPageId,title,body,lockId,projectId,isFullPage,commentId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.CopyWikiPage= function(wikiPageId,projectId,isFullPage,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.CopyWikiPage(wikiPageId,projectId,isFullPage,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.ViewFullWikiPage= function(wikiPageId,projectId,addToHistory,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.ViewFullWikiPage(wikiPageId,projectId,addToHistory,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.GetCommentsView= function(commentItemId,commentItemTypeId,projectId,isFullPage,fieldId,isEmbedded,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.GetCommentsView(commentItemId,commentItemTypeId,projectId,isFullPage,fieldId,isEmbedded,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.DeleteComment= function(strCommentId,commentItemId,commentItemTypeId,projectId,fieldId,includeFullPage,pageSessionGuid,fieldTemplateId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.DeleteComment(strCommentId,commentItemId,commentItemTypeId,projectId,fieldId,includeFullPage,pageSessionGuid,fieldTemplateId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.GetAddEditCommentsView= function(commentItemId,commentItemTypeId,projectId,fieldId,pageSessionGuid,fieldTemplateId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.GetAddEditCommentsView(commentItemId,commentItemTypeId,projectId,fieldId,pageSessionGuid,fieldTemplateId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.CastVote= function(voteNumber,itemId,itemTypeId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.CastVote(voteNumber,itemId,itemTypeId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.AddEditItemChangeProject= function(newProjectId,pageSessionGuid,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.AddEditItemChangeProject(newProjectId,pageSessionGuid,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.ParentPicklistValueChanged= function(pickListId,value,itemType,pageSessionGuid,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.ParentPicklistValueChanged(pickListId,value,itemType,pageSessionGuid,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.RemovePageSession= function(pageSessionGuid,lockId,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.RemovePageSession(pageSessionGuid,lockId,onSuccess,onFailed,userContext); }
Axosoft.CustomerPortal.services.OnTimeService.ShowDetailsTabPageByItemId= function(itemId,projectId,itemTypeId,detailsTab,onSuccess,onFailed,userContext) {Axosoft.CustomerPortal.services.OnTimeService._staticInstance.ShowDetailsTabPageByItemId(itemId,projectId,itemTypeId,detailsTab,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Axosoft.OnTime.DataLayer');
if (typeof(Axosoft.OnTime.DataLayer.WikiPageMenuItem) === 'undefined') {
Axosoft.OnTime.DataLayer.WikiPageMenuItem=gtc("Axosoft.OnTime.DataLayer.WikiPageMenuItem");
Axosoft.OnTime.DataLayer.WikiPageMenuItem.registerClass('Axosoft.OnTime.DataLayer.WikiPageMenuItem');
}
if (typeof(Axosoft.OnTime.DataLayer.WikiPageEx) === 'undefined') {
Axosoft.OnTime.DataLayer.WikiPageEx=gtc("Axosoft.OnTime.DataLayer.WikiPageEx");
Axosoft.OnTime.DataLayer.WikiPageEx.registerClass('Axosoft.OnTime.DataLayer.WikiPageEx');
}
if (typeof(Axosoft.CustomerPortal.services.GetCommentsResult) === 'undefined') {
Axosoft.CustomerPortal.services.GetCommentsResult=gtc("Axosoft.CustomerPortal.services.GetCommentsResult");
Axosoft.CustomerPortal.services.GetCommentsResult.registerClass('Axosoft.CustomerPortal.services.GetCommentsResult');
}

