Type.registerNamespace('TVAGoogle.common.services');
TVAGoogle.common.services.Community=function() {
TVAGoogle.common.services.Community.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TVAGoogle.common.services.Community.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TVAGoogle.common.services.Community._staticInstance.get_path();},
GetCommunities:function(pParams,succeededCallback, failedCallback, userContext) {
/// <param name="pParams" type="TVAGoogle.common.services.Community+CommunitySearchParameter">TVAGoogle.common.services.Community+CommunitySearchParameter</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(), 'GetCommunities',false,{pParams:pParams},succeededCallback,failedCallback,userContext); },
GetCommunityByIdWithInputParameters:function(pCommunityID,pRequestParams,pRequestID,succeededCallback, failedCallback, userContext) {
/// <param name="pCommunityID" type="String">System.String</param>
/// <param name="pRequestParams">System.Object</param>
/// <param name="pRequestID" type="String">System.Guid</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(), 'GetCommunityByIdWithInputParameters',false,{pCommunityID:pCommunityID,pRequestParams:pRequestParams,pRequestID:pRequestID},succeededCallback,failedCallback,userContext); },
GetCommunityById:function(pCommunityID,pRequestID,succeededCallback, failedCallback, userContext) {
/// <param name="pCommunityID" type="String">System.String</param>
/// <param name="pRequestID" type="String">System.Guid</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(), 'GetCommunityById',false,{pCommunityID:pCommunityID,pRequestID:pRequestID},succeededCallback,failedCallback,userContext); }}
TVAGoogle.common.services.Community.registerClass('TVAGoogle.common.services.Community',Sys.Net.WebServiceProxy);
TVAGoogle.common.services.Community._staticInstance = new TVAGoogle.common.services.Community();
TVAGoogle.common.services.Community.set_path = function(value) {
TVAGoogle.common.services.Community._staticInstance.set_path(value); }
TVAGoogle.common.services.Community.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TVAGoogle.common.services.Community._staticInstance.get_path();}
TVAGoogle.common.services.Community.set_timeout = function(value) {
TVAGoogle.common.services.Community._staticInstance.set_timeout(value); }
TVAGoogle.common.services.Community.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TVAGoogle.common.services.Community._staticInstance.get_timeout(); }
TVAGoogle.common.services.Community.set_defaultUserContext = function(value) { 
TVAGoogle.common.services.Community._staticInstance.set_defaultUserContext(value); }
TVAGoogle.common.services.Community.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TVAGoogle.common.services.Community._staticInstance.get_defaultUserContext(); }
TVAGoogle.common.services.Community.set_defaultSucceededCallback = function(value) { 
 TVAGoogle.common.services.Community._staticInstance.set_defaultSucceededCallback(value); }
TVAGoogle.common.services.Community.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TVAGoogle.common.services.Community._staticInstance.get_defaultSucceededCallback(); }
TVAGoogle.common.services.Community.set_defaultFailedCallback = function(value) { 
TVAGoogle.common.services.Community._staticInstance.set_defaultFailedCallback(value); }
TVAGoogle.common.services.Community.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TVAGoogle.common.services.Community._staticInstance.get_defaultFailedCallback(); }
TVAGoogle.common.services.Community.set_path("/common/services/Community.asmx");
TVAGoogle.common.services.Community.GetCommunities= function(pParams,onSuccess,onFailed,userContext) {
/// <param name="pParams" type="TVAGoogle.common.services.Community+CommunitySearchParameter">TVAGoogle.common.services.Community+CommunitySearchParameter</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>
TVAGoogle.common.services.Community._staticInstance.GetCommunities(pParams,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Community.GetCommunityByIdWithInputParameters= function(pCommunityID,pRequestParams,pRequestID,onSuccess,onFailed,userContext) {
/// <param name="pCommunityID" type="String">System.String</param>
/// <param name="pRequestParams">System.Object</param>
/// <param name="pRequestID" type="String">System.Guid</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>
TVAGoogle.common.services.Community._staticInstance.GetCommunityByIdWithInputParameters(pCommunityID,pRequestParams,pRequestID,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Community.GetCommunityById= function(pCommunityID,pRequestID,onSuccess,onFailed,userContext) {
/// <param name="pCommunityID" type="String">System.String</param>
/// <param name="pRequestID" type="String">System.Guid</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>
TVAGoogle.common.services.Community._staticInstance.GetCommunityById(pCommunityID,pRequestID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(TVAGoogle.common.services.CommunitySearchParameter) === 'undefined') {
TVAGoogle.common.services.CommunitySearchParameter=gtc("TVAGoogle.common.services.CommunitySearchParameter");
TVAGoogle.common.services.CommunitySearchParameter.registerClass('TVAGoogle.common.services.CommunitySearchParameter');
}
if (typeof(TVAGoogle.common.services.CommunitySearchResult) === 'undefined') {
TVAGoogle.common.services.CommunitySearchResult=gtc("TVAGoogle.common.services.CommunitySearchResult");
TVAGoogle.common.services.CommunitySearchResult.registerClass('TVAGoogle.common.services.CommunitySearchResult');
}
