Package com.atlassian.crowd.model.audit
Class AuditLogChangesetEntity
java.lang.Object
com.atlassian.crowd.model.audit.AuditLogChangesetEntity
- All Implemented Interfaces:
AuditLogChangeset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the name of the author of the audit log entry.getId()
int
hashCode()
void
setAuthorId
(Long authorId) void
setAuthorName
(String authorName) void
setAuthorType
(AuditLogAuthorType authorType) void
setEntities
(Set<AuditLogEntityEntity> entities) void
setEntries
(Set<AuditLogEntryEntity> auditLogEntries) void
setEventMessage
(String eventMessage) void
setEventType
(AuditLogEventType eventType) void
void
setIpAddress
(String ipAddress) void
setSource
(AuditLogEventSource source) void
setTimestamp
(Long timestamp) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.audit.AuditLogChangeset
getAdditionalEntities, getEntity, getEntityId, getEntityName, getEntityType
-
Constructor Details
-
AuditLogChangesetEntity
public AuditLogChangesetEntity() -
AuditLogChangesetEntity
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceAuditLogChangeset
- Returns:
- The changeset identifier
-
getTimestampInstant
- Specified by:
getTimestampInstant
in interfaceAuditLogChangeset
- Returns:
- the creation date of the audit log entry
-
setId
-
getTimestamp
-
setTimestamp
-
getAuthorType
- Specified by:
getAuthorType
in interfaceAuditLogChangeset
- Returns:
- the type of the author of the audit log entry
-
setAuthorType
-
getAuthorId
- Specified by:
getAuthorId
in interfaceAuditLogChangeset
- Returns:
- the identifier of the author of the audit log entry (exact semantic depends on the author type)
-
setAuthorId
-
getAuthorName
Description copied from interface:AuditLogChangeset
Returns the name of the author of the audit log entry. This is particularly useful when the author does not exist anymore- Specified by:
getAuthorName
in interfaceAuditLogChangeset
- Returns:
- the name of the author of the audit log entry
-
setAuthorName
-
getEventType
- Specified by:
getEventType
in interfaceAuditLogChangeset
- Returns:
- information about the type of the event represented by this audit log entry
-
setEventType
-
getIpAddress
- Specified by:
getIpAddress
in interfaceAuditLogChangeset
- Returns:
- the IP address of the entity which performed the auditable action
-
setIpAddress
-
getEventMessage
- Specified by:
getEventMessage
in interfaceAuditLogChangeset
- Returns:
- custom message providing additional detail about the auditable event
-
setEventMessage
-
getSource
- Specified by:
getSource
in interfaceAuditLogChangeset
- Returns:
- the source of the auditable event (whether it was manual or changed by an automated process for example)
-
setSource
-
getEntries
- Specified by:
getEntries
in interfaceAuditLogChangeset
- Returns:
- the entries contained in the changeset
-
setEntries
-
getEntities
- Specified by:
getEntities
in interfaceAuditLogChangeset
- Returns:
- the objects that were affected by the event reflected by the changeset
-
setEntities
-
getAuthor
- Specified by:
getAuthor
in interfaceAuditLogChangeset
- Returns:
- the information about the author of the audit log entry (exact semantic depends on the author type)
-
equals
-
hashCode
public int hashCode() -
toString
-