Type.registerNamespace('Ujc.Public');
Ujc.Public.Spotlight=function() {
Ujc.Public.Spotlight.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Ujc.Public.Spotlight.prototype={
GetSpotlightComponent:function(Id,succeededCallback, failedCallback, userContext) {
return this._invoke(Ujc.Public.Spotlight.get_path(), 'GetSpotlightComponent',false,{Id:Id},succeededCallback,failedCallback,userContext); },
GetSpotlightComponentScratch:function(id,scratchId,succeededCallback, failedCallback, userContext) {
return this._invoke(Ujc.Public.Spotlight.get_path(), 'GetSpotlightComponentScratch',false,{id:id,scratchId:scratchId},succeededCallback,failedCallback,userContext); }}
Ujc.Public.Spotlight.registerClass('Ujc.Public.Spotlight',Sys.Net.WebServiceProxy);
Ujc.Public.Spotlight._staticInstance = new Ujc.Public.Spotlight();
Ujc.Public.Spotlight.set_path = function(value) { Ujc.Public.Spotlight._staticInstance._path = value; }
Ujc.Public.Spotlight.get_path = function() { return Ujc.Public.Spotlight._staticInstance._path; }
Ujc.Public.Spotlight.set_timeout = function(value) { Ujc.Public.Spotlight._staticInstance._timeout = value; }
Ujc.Public.Spotlight.get_timeout = function() { return Ujc.Public.Spotlight._staticInstance._timeout; }
Ujc.Public.Spotlight.set_defaultUserContext = function(value) { Ujc.Public.Spotlight._staticInstance._userContext = value; }
Ujc.Public.Spotlight.get_defaultUserContext = function() { return Ujc.Public.Spotlight._staticInstance._userContext; }
Ujc.Public.Spotlight.set_defaultSucceededCallback = function(value) { Ujc.Public.Spotlight._staticInstance._succeeded = value; }
Ujc.Public.Spotlight.get_defaultSucceededCallback = function() { return Ujc.Public.Spotlight._staticInstance._succeeded; }
Ujc.Public.Spotlight.set_defaultFailedCallback = function(value) { Ujc.Public.Spotlight._staticInstance._failed = value; }
Ujc.Public.Spotlight.get_defaultFailedCallback = function() { return Ujc.Public.Spotlight._staticInstance._failed; }
Ujc.Public.Spotlight.set_path("/Spotlight.asmx");
Ujc.Public.Spotlight.GetSpotlightComponent= function(Id,onSuccess,onFailed,userContext) {Ujc.Public.Spotlight._staticInstance.GetSpotlightComponent(Id,onSuccess,onFailed,userContext); }
Ujc.Public.Spotlight.GetSpotlightComponentScratch= function(id,scratchId,onSuccess,onFailed,userContext) {Ujc.Public.Spotlight._staticInstance.GetSpotlightComponentScratch(id,scratchId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Ujc.Components');
if (typeof(Ujc.Components.ComponentChapterSlide) === 'undefined') {
Ujc.Components.ComponentChapterSlide=gtc("Ujc.Components.ComponentChapterSlide");
Ujc.Components.ComponentChapterSlide.registerClass('Ujc.Components.ComponentChapterSlide');
}
if (typeof(Ujc.Components.ComponentFont) === 'undefined') {
Ujc.Components.ComponentFont=gtc("Ujc.Components.ComponentFont");
Ujc.Components.ComponentFont.registerClass('Ujc.Components.ComponentFont');
}
if (typeof(VitalStream) === 'undefined') {
var VitalStream=gtc("VitalStream");
VitalStream.registerClass('VitalStream');
}
Type.registerNamespace('Ujc.Dto');
if (typeof(Ujc.Dto.Flash) === 'undefined') {
Ujc.Dto.Flash=gtc("Ujc.Dto.Flash");
Ujc.Dto.Flash.registerClass('Ujc.Dto.Flash');
}
if (typeof(Ujc.Components.ComponentChapter) === 'undefined') {
Ujc.Components.ComponentChapter=gtc("Ujc.Components.ComponentChapter");
Ujc.Components.ComponentChapter.registerClass('Ujc.Components.ComponentChapter');
}
if (typeof(ComponentSpotlight) === 'undefined') {
var ComponentSpotlight=gtc("ComponentSpotlight");
ComponentSpotlight.registerClass('ComponentSpotlight');
}
if (typeof(Ujc.Components.ComponentChapterType) === 'undefined') {
Ujc.Components.ComponentChapterType = function() { throw Error.invalidOperation(); }
Ujc.Components.ComponentChapterType.prototype = {Slideshow: 1,Flash: 2,Video: 3}
Ujc.Components.ComponentChapterType.registerEnum('Ujc.Components.ComponentChapterType', true);
}
