| Line 123... |
Line 123... |
| 123 |
struct User{
|
123 |
struct User{
|
| 124 |
1:i64 userId,
|
124 |
1:i64 userId,
|
| 125 |
2:string email,
|
125 |
2:string email,
|
| 126 |
3:string password,
|
126 |
3:string password,
|
| 127 |
4:string name,
|
127 |
4:string name,
|
| 128 |
5:i64 dateOfBirth,
|
128 |
5:string dateOfBirth,
|
| 129 |
6:Sex sex
|
129 |
6:Sex sex
|
| 130 |
7:set<Phone> phones,
|
130 |
7:string mobileNumber
|
| 131 |
8:SocialHandles socialHandles,
|
131 |
8:SocialHandles socialHandles,
|
| 132 |
9:list<Address> addresses,
|
132 |
9:list<Address> addresses,
|
| 133 |
10:i64 defaultAddressId,
|
133 |
10:i64 defaultAddressId,
|
| 134 |
11:string communicationEmail,
|
134 |
11:string communicationEmail,
|
| 135 |
12:i64 activeCartId,
|
135 |
12:i64 activeCartId,
|
| Line 232... |
Line 232... |
| 232 |
User updateUser(1:User user) throws (1:UserContextException ucex),
|
232 |
User updateUser(1:User user) throws (1:UserContextException ucex),
|
| 233 |
bool deleteUser(1:i64 userId) throws (1:UserContextException ucex),
|
233 |
bool deleteUser(1:i64 userId) throws (1:UserContextException ucex),
|
| 234 |
UserState getUserState(1:i64 userId) throws (1:UserContextException ucex),
|
234 |
UserState getUserState(1:i64 userId) throws (1:UserContextException ucex),
|
| 235 |
User authenticateUser(1:string email, 2:string password) throws (1:AuthenticationException auex),
|
235 |
User authenticateUser(1:string email, 2:string password) throws (1:AuthenticationException auex),
|
| 236 |
bool userExists(1:string email) throws (1:UserContextException ucx),
|
236 |
bool userExists(1:string email) throws (1:UserContextException ucx),
|
| 237 |
bool addAddressForUser(1:i64 userId, 2:Address address, 3:i64 timestamp, 4:bool setDefault)throws (1:UserContextException ucx),
|
237 |
i64 addAddressForUser(1:i64 userId, 2:Address address, 3:bool setDefault)throws (1:UserContextException ucx),
|
| 238 |
bool removeAddressForUser(1:i64 userid, 2:i64 addressId)throws (1:UserContextException ucx),
|
238 |
bool removeAddressForUser(1:i64 userid, 2:i64 addressId)throws (1:UserContextException ucx),
|
| 239 |
bool setUserAsLoggedIn(1:i64 userId, 2:i64 timestamp)throws (1:UserContextException ucx),
|
239 |
bool setUserAsLoggedIn(1:i64 userId, 2:i64 timestamp)throws (1:UserContextException ucx),
|
| 240 |
bool setUserAsLoggedOut(1:i64 userid, 2:i64 timestamp)throws (1:UserContextException ucx),
|
240 |
bool setUserAsLoggedOut(1:i64 userid, 2:i64 timestamp)throws (1:UserContextException ucx),
|
| 241 |
bool setDefaultAddress(1:i64 userid, 2:i64 addressId)throws (1:UserContextException ucx),
|
241 |
bool setDefaultAddress(1:i64 userid, 2:i64 addressId)throws (1:UserContextException ucx),
|
| 242 |
bool updatePassword(1:i64 userid, 2:string password)throws (1:UserContextException ucx),
|
242 |
bool updatePassword(1:i64 userid, 2:string password)throws (1:UserContextException ucx),
|