* form and diagram URLs if applicable.
*/
private Response decorateProcessDefintions( List<ProcessDefinitionRef> processDefinitions)
{
// decorate process form URL if plugin available
FormDispatcherPlugin formPlugin = getFormDispatcherPlugin();
if(formPlugin!=null)
{
for(ProcessDefinitionRef def : processDefinitions)
{
URL processFormURL = formPlugin.getDispatchUrl(
new FormAuthorityRef(def.getId(), FormAuthorityRef.Type.PROCESS)
);
if(processFormURL!=null)
{
def.setFormUrl(processFormURL.toExternalForm());