@@ -16,15 +16,10 @@ interface LogInterface extends ExtensibleDataInterface
16
16
{
17
17
const LOG_ID = 'log_id ' ;
18
18
const TIME = 'time ' ;
19
- const ACTION_GROUP = 'action_group ' ;
20
- const ACTION = 'action ' ;
21
- const FULL_ACTION_NAME = 'full_action_name ' ;
22
- const RESULT = 'result ' ;
23
- const DETAILS = 'details ' ;
24
- const ERROR = 'error ' ;
25
- const IP_ADDRESS = 'ip_address ' ;
26
- const USERNAME = 'username ' ;
27
19
const CUSTOMER_ID = 'customer_id ' ;
20
+ const CUSTOMER_EMAIL = 'customer_email ' ;
21
+ const USER_ID = 'user_id ' ;
22
+ const USERNAME = 'user_name ' ;
28
23
29
24
/**
30
25
* Set login as customer log id.
@@ -44,10 +39,10 @@ public function getLogId(): ?int;
44
39
/**
45
40
* Set login as customer log time.
46
41
*
47
- * @param string $name
42
+ * @param string $time
48
43
* @return void
49
44
*/
50
- public function setTime (string $ name ): void ;
45
+ public function setTime (string $ time ): void ;
51
46
52
47
/**
53
48
* Retrieve login as customer log time.
@@ -57,139 +52,64 @@ public function setTime(string $name): void;
57
52
public function getTime (): ?string ;
58
53
59
54
/**
60
- * Set login as customer log action group .
55
+ * Set login as customer log user id .
61
56
*
62
- * @param string $actionGroup
57
+ * @param int $userId
63
58
* @return void
64
59
*/
65
- public function setActionGroup ( string $ actionGroup ): void ;
60
+ public function setUserId ( int $ userId ): void ;
66
61
67
62
/**
68
- * Retrieve login as customer log action group.
69
- *
70
- * @return null|string
71
- */
72
- public function getActionGroup (): ?string ;
73
-
74
- /**
75
- * Set login as customer log action.
76
- *
77
- * @param string $action
78
- * @return void
79
- */
80
- public function setAction (string $ action ): void ;
81
-
82
- /**
83
- * Retrieve login as customer log action.
84
- *
85
- * @return null|string
86
- */
87
- public function getAction (): ?string ;
88
-
89
- /**
90
- * Set login as customer log full action name.
91
- *
92
- * @param string $fullActionName
93
- * @return void
94
- */
95
- public function setFullActionName (string $ fullActionName ): void ;
96
-
97
- /**
98
- * Retrieve login as customer log full action name.
99
- *
100
- * @return null|string
101
- */
102
- public function getFullActionName (): ?string ;
103
-
104
- /**
105
- * Set login as customer log result.
106
- *
107
- * @param int $result
108
- * @return void
109
- */
110
- public function setResult (int $ result ): void ;
111
-
112
- /**
113
- * Retrieve login as customer log result.
63
+ * Retrieve login as customer log user id.
114
64
*
115
65
* @return null|int
116
66
*/
117
- public function getResult (): ?int ;
67
+ public function getUserId (): ?int ;
118
68
119
69
/**
120
- * Set login as customer log details .
70
+ * Set login as customer log user name .
121
71
*
122
- * @param string $details
72
+ * @param string $userName
123
73
* @return void
124
74
*/
125
- public function setDetails (string $ details ): void ;
75
+ public function setUserName (string $ userName ): void ;
126
76
127
77
/**
128
- * Retrieve login as customer log details .
78
+ * Retrieve login as customer log user name .
129
79
*
130
80
* @return null|string
131
81
*/
132
- public function getDetails (): ?string ;
82
+ public function getUserName (): ?string ;
133
83
134
84
/**
135
- * Set login as customer log error.
136
- *
137
- * @param string $error
138
- * @return void
139
- */
140
- public function setError (string $ error ): void ;
141
-
142
- /**
143
- * Retrieve login as customer log error.
144
- *
145
- * @return string|null
146
- */
147
- public function getError (): ?string ;
148
-
149
- /**
150
- * Set login as customer log ip address.
85
+ * Set login as customer log customer id.
151
86
*
152
- * @param int $ipAddress
87
+ * @param int $customerId
153
88
* @return void
154
89
*/
155
- public function setIpAddress (int $ ipAddress ): void ;
90
+ public function setCustomerId (int $ customerId ): void ;
156
91
157
92
/**
158
- * Retrieve login as customer log ip address .
93
+ * Retrieve login as customer log customer id .
159
94
*
160
95
* @return null|int
161
96
*/
162
- public function getIpAddress (): ?int ;
97
+ public function getCustomerId (): ?int ;
163
98
164
99
/**
165
- * Set login as customer log user name .
100
+ * Set login as customer log customer email .
166
101
*
167
- * @param string $username
102
+ * @param string $customerEmail
168
103
* @return void
169
104
*/
170
- public function setUsername (string $ username ): void ;
105
+ public function setCustomerEmail (string $ customerEmail ): void ;
171
106
172
107
/**
173
- * Retrieve login as customer log user name .
108
+ * Retrieve login as customer log customer email .
174
109
*
175
110
* @return null|string
176
111
*/
177
- public function getUsername (): ?string ;
178
-
179
- /**
180
- * Set login as customer log customer id.
181
- *
182
- * @param int $customerId
183
- * @return void
184
- */
185
- public function setCustomerId (int $ customerId ): void ;
186
-
187
- /**
188
- * Retrieve login as customer log customer id.
189
- *
190
- * @return null|int
191
- */
192
- public function getCustomerId (): ?int ;
112
+ public function getCustomerEmail (): ?string ;
193
113
194
114
/**
195
115
* Set log extension attributes.
0 commit comments