Subversion Repositories SmartDukaan

Rev

Rev 1984 | Rev 2020 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1984 Rev 1995
Line 22... Line 22...
22
exception UserCommunicationException{
22
exception UserCommunicationException{
23
	1:i64 id,
23
	1:i64 id,
24
	2:string message
24
	2:string message
25
}
25
}
26
 
26
 
27
exception UserTrackerException{
27
exception UserAffiliateException{
28
    1:i64 id,
28
    1:i64 id,
29
    2:string message
29
    2:string message
30
}
30
}
31
 
31
 
32
enum UserType{
32
enum UserType{
Line 194... Line 194...
194
}
194
}
195
 
195
 
196
struct Tracker{
196
struct Tracker{
197
    1:i64 id,
197
    1:i64 id,
198
    2:i64 affiliateId,
198
    2:i64 affiliateId,
199
    3:i64 addedOn
-
 
200
}
199
}
201
 
200
 
202
struct TrackLog{
201
struct TrackLog{
203
    1:i64 id,
202
    1:i64 id,
204
    2:i64 addedOn,
203
    2:i64 addedOn,
205
    3:i64 trackerId,
204
    3:i64 affiliateId,
206
    4:i64 userId,
205
    4:i64 userId,
207
    5:string event,
206
    5:string event,
208
    6:string url,
207
    6:string url,
209
    7:string data
208
    7:string data
210
}
209
}
Line 390... Line 389...
390
	bool saveUserCommunication(1:i64 userId, 2:string replyTo, 3:i64 communicationType, 4:i64 orderId, 5:string airwaybillNo, 6:string productName, 7:string subject, 8:string message)throws (1:UserCommunicationException ucx)
389
	bool saveUserCommunication(1:i64 userId, 2:string replyTo, 3:i64 communicationType, 4:i64 orderId, 5:string airwaybillNo, 6:string productName, 7:string subject, 8:string message)throws (1:UserCommunicationException ucx)
391
	UserCommunication getUserCommunicationById(1:i64 id) throws (1:UserCommunicationException ucx)
390
	UserCommunication getUserCommunicationById(1:i64 id) throws (1:UserCommunicationException ucx)
392
	list<UserCommunication> getUserCommunicationByUser(1:i64 userId) throws (1:UserCommunicationException ucx)
391
	list<UserCommunication> getUserCommunicationByUser(1:i64 userId) throws (1:UserCommunicationException ucx)
393
	list<UserCommunication> getAllUserCommunications() throws (1:UserCommunicationException ucx)
392
	list<UserCommunication> getAllUserCommunications() throws (1:UserCommunicationException ucx)
394
	
393
	
395
	MasterAffiliate createMasterAffiliate(1:string name, 2:i64 addedOn) throws (1:UserTrackerException utx)
394
	MasterAffiliate createMasterAffiliate(1:string name, 2:i64 addedOn) throws (1:UserAffiliateException utx)
396
	list<MasterAffiliate> getAllMasterAffiliates() throws (1:UserTrackerException utx)
395
	list<MasterAffiliate> getAllMasterAffiliates() throws (1:UserAffiliateException utx)
397
	MasterAffiliate getMasterAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
396
	MasterAffiliate getMasterAffiliateById(1:i64 id) throws (1:UserAffiliateException utx)
398
    MasterAffiliate getMasterAffiliateByName(1:string name) throws (1:UserTrackerException utx)
397
    MasterAffiliate getMasterAffiliateByName(1:string name) throws (1:UserAffiliateException utx)
399
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId, 4:i64 addedOn) throws (1:UserTrackerException utx)
398
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId, 4:i64 addedOn) throws (1:UserAffiliateException utx)
400
	Affiliate getAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
399
	Affiliate getAffiliateById(1:i64 id) throws (1:UserAffiliateException utx)
401
	Affiliate getAffiliateByName(1:string name) throws (1:UserTrackerException utx)
400
	Affiliate getAffiliateByName(1:string name) throws (1:UserAffiliateException utx)
402
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserTrackerException utx)
-
 
403
	Tracker createTracker(1:i64 affiliateId, 2:i64 addedOn) throws (1:UserTrackerException utx)
-
 
404
	Tracker getTrackerById(1:i64 trackerId) throws (1:UserTrackerException utx)
401
	Tracker getTrackerById(1:i64 id) throws (1:UserAffiliateException utx)
405
	list<Tracker> getTrackersByAffiliate(1:i64 affiliateId) throws (1:UserTrackerException utx)
402
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserAffiliateException utx)
406
	i64 addTrackLog(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url, 5:string data, 6:i64 addedOn) throws (1:UserTrackerException utx)
403
	i64 addTrackLog(1:i64 affiliateId, 2:i64 userId, 3:string event, 4:string url, 5:string data, 6:i64 addedOn) throws (1:UserAffiliateException utx)
407
	TrackLog getTrackLogById(1:i64 id) throws (1:UserTrackerException utx)
404
	TrackLog getTrackLogById(1:i64 id) throws (1:UserAffiliateException utx)
408
	list<TrackLog> getTrackLogsByTracker(1:i64 trackerId) throws (1:UserTrackerException utx)
405
	list<TrackLog> getTrackLogsByAffiliate(1:i64 affiliateId) throws (1:UserAffiliateException utx)
409
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserTrackerException utx)
406
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserAffiliateException utx)
410
	list<TrackLog> getTrackLogs(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url) throws (1:UserTrackerException utx)
407
	list<TrackLog> getTrackLogs(1:i64 userId, 2:string event, 3:string url) throws (1:UserAffiliateException utx)
411
    
408
    
412
	i64 createCart(1:i64 userId) throws (1:ShoppingCartException scx),
409
	i64 createCart(1:i64 userId) throws (1:ShoppingCartException scx),
413
	Cart getCurrentCart(1:i64 userId) throws (1:ShoppingCartException scx),	
410
	Cart getCurrentCart(1:i64 userId) throws (1:ShoppingCartException scx),	
414
	Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
411
	Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
415
	list<Cart> getCartsForUser(1:i64 userId, 2:CartStatus status) throws (1:ShoppingCartException scx),
412
	list<Cart> getCartsForUser(1:i64 userId, 2:CartStatus status) throws (1:ShoppingCartException scx),