public static AuditEntryBean planCreated ( PlanBean bean , ISecurityContext securityContext ) { AuditEntryBean entry = newEntry ( bean . getOrganization ( ) . getId ( ) , AuditEntityType . Plan , securityContext ) ; entry . setEntityId ( bean . getId ( ) ) ; entry . setEntityVersion ( null ) ; entry . setData ( null ) ; entry . setWhat ( AuditEntryType . Create ) ; return entry ; }
Creates an audit entry for the plan created event .