Interface AuditLogAction
-
public interface AuditLogAction
Represents the action in the audit log- Author:
- Maxim.Manuylov Date: 27.04.2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getActionDescription()
Returns action descriptionActionType
getActionType()
Returns action typeString
getAdditionalData()
Returns the additional data saved for this actionComment
getComment()
Returns comment for the actionString
getCommentText()
Returns comment textObject
getObject()
Returns the object of the actionString
getObjectExternalId()
Returns the external identifier of the object of the actionString
getObjectId()
Returns the identifier of the object of the actionObjectWrapper[]
getObjects()
Returns the objects of the action, this operation can be slow and should not be called oftenObjectType
getObjectType()
Returns the type of the object of the actionObjectType
getSubjectType()
Returns the type of the subject of the actionDate
getTimestamp()
Returns action timestampUser
getUser()
Returns user who performed the actionlong
getUserId()
Returns user id of user who performed the actionboolean
isUserAction()
Returns true if this action was performed by user
-
-
-
Method Detail
-
getComment
@NotNull Comment getComment()
Returns comment for the action- Returns:
- comment for the action
-
getCommentText
@Nullable String getCommentText()
Returns comment text- Returns:
- comment text
-
getTimestamp
@NotNull Date getTimestamp()
Returns action timestamp- Returns:
- action timestamp
-
getUser
@Nullable User getUser()
Returns user who performed the action- Returns:
- user who performed the action
-
getUserId
long getUserId()
Returns user id of user who performed the action- Returns:
- user id of user who performed the action
-
isUserAction
boolean isUserAction()
Returns true if this action was performed by user- Returns:
- true if this action was performed by user
-
getActionType
@NotNull ActionType getActionType()
Returns action type- Returns:
- action type
-
getActionDescription
@NotNull String getActionDescription()
Returns action description- Returns:
- action description
-
getObjects
@NotNull ObjectWrapper[] getObjects()
Returns the objects of the action, this operation can be slow and should not be called often- Returns:
- the objects of the action
-
getObjectId
@NotNull String getObjectId()
Returns the identifier of the object of the action- Returns:
- identifier of the object of the action
-
getObjectExternalId
@Nullable String getObjectExternalId()
Returns the external identifier of the object of the action- Returns:
- external identifier of the object of the action
- Since:
- 8.0
-
getObject
@Nullable Object getObject()
Returns the object of the action- Returns:
- object of the action
- Since:
- 2019.1
-
getObjectType
@NotNull ObjectType getObjectType()
Returns the type of the object of the action- Returns:
- type of the object of the action
-
getSubjectType
@NotNull ObjectType getSubjectType()
Returns the type of the subject of the action- Returns:
- type of the subject of the action
-
getAdditionalData
@Nullable String getAdditionalData()
Returns the additional data saved for this action- Returns:
- the additional data saved for this action
-
-