Interface AuditLogAction
-
public interface AuditLogActionRepresents 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 StringgetActionDescription()Returns action descriptionActionTypegetActionType()Returns action typeStringgetAdditionalData()Returns the additional data saved for this actionCommentgetComment()Returns comment for the actionStringgetCommentText()Returns comment textObjectgetObject()Returns the object of the actionStringgetObjectExternalId()Returns the external identifier of the object of the actionStringgetObjectId()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 oftenObjectTypegetObjectType()Returns the type of the object of the actionObjectTypegetSubjectType()Returns the type of the subject of the actionDategetTimestamp()Returns action timestampUsergetUser()Returns user who performed the actionlonggetUserId()Returns user id of user who performed the actionbooleanisUserAction()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
-
-