Class: RemoteTrackFacadeService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/remote_track_facade_service.rb

Instance Method Summary collapse

Instance Method Details

#createTrack(trackForm) ⇒ Object



14
15
16
17
# File 'lib/remote_track_facade_service.rb', line 14

def createTrack(trackForm)
  send_createTrack(trackForm)
  return recv_createTrack()
end

#deleteTrack(trackDeleteForm) ⇒ Object



43
44
45
46
# File 'lib/remote_track_facade_service.rb', line 43

def deleteTrack(trackDeleteForm)
  send_deleteTrack(trackDeleteForm)
  recv_deleteTrack()
end

#multiQueryBaseTrackInfos(trackIds) ⇒ Object



87
88
89
90
# File 'lib/remote_track_facade_service.rb', line 87

def multiQueryBaseTrackInfos(trackIds)
  send_multiQueryBaseTrackInfos(trackIds)
  return recv_multiQueryBaseTrackInfos()
end

#multiQueryDetailTrackInfos(trackIds) ⇒ Object



117
118
119
120
# File 'lib/remote_track_facade_service.rb', line 117

def multiQueryDetailTrackInfos(trackIds)
  send_multiQueryDetailTrackInfos(trackIds)
  return recv_multiQueryDetailTrackInfos()
end

#queryBaseTrackInfo(trackId) ⇒ Object



72
73
74
75
# File 'lib/remote_track_facade_service.rb', line 72

def queryBaseTrackInfo(trackId)
  send_queryBaseTrackInfo(trackId)
  return recv_queryBaseTrackInfo()
end

#queryDetailTrackInfo(trackId) ⇒ Object



102
103
104
105
# File 'lib/remote_track_facade_service.rb', line 102

def queryDetailTrackInfo(trackId)
  send_queryDetailTrackInfo(trackId)
  return recv_queryDetailTrackInfo()
end

#queryOtherBasicTrackRecords(uid, page, size) ⇒ Object



177
178
179
180
# File 'lib/remote_track_facade_service.rb', line 177

def queryOtherBasicTrackRecords(uid, page, size)
  send_queryOtherBasicTrackRecords(uid, page, size)
  return recv_queryOtherBasicTrackRecords()
end

#queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object



147
148
149
150
# File 'lib/remote_track_facade_service.rb', line 147

def queryOtherSimpleTrackRecords(uid, page, size)
  send_queryOtherSimpleTrackRecords(uid, page, size)
  return recv_queryOtherSimpleTrackRecords()
end

#queryOtherTrackRecordCount(uid) ⇒ Object



207
208
209
210
# File 'lib/remote_track_facade_service.rb', line 207

def queryOtherTrackRecordCount(uid)
  send_queryOtherTrackRecordCount(uid)
  return recv_queryOtherTrackRecordCount()
end

#querySelfBasicTrackRecords(uid, page, size) ⇒ Object



162
163
164
165
# File 'lib/remote_track_facade_service.rb', line 162

def querySelfBasicTrackRecords(uid, page, size)
  send_querySelfBasicTrackRecords(uid, page, size)
  return recv_querySelfBasicTrackRecords()
end

#querySelfSimpleTrackRecords(uid, page, size) ⇒ Object



132
133
134
135
# File 'lib/remote_track_facade_service.rb', line 132

def querySelfSimpleTrackRecords(uid, page, size)
  send_querySelfSimpleTrackRecords(uid, page, size)
  return recv_querySelfSimpleTrackRecords()
end

#querySelfTrackRecordCount(uid) ⇒ Object



192
193
194
195
# File 'lib/remote_track_facade_service.rb', line 192

def querySelfTrackRecordCount(uid)
  send_querySelfTrackRecordCount(uid)
  return recv_querySelfTrackRecordCount()
end

#recv_createTrackObject

Raises:

  • (::Thrift::ApplicationException)


23
24
25
26
27
# File 'lib/remote_track_facade_service.rb', line 23

def recv_createTrack()
  result = receive_message(CreateTrack_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createTrack failed: unknown result')
end

#recv_deleteTrackObject



52
53
54
55
# File 'lib/remote_track_facade_service.rb', line 52

def recv_deleteTrack()
  result = receive_message(DeleteTrack_result)
  return
end

#recv_multiQueryBaseTrackInfosObject

Raises:

  • (::Thrift::ApplicationException)


96
97
98
99
100
# File 'lib/remote_track_facade_service.rb', line 96

def recv_multiQueryBaseTrackInfos()
  result = receive_message(MultiQueryBaseTrackInfos_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryBaseTrackInfos failed: unknown result')
end

#recv_multiQueryDetailTrackInfosObject

Raises:

  • (::Thrift::ApplicationException)


126
127
128
129
130
# File 'lib/remote_track_facade_service.rb', line 126

def recv_multiQueryDetailTrackInfos()
  result = receive_message(MultiQueryDetailTrackInfos_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryDetailTrackInfos failed: unknown result')
end

#recv_queryBaseTrackInfoObject

Raises:

  • (::Thrift::ApplicationException)


81
82
83
84
85
# File 'lib/remote_track_facade_service.rb', line 81

def recv_queryBaseTrackInfo()
  result = receive_message(QueryBaseTrackInfo_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBaseTrackInfo failed: unknown result')
end

#recv_queryDetailTrackInfoObject

Raises:

  • (::Thrift::ApplicationException)


111
112
113
114
115
# File 'lib/remote_track_facade_service.rb', line 111

def recv_queryDetailTrackInfo()
  result = receive_message(QueryDetailTrackInfo_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDetailTrackInfo failed: unknown result')
end

#recv_queryOtherBasicTrackRecordsObject

Raises:

  • (::Thrift::ApplicationException)


186
187
188
189
190
# File 'lib/remote_track_facade_service.rb', line 186

def recv_queryOtherBasicTrackRecords()
  result = receive_message(QueryOtherBasicTrackRecords_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherBasicTrackRecords failed: unknown result')
end

#recv_queryOtherSimpleTrackRecordsObject

Raises:

  • (::Thrift::ApplicationException)


156
157
158
159
160
# File 'lib/remote_track_facade_service.rb', line 156

def recv_queryOtherSimpleTrackRecords()
  result = receive_message(QueryOtherSimpleTrackRecords_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherSimpleTrackRecords failed: unknown result')
end

#recv_queryOtherTrackRecordCountObject

Raises:

  • (::Thrift::ApplicationException)


216
217
218
219
220
# File 'lib/remote_track_facade_service.rb', line 216

def recv_queryOtherTrackRecordCount()
  result = receive_message(QueryOtherTrackRecordCount_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherTrackRecordCount failed: unknown result')
end

#recv_querySelfBasicTrackRecordsObject

Raises:

  • (::Thrift::ApplicationException)


171
172
173
174
175
# File 'lib/remote_track_facade_service.rb', line 171

def recv_querySelfBasicTrackRecords()
  result = receive_message(QuerySelfBasicTrackRecords_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfBasicTrackRecords failed: unknown result')
end

#recv_querySelfSimpleTrackRecordsObject

Raises:

  • (::Thrift::ApplicationException)


141
142
143
144
145
# File 'lib/remote_track_facade_service.rb', line 141

def recv_querySelfSimpleTrackRecords()
  result = receive_message(QuerySelfSimpleTrackRecords_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfSimpleTrackRecords failed: unknown result')
end

#recv_querySelfTrackRecordCountObject

Raises:

  • (::Thrift::ApplicationException)


201
202
203
204
205
# File 'lib/remote_track_facade_service.rb', line 201

def recv_querySelfTrackRecordCount()
  result = receive_message(QuerySelfTrackRecordCount_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfTrackRecordCount failed: unknown result')
end

#recv_repostTrackObject

Raises:

  • (::Thrift::ApplicationException)


66
67
68
69
70
# File 'lib/remote_track_facade_service.rb', line 66

def recv_repostTrack()
  result = receive_message(RepostTrack_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'repostTrack failed: unknown result')
end

#recv_updateTrackObject



38
39
40
41
# File 'lib/remote_track_facade_service.rb', line 38

def recv_updateTrack()
  result = receive_message(UpdateTrack_result)
  return
end

#repostTrack(trackRepostForm) ⇒ Object



57
58
59
60
# File 'lib/remote_track_facade_service.rb', line 57

def repostTrack(trackRepostForm)
  send_repostTrack(trackRepostForm)
  return recv_repostTrack()
end

#send_createTrack(trackForm) ⇒ Object



19
20
21
# File 'lib/remote_track_facade_service.rb', line 19

def send_createTrack(trackForm)
  send_message('createTrack', CreateTrack_args, :trackForm => trackForm)
end

#send_deleteTrack(trackDeleteForm) ⇒ Object



48
49
50
# File 'lib/remote_track_facade_service.rb', line 48

def send_deleteTrack(trackDeleteForm)
  send_message('deleteTrack', DeleteTrack_args, :trackDeleteForm => trackDeleteForm)
end

#send_multiQueryBaseTrackInfos(trackIds) ⇒ Object



92
93
94
# File 'lib/remote_track_facade_service.rb', line 92

def send_multiQueryBaseTrackInfos(trackIds)
  send_message('multiQueryBaseTrackInfos', MultiQueryBaseTrackInfos_args, :trackIds => trackIds)
end

#send_multiQueryDetailTrackInfos(trackIds) ⇒ Object



122
123
124
# File 'lib/remote_track_facade_service.rb', line 122

def send_multiQueryDetailTrackInfos(trackIds)
  send_message('multiQueryDetailTrackInfos', MultiQueryDetailTrackInfos_args, :trackIds => trackIds)
end

#send_queryBaseTrackInfo(trackId) ⇒ Object



77
78
79
# File 'lib/remote_track_facade_service.rb', line 77

def send_queryBaseTrackInfo(trackId)
  send_message('queryBaseTrackInfo', QueryBaseTrackInfo_args, :trackId => trackId)
end

#send_queryDetailTrackInfo(trackId) ⇒ Object



107
108
109
# File 'lib/remote_track_facade_service.rb', line 107

def send_queryDetailTrackInfo(trackId)
  send_message('queryDetailTrackInfo', QueryDetailTrackInfo_args, :trackId => trackId)
end

#send_queryOtherBasicTrackRecords(uid, page, size) ⇒ Object



182
183
184
# File 'lib/remote_track_facade_service.rb', line 182

def send_queryOtherBasicTrackRecords(uid, page, size)
  send_message('queryOtherBasicTrackRecords', QueryOtherBasicTrackRecords_args, :uid => uid, :page => page, :size => size)
end

#send_queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object



152
153
154
# File 'lib/remote_track_facade_service.rb', line 152

def send_queryOtherSimpleTrackRecords(uid, page, size)
  send_message('queryOtherSimpleTrackRecords', QueryOtherSimpleTrackRecords_args, :uid => uid, :page => page, :size => size)
end

#send_queryOtherTrackRecordCount(uid) ⇒ Object



212
213
214
# File 'lib/remote_track_facade_service.rb', line 212

def send_queryOtherTrackRecordCount(uid)
  send_message('queryOtherTrackRecordCount', QueryOtherTrackRecordCount_args, :uid => uid)
end

#send_querySelfBasicTrackRecords(uid, page, size) ⇒ Object



167
168
169
# File 'lib/remote_track_facade_service.rb', line 167

def send_querySelfBasicTrackRecords(uid, page, size)
  send_message('querySelfBasicTrackRecords', QuerySelfBasicTrackRecords_args, :uid => uid, :page => page, :size => size)
end

#send_querySelfSimpleTrackRecords(uid, page, size) ⇒ Object



137
138
139
# File 'lib/remote_track_facade_service.rb', line 137

def send_querySelfSimpleTrackRecords(uid, page, size)
  send_message('querySelfSimpleTrackRecords', QuerySelfSimpleTrackRecords_args, :uid => uid, :page => page, :size => size)
end

#send_querySelfTrackRecordCount(uid) ⇒ Object



197
198
199
# File 'lib/remote_track_facade_service.rb', line 197

def send_querySelfTrackRecordCount(uid)
  send_message('querySelfTrackRecordCount', QuerySelfTrackRecordCount_args, :uid => uid)
end

#send_repostTrack(trackRepostForm) ⇒ Object



62
63
64
# File 'lib/remote_track_facade_service.rb', line 62

def send_repostTrack(trackRepostForm)
  send_message('repostTrack', RepostTrack_args, :trackRepostForm => trackRepostForm)
end

#send_updateTrack(trackForm) ⇒ Object



34
35
36
# File 'lib/remote_track_facade_service.rb', line 34

def send_updateTrack(trackForm)
  send_message('updateTrack', UpdateTrack_args, :trackForm => trackForm)
end

#updateTrack(trackForm) ⇒ Object



29
30
31
32
# File 'lib/remote_track_facade_service.rb', line 29

def updateTrack(trackForm)
  send_updateTrack(trackForm)
  recv_updateTrack()
end