public static AuditEntryBean clientRegistered ( ClientVersionBean bean , ISecurityContext securityContext ) { AuditEntryBean entry = newEntry ( bean . getClient ( ) . getOrganization ( ) . getId ( ) , AuditEntityType . Client , securityContext ) ; entry . setEntityId ( bean . getClient ( ) . getId ( ) ) ; entry . setEntityVersion ( bean . getVersion ( ) ) ; entry . setWhat ( AuditEntryType . Register ) ; return entry ; }
Creates an audit entry for the client registered event .