Type.registerNamespace('Dma.Services');
Dma.Services.Showcase=function() {
Dma.Services.Showcase.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Dma.Services.Showcase.prototype={
GetCategoryButtons:function(activeCategory,page,succeededCallback, failedCallback, userContext) {
return this._invoke(Dma.Services.Showcase.get_path(), 'GetCategoryButtons',false,{activeCategory:activeCategory,page:page},succeededCallback,failedCallback,userContext); },
GetItems:function(start,category,succeededCallback, failedCallback, userContext) {
return this._invoke(Dma.Services.Showcase.get_path(), 'GetItems',false,{start:start,category:category},succeededCallback,failedCallback,userContext); },
GetTeamItems:function(start,succeededCallback, failedCallback, userContext) {
return this._invoke(Dma.Services.Showcase.get_path(), 'GetTeamItems',false,{start:start},succeededCallback,failedCallback,userContext); },
GetItemsCount:function(category,succeededCallback, failedCallback, userContext) {
return this._invoke(Dma.Services.Showcase.get_path(), 'GetItemsCount',false,{category:category},succeededCallback,failedCallback,userContext); },
GetItemsCountTeam:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Dma.Services.Showcase.get_path(), 'GetItemsCountTeam',false,{},succeededCallback,failedCallback,userContext); }}
Dma.Services.Showcase.registerClass('Dma.Services.Showcase',Sys.Net.WebServiceProxy);
Dma.Services.Showcase._staticInstance = new Dma.Services.Showcase();
Dma.Services.Showcase.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Dma.Services.Showcase._staticInstance._path = value; }
Dma.Services.Showcase.get_path = function() { return Dma.Services.Showcase._staticInstance._path; }
Dma.Services.Showcase.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Dma.Services.Showcase._staticInstance._timeout = value; }
Dma.Services.Showcase.get_timeout = function() { 
return Dma.Services.Showcase._staticInstance._timeout; }
Dma.Services.Showcase.set_defaultUserContext = function(value) { 
Dma.Services.Showcase._staticInstance._userContext = value; }
Dma.Services.Showcase.get_defaultUserContext = function() { 
return Dma.Services.Showcase._staticInstance._userContext; }
Dma.Services.Showcase.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Dma.Services.Showcase._staticInstance._succeeded = value; }
Dma.Services.Showcase.get_defaultSucceededCallback = function() { 
return Dma.Services.Showcase._staticInstance._succeeded; }
Dma.Services.Showcase.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Dma.Services.Showcase._staticInstance._failed = value; }
Dma.Services.Showcase.get_defaultFailedCallback = function() { 
return Dma.Services.Showcase._staticInstance._failed; }
Dma.Services.Showcase.set_path("/Services/Showcase.asmx");
Dma.Services.Showcase.GetCategoryButtons= function(activeCategory,page,onSuccess,onFailed,userContext) {Dma.Services.Showcase._staticInstance.GetCategoryButtons(activeCategory,page,onSuccess,onFailed,userContext); }
Dma.Services.Showcase.GetItems= function(start,category,onSuccess,onFailed,userContext) {Dma.Services.Showcase._staticInstance.GetItems(start,category,onSuccess,onFailed,userContext); }
Dma.Services.Showcase.GetTeamItems= function(start,onSuccess,onFailed,userContext) {Dma.Services.Showcase._staticInstance.GetTeamItems(start,onSuccess,onFailed,userContext); }
Dma.Services.Showcase.GetItemsCount= function(category,onSuccess,onFailed,userContext) {Dma.Services.Showcase._staticInstance.GetItemsCount(category,onSuccess,onFailed,userContext); }
Dma.Services.Showcase.GetItemsCountTeam= function(onSuccess,onFailed,userContext) {Dma.Services.Showcase._staticInstance.GetItemsCountTeam(onSuccess,onFailed,userContext); }
