Interface AuditLogProvider
-
- All Known Implementing Classes:
AuditLogProviderImpl
public interface AuditLogProvider
Provides audit log actions.- Author:
- Maxim.Manuylov Date: 19.10.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditLogAction
findLastAction(AuditLogObject object, ActionType... actionTypes)
Returns the last action with one of the specified action types of the specified objectAuditLogAction
findLastAction(AuditLogObject object, ActionTypeSet actionTypeSet)
Returns the last action with one of the specified action types of the specified objectComment
findLastComment(AuditLogObject object, ActionType... actionTypes)
Returns comment of the last action with one of the specified action types of the specified objectAuditLogBuilder
getBuilder()
Returns audit log builder
-
-
-
Method Detail
-
getBuilder
@NotNull AuditLogBuilder getBuilder()
Returns audit log builder- Returns:
- audit log builder
- See Also:
AuditLogBuilder
-
findLastComment
@Nullable Comment findLastComment(@NotNull AuditLogObject object, @NotNull ActionType... actionTypes)
Returns comment of the last action with one of the specified action types of the specified object- Parameters:
object
- objectactionTypes
- action types- Returns:
- comment of the last action
-
findLastAction
@Nullable AuditLogAction findLastAction(@NotNull AuditLogObject object, @NotNull ActionType... actionTypes)
Returns the last action with one of the specified action types of the specified object- Parameters:
object
- objectactionTypes
- action types- Returns:
- last action
-
findLastAction
@Nullable AuditLogAction findLastAction(@NotNull AuditLogObject object, @NotNull ActionTypeSet actionTypeSet)
Returns the last action with one of the specified action types of the specified object- Parameters:
object
- objectactionTypeSet
- action type set- Returns:
- last action
-
-