Type.registerNamespace('WoIstDaniel');
WoIstDaniel.FlickrService=function() {
WoIstDaniel.FlickrService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WoIstDaniel.FlickrService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WoIstDaniel.FlickrService._staticInstance.get_path();},
GetPhotos:function(WoWarDaniel,succeededCallback, failedCallback, userContext) {
/// <param name="WoWarDaniel" type="wid.Constants_WoWarDaniel">wid.Constants+WoWarDaniel</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,{WoWarDaniel:WoWarDaniel},succeededCallback,failedCallback,userContext); },
GetPhotosInTimeSpan:function(DateFrom,DateTo,succeededCallback, failedCallback, userContext) {
/// <param name="DateFrom" type="String">System.String</param>
/// <param name="DateTo" 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(), 'GetPhotosInTimeSpan',false,{DateFrom:DateFrom,DateTo:DateTo},succeededCallback,failedCallback,userContext); }}
WoIstDaniel.FlickrService.registerClass('WoIstDaniel.FlickrService',Sys.Net.WebServiceProxy);
WoIstDaniel.FlickrService._staticInstance = new WoIstDaniel.FlickrService();
WoIstDaniel.FlickrService.set_path = function(value) {
WoIstDaniel.FlickrService._staticInstance.set_path(value); }
WoIstDaniel.FlickrService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WoIstDaniel.FlickrService._staticInstance.get_path();}
WoIstDaniel.FlickrService.set_timeout = function(value) {
WoIstDaniel.FlickrService._staticInstance.set_timeout(value); }
WoIstDaniel.FlickrService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WoIstDaniel.FlickrService._staticInstance.get_timeout(); }
WoIstDaniel.FlickrService.set_defaultUserContext = function(value) { 
WoIstDaniel.FlickrService._staticInstance.set_defaultUserContext(value); }
WoIstDaniel.FlickrService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WoIstDaniel.FlickrService._staticInstance.get_defaultUserContext(); }
WoIstDaniel.FlickrService.set_defaultSucceededCallback = function(value) { 
 WoIstDaniel.FlickrService._staticInstance.set_defaultSucceededCallback(value); }
WoIstDaniel.FlickrService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WoIstDaniel.FlickrService._staticInstance.get_defaultSucceededCallback(); }
WoIstDaniel.FlickrService.set_defaultFailedCallback = function(value) { 
WoIstDaniel.FlickrService._staticInstance.set_defaultFailedCallback(value); }
WoIstDaniel.FlickrService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WoIstDaniel.FlickrService._staticInstance.get_defaultFailedCallback(); }
WoIstDaniel.FlickrService.set_path("/WebService/FlickrService.asmx");
WoIstDaniel.FlickrService.GetPhotos= function(WoWarDaniel,onSuccess,onFailed,userContext) {
/// <param name="WoWarDaniel" type="wid.Constants_WoWarDaniel">wid.Constants+WoWarDaniel</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>
WoIstDaniel.FlickrService._staticInstance.GetPhotos(WoWarDaniel,onSuccess,onFailed,userContext); }
WoIstDaniel.FlickrService.GetPhotosInTimeSpan= function(DateFrom,DateTo,onSuccess,onFailed,userContext) {
/// <param name="DateFrom" type="String">System.String</param>
/// <param name="DateTo" 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>
WoIstDaniel.FlickrService._staticInstance.GetPhotosInTimeSpan(DateFrom,DateTo,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('wid');
if (typeof(wid.PhotoLocation) === 'undefined') {
wid.PhotoLocation=gtc("wid.PhotoLocation");
wid.PhotoLocation.registerClass('wid.PhotoLocation');
}
if (typeof(wid.WoWarDaniel) === 'undefined') {
wid.WoWarDaniel = function() { throw Error.invalidOperation(); }
wid.WoWarDaniel.prototype = {None: 0,Heute: 1,DieLetztenZweiTage: 2,DieLetztenDreiTage: 3,DieLetztenVierTage: 4,DieLetztenFuenfTage: 5,DieLetztenSechsTage: 6,DieLetzteWoche: 7,DenLetztenMonat: 8,DasLetzteJahr: 9}
wid.WoWarDaniel.registerEnum('wid.WoWarDaniel', true);
}
