Package org.bgerp.plugin.svc.log.model
Class ActionLogEntry
java.lang.Object
org.bgerp.model.base.Id
org.bgerp.plugin.svc.log.model.ActionLogEntry
- All Implemented Interfaces:
Serializable
,Id<Integer>
Action log record.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getError()
getTime()
int
void
void
setDuration
(long duration) void
void
setIpAddress
(String ipAddress) void
setParameters
(String parameters) void
void
setUserId
(int value)
-
Constructor Details
-
ActionLogEntry
public ActionLogEntry() -
ActionLogEntry
-
-
Method Details
-
getUserId
public int getUserId()- Returns:
- user ID.
-
setUserId
public void setUserId(int value) -
getIpAddress
- Returns:
- calling IP address.
-
setIpAddress
-
getAction
- Returns:
- semicolon separated action class and method.
-
setAction
-
getParameters
- Returns:
- HTTP request parameters in form of query string.
-
setParameters
-
getTime
- Returns:
- execution start time.
-
setTime
-
getDuration
public long getDuration()- Returns:
- action duration in milliseconds.
-
setDuration
public void setDuration(long duration) -
getError
- Returns:
- execution error text or empty string for correct execution.
-
setError
-