Package com.atlassian.crowd.model.audit
Class AuditLogChangesetEntity
java.lang.Object
com.atlassian.crowd.model.audit.AuditLogChangesetEntity
- All Implemented Interfaces:
AuditLogChangeset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the name of the author of the audit log entry.getId()inthashCode()voidsetAuthorId(Long authorId) voidsetAuthorName(String authorName) voidsetAuthorType(AuditLogAuthorType authorType) voidsetEntities(Set<AuditLogEntityEntity> entities) voidsetEntries(Set<AuditLogEntryEntity> auditLogEntries) voidsetEventMessage(String eventMessage) voidsetEventType(AuditLogEventType eventType) voidvoidsetIpAddress(String ipAddress) voidsetSource(AuditLogEventSource source) voidsetTimestamp(Long timestamp) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.crowd.audit.AuditLogChangeset
getAdditionalEntities, getEntity, getEntityId, getEntityName, getEntityType
-
Constructor Details
-
AuditLogChangesetEntity
public AuditLogChangesetEntity() -
AuditLogChangesetEntity
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceAuditLogChangeset- Returns:
- The changeset identifier
-
getTimestampInstant
- Specified by:
getTimestampInstantin interfaceAuditLogChangeset- Returns:
- the creation date of the audit log entry
-
setId
-
getTimestamp
-
setTimestamp
-
getAuthorType
- Specified by:
getAuthorTypein interfaceAuditLogChangeset- Returns:
- the type of the author of the audit log entry
-
setAuthorType
-
getAuthorId
- Specified by:
getAuthorIdin 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:AuditLogChangesetReturns the name of the author of the audit log entry. This is particularly useful when the author does not exist anymore- Specified by:
getAuthorNamein interfaceAuditLogChangeset- Returns:
- the name of the author of the audit log entry
-
setAuthorName
-
getEventType
- Specified by:
getEventTypein interfaceAuditLogChangeset- Returns:
- information about the type of the event represented by this audit log entry
-
setEventType
-
getIpAddress
- Specified by:
getIpAddressin interfaceAuditLogChangeset- Returns:
- the IP address of the entity which performed the auditable action
-
setIpAddress
-
getEventMessage
- Specified by:
getEventMessagein interfaceAuditLogChangeset- Returns:
- custom message providing additional detail about the auditable event
-
setEventMessage
-
getSource
- Specified by:
getSourcein interfaceAuditLogChangeset- Returns:
- the source of the auditable event (whether it was manual or changed by an automated process for example)
-
setSource
-
getEntries
- Specified by:
getEntriesin interfaceAuditLogChangeset- Returns:
- the entries contained in the changeset
-
setEntries
-
getEntities
- Specified by:
getEntitiesin interfaceAuditLogChangeset- Returns:
- the objects that were affected by the event reflected by the changeset
-
setEntities
-
getAuthor
- Specified by:
getAuthorin 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
-