private String fedoraLogEntry ( DigitalObject object , String pid ) { String message = fedoraMessageTemplate . replace ( "[[PID]]" , pid ) ; return message . replace ( "[[OID]]" , object . getId ( ) ) ; }
Build a Log entry to use in Fedora . Replace all the template placeholders