|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.persister.DefaultAuditLogService
public class DefaultAuditLogService
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.bamboo.persister.AuditLogService |
---|
AuditLogService.FieldChange |
Constructor Summary | |
---|---|
DefaultAuditLogService(AuditLogDao auditLogDao,
BambooAuthenticationContext authenticationContext)
|
Method Summary | |
---|---|
java.util.List<AuditLogEntry> |
getAuditLogMessagesForPlan(Plan plan)
Provide a list of all audit log messages written against a plan. |
java.util.List<AuditLogEntry> |
getGlobalAuditLogMessages()
Provide a list of all audit log messages written against the system. |
void |
log(AuditLogEntry msg)
Add a log to the audit log. |
void |
log(java.util.Collection<AuditLogService.FieldChange> changes,
PlanKey plan)
Add 'field change' messages to the system audit log. |
void |
log(java.lang.String msg)
Add a message to the system audit log. |
void |
log(java.lang.String msg,
PlanKey planKey)
Add a message to the plans audit log. |
void |
log(java.lang.String username,
java.lang.String msg,
PlanKey planKey)
|
void |
log(com.atlassian.user.User user,
java.lang.String msg)
Add a message to the system audit log. |
void |
log(com.atlassian.user.User user,
java.lang.String msg,
PlanKey planKey)
Add a message to the plans audit log. |
void |
removeAuditLogMessagesForPlan(Plan plan)
Deletes all log messages for a given plan |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuditLogService(AuditLogDao auditLogDao, BambooAuthenticationContext authenticationContext)
Method Detail |
---|
public void log(@NotNull AuditLogEntry msg)
AuditLogService
log
in interface AuditLogService
msg
- (fully populated) to be loggedpublic void log(@NotNull java.lang.String msg)
AuditLogService
log
in interface AuditLogService
msg
- the text of the message to add.public void log(@Nullable com.atlassian.user.User user, @NotNull java.lang.String msg)
AuditLogService
log
in interface AuditLogService
user
- who caused the event being loggedmsg
- the text of the message to add.public void log(@NotNull java.lang.String msg, @Nullable PlanKey planKey)
AuditLogService
log
in interface AuditLogService
msg
- to logplanKey
- to log it againstpublic void log(@Nullable com.atlassian.user.User user, @NotNull java.lang.String msg, @Nullable PlanKey planKey)
AuditLogService
log
in interface AuditLogService
user
- who caused the event being loggedmsg
- to be loggedplanKey
- to log the message against.public void log(@Nullable java.lang.String username, @NotNull java.lang.String msg, @Nullable PlanKey planKey)
public java.util.List<AuditLogEntry> getAuditLogMessagesForPlan(Plan plan)
AuditLogService
getAuditLogMessagesForPlan
in interface AuditLogService
plan
- to find audit messages for
public void removeAuditLogMessagesForPlan(@NotNull Plan plan)
AuditLogService
removeAuditLogMessagesForPlan
in interface AuditLogService
plan
- to delete messages forpublic java.util.List<AuditLogEntry> getGlobalAuditLogMessages()
AuditLogService
getGlobalAuditLogMessages
in interface AuditLogService
public void log(@NotNull java.util.Collection<AuditLogService.FieldChange> changes, @Nullable PlanKey plan)
AuditLogService
log
in interface AuditLogService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |