Subversion Repositories SmartDukaan

Rev

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

Rev 3206 Rev 3374
Line 1... Line 1...
1
namespace java in.shop2020.utils
1
namespace java in.shop2020.utils
2
namespace py shop2020.thriftpy.utils
2
namespace py shop2020.thriftpy.utils
3
 
3
 
-
 
4
include "GenericService.thrift"
-
 
5
 
4
/**
6
/**
5
Helper service
7
Helper service
6
created by @ashish
8
created by @ashish
7
**/
9
**/
8
 
10
 
Line 81... Line 83...
81
	1:i64 id,
83
	1:i64 id,
82
	2:string description,
84
	2:string description,
83
	3:string controller
85
	3:string controller
84
}
86
}
85
 
87
 
86
service HelperService{
-
 
87
	/**
-
 
88
	* For closing the open session in sqlalchemy
88
service HelperService extends GenericService.GenericService{
89
	*/
-
 
90
	void closeSession(),
-
 
91
	
-
 
92
	/**
89
	/**
93
	* Save email details, to be sent later; Also returns its identifier.
90
	* Save email details, to be sent later; Also returns its identifier.
94
	*/
91
	*/
95
	i64 saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
92
	i64 saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
96
	
93