Package com.atlassian.crowd.model.audit
Class AuditLogEntityEntity
java.lang.Object
com.atlassian.crowd.model.audit.AuditLogEntityEntity
- All Implemented Interfaces:
AuditLogEntity
-
Constructor Summary
ConstructorsConstructorDescriptionAuditLogEntityEntity(AuditLogEntity entity) AuditLogEntityEntity(AuditLogEntityType entityType, String entityName, Long entityId, boolean primary) AuditLogEntityEntity(Long id, AuditLogEntityType entityType, String entityName, Long entityId, boolean primary) AuditLogEntityEntity(Long id, AuditLogEntityType entityType, String entityName, Long entityId, boolean primary, AuditLogChangesetEntity changeset) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the name of the affected object.getId()inthashCode()booleanvoidsetChangeset(AuditLogChangesetEntity changeset) voidsetEntityId(Long entityId) voidsetEntityName(String entityName) voidsetEntityType(AuditLogEntityType entityType) voidvoidsetPrimary(boolean primary) toString()
-
Constructor Details
-
AuditLogEntityEntity
public AuditLogEntityEntity() -
AuditLogEntityEntity
-
AuditLogEntityEntity
public AuditLogEntityEntity(AuditLogEntityType entityType, String entityName, Long entityId, boolean primary) -
AuditLogEntityEntity
public AuditLogEntityEntity(Long id, AuditLogEntityType entityType, String entityName, Long entityId, boolean primary) -
AuditLogEntityEntity
public AuditLogEntityEntity(Long id, AuditLogEntityType entityType, String entityName, Long entityId, boolean primary, AuditLogChangesetEntity changeset)
-
-
Method Details
-
getId
-
setId
-
getEntityName
Description copied from interface:AuditLogEntityReturns the name of the affected object. This is particularly useful when the object does not exist anymore- Specified by:
getEntityNamein interfaceAuditLogEntity- Returns:
- the name of the affected object at the time the event occurred
-
setEntityName
-
getEntityType
- Specified by:
getEntityTypein interfaceAuditLogEntity- Returns:
- the type of the affected object
-
setEntityType
-
getEntityId
- Specified by:
getEntityIdin interfaceAuditLogEntity- Returns:
- the identifier of the affected object (exact semantic depends on the entity type)
-
setEntityId
-
isPrimary
public boolean isPrimary()- Specified by:
isPrimaryin interfaceAuditLogEntity- Returns:
- Returns true if the object is the primary affected object in the transaction
-
setPrimary
public void setPrimary(boolean primary) -
getChangeset
-
setChangeset
-
equals
-
hashCode
public int hashCode() -
toString
-