Type.registerNamespace('gresshoppers.nl');
gresshoppers.nl.WebService=function() {
gresshoppers.nl.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
gresshoppers.nl.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return gresshoppers.nl.WebService._staticInstance.get_path();},
GetVideos:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetVideos',false,{},succeededCallback,failedCallback,userContext); },
GetMusicVideos:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMusicVideos',false,{},succeededCallback,failedCallback,userContext); },
GetPhotos:function(aPhotoAlbumID,succeededCallback, failedCallback, userContext) {
/// <param name="aPhotoAlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPhotos',false,{aPhotoAlbumID:aPhotoAlbumID},succeededCallback,failedCallback,userContext); },
GetComments:function(aPhoto,aPhotoAlbumID,succeededCallback, failedCallback, userContext) {
/// <param name="aPhoto" type="String">System.String</param>
/// <param name="aPhotoAlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetComments',false,{aPhoto:aPhoto,aPhotoAlbumID:aPhotoAlbumID},succeededCallback,failedCallback,userContext); },
IsLoggedIn:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'IsLoggedIn',false,{},succeededCallback,failedCallback,userContext); },
AddComment:function(aItemID,aMessage,succeededCallback, failedCallback, userContext) {
/// <param name="aItemID" type="Number">System.Int32</param>
/// <param name="aMessage" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddComment',false,{aItemID:aItemID,aMessage:aMessage},succeededCallback,failedCallback,userContext); },
GetCommentsByItemID:function(aItemID,succeededCallback, failedCallback, userContext) {
/// <param name="aItemID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCommentsByItemID',false,{aItemID:aItemID},succeededCallback,failedCallback,userContext); },
GetTweets:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTweets',false,{},succeededCallback,failedCallback,userContext); }}
gresshoppers.nl.WebService.registerClass('gresshoppers.nl.WebService',Sys.Net.WebServiceProxy);
gresshoppers.nl.WebService._staticInstance = new gresshoppers.nl.WebService();
gresshoppers.nl.WebService.set_path = function(value) {
gresshoppers.nl.WebService._staticInstance.set_path(value); }
gresshoppers.nl.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return gresshoppers.nl.WebService._staticInstance.get_path();}
gresshoppers.nl.WebService.set_timeout = function(value) {
gresshoppers.nl.WebService._staticInstance.set_timeout(value); }
gresshoppers.nl.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return gresshoppers.nl.WebService._staticInstance.get_timeout(); }
gresshoppers.nl.WebService.set_defaultUserContext = function(value) { 
gresshoppers.nl.WebService._staticInstance.set_defaultUserContext(value); }
gresshoppers.nl.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return gresshoppers.nl.WebService._staticInstance.get_defaultUserContext(); }
gresshoppers.nl.WebService.set_defaultSucceededCallback = function(value) { 
 gresshoppers.nl.WebService._staticInstance.set_defaultSucceededCallback(value); }
gresshoppers.nl.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return gresshoppers.nl.WebService._staticInstance.get_defaultSucceededCallback(); }
gresshoppers.nl.WebService.set_defaultFailedCallback = function(value) { 
gresshoppers.nl.WebService._staticInstance.set_defaultFailedCallback(value); }
gresshoppers.nl.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return gresshoppers.nl.WebService._staticInstance.get_defaultFailedCallback(); }
gresshoppers.nl.WebService.set_path("/WebService/WebService.asmx");
gresshoppers.nl.WebService.GetVideos= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetVideos(onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.GetMusicVideos= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetMusicVideos(onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.GetPhotos= function(aPhotoAlbumID,onSuccess,onFailed,userContext) {
/// <param name="aPhotoAlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetPhotos(aPhotoAlbumID,onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.GetComments= function(aPhoto,aPhotoAlbumID,onSuccess,onFailed,userContext) {
/// <param name="aPhoto" type="String">System.String</param>
/// <param name="aPhotoAlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetComments(aPhoto,aPhotoAlbumID,onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.IsLoggedIn= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.IsLoggedIn(onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.AddComment= function(aItemID,aMessage,onSuccess,onFailed,userContext) {
/// <param name="aItemID" type="Number">System.Int32</param>
/// <param name="aMessage" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.AddComment(aItemID,aMessage,onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.GetCommentsByItemID= function(aItemID,onSuccess,onFailed,userContext) {
/// <param name="aItemID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetCommentsByItemID(aItemID,onSuccess,onFailed,userContext); }
gresshoppers.nl.WebService.GetTweets= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gresshoppers.nl.WebService._staticInstance.GetTweets(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('CMS.Help.WebServiceFlash');
if (typeof(CMS.Help.WebServiceFlash.FlashItem) === 'undefined') {
CMS.Help.WebServiceFlash.FlashItem=gtc("CMS.Help.WebServiceFlash.FlashItem");
CMS.Help.WebServiceFlash.FlashItem.registerClass('CMS.Help.WebServiceFlash.FlashItem');
}
if (typeof(CMS.Help.WebServiceFlash.Comment) === 'undefined') {
CMS.Help.WebServiceFlash.Comment=gtc("CMS.Help.WebServiceFlash.Comment");
CMS.Help.WebServiceFlash.Comment.registerClass('CMS.Help.WebServiceFlash.Comment');
}

