Type.registerNamespace('org.two11me.CardPortal');
org.two11me.CardPortal.CardGalleryWebService=function() {
org.two11me.CardPortal.CardGalleryWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
org.two11me.CardPortal.CardGalleryWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_path();},
GetCardDisplayList:function(galleryId,startIndex,itemsPerRow,rowsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCardDisplayList',false,{galleryId:galleryId,startIndex:startIndex,itemsPerRow:itemsPerRow,rowsPerPage:rowsPerPage},succeededCallback,failedCallback,userContext); },
GetTopTenCardDisplayList:function(galleryId,startIndex,itemsPerRow,rowsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTopTenCardDisplayList',false,{galleryId:galleryId,startIndex:startIndex,itemsPerRow:itemsPerRow,rowsPerPage:rowsPerPage},succeededCallback,failedCallback,userContext); },
GetPublicCardDisplayList:function(galleryId,startIndex,itemsPerRow,rowsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPublicCardDisplayList',false,{galleryId:galleryId,startIndex:startIndex,itemsPerRow:itemsPerRow,rowsPerPage:rowsPerPage},succeededCallback,failedCallback,userContext); },
GetRecentPublicCardDisplayList:function(galleryId,startIndex,itemsPerRow,rowsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRecentPublicCardDisplayList',false,{galleryId:galleryId,startIndex:startIndex,itemsPerRow:itemsPerRow,rowsPerPage:rowsPerPage},succeededCallback,failedCallback,userContext); },
SetSignatureCard:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSignatureCard',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
GetAllCardsForUser:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllCardsForUser',false,{},succeededCallback,failedCallback,userContext); }}
org.two11me.CardPortal.CardGalleryWebService.registerClass('org.two11me.CardPortal.CardGalleryWebService',Sys.Net.WebServiceProxy);
org.two11me.CardPortal.CardGalleryWebService._staticInstance = new org.two11me.CardPortal.CardGalleryWebService();
org.two11me.CardPortal.CardGalleryWebService.set_path = function(value) { org.two11me.CardPortal.CardGalleryWebService._staticInstance.set_path(value); }
org.two11me.CardPortal.CardGalleryWebService.get_path = function() { return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_path(); }
org.two11me.CardPortal.CardGalleryWebService.set_timeout = function(value) { org.two11me.CardPortal.CardGalleryWebService._staticInstance.set_timeout(value); }
org.two11me.CardPortal.CardGalleryWebService.get_timeout = function() { return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_timeout(); }
org.two11me.CardPortal.CardGalleryWebService.set_defaultUserContext = function(value) { org.two11me.CardPortal.CardGalleryWebService._staticInstance.set_defaultUserContext(value); }
org.two11me.CardPortal.CardGalleryWebService.get_defaultUserContext = function() { return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_defaultUserContext(); }
org.two11me.CardPortal.CardGalleryWebService.set_defaultSucceededCallback = function(value) { org.two11me.CardPortal.CardGalleryWebService._staticInstance.set_defaultSucceededCallback(value); }
org.two11me.CardPortal.CardGalleryWebService.get_defaultSucceededCallback = function() { return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_defaultSucceededCallback(); }
org.two11me.CardPortal.CardGalleryWebService.set_defaultFailedCallback = function(value) { org.two11me.CardPortal.CardGalleryWebService._staticInstance.set_defaultFailedCallback(value); }
org.two11me.CardPortal.CardGalleryWebService.get_defaultFailedCallback = function() { return org.two11me.CardPortal.CardGalleryWebService._staticInstance.get_defaultFailedCallback(); }
org.two11me.CardPortal.CardGalleryWebService.set_path("/CardGalleryWebService.asmx");
org.two11me.CardPortal.CardGalleryWebService.GetCardDisplayList= function(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.GetCardDisplayList(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext); }
org.two11me.CardPortal.CardGalleryWebService.GetTopTenCardDisplayList= function(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.GetTopTenCardDisplayList(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext); }
org.two11me.CardPortal.CardGalleryWebService.GetPublicCardDisplayList= function(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.GetPublicCardDisplayList(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext); }
org.two11me.CardPortal.CardGalleryWebService.GetRecentPublicCardDisplayList= function(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.GetRecentPublicCardDisplayList(galleryId,startIndex,itemsPerRow,rowsPerPage,onSuccess,onFailed,userContext); }
org.two11me.CardPortal.CardGalleryWebService.SetSignatureCard= function(cardId,onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.SetSignatureCard(cardId,onSuccess,onFailed,userContext); }
org.two11me.CardPortal.CardGalleryWebService.GetAllCardsForUser= function(onSuccess,onFailed,userContext) {org.two11me.CardPortal.CardGalleryWebService._staticInstance.GetAllCardsForUser(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('org.two11me.Domain.UI.Card');
if (typeof(org.two11me.Domain.UI.Card.CardDisplay) === 'undefined') {
org.two11me.Domain.UI.Card.CardDisplay=gtc("org.two11me.Domain.UI.Card.CardDisplay");
org.two11me.Domain.UI.Card.CardDisplay.registerClass('org.two11me.Domain.UI.Card.CardDisplay');
}
