How to get all confluence global templates to the JIRA Administration Page webwork action using JAVA?

I have a JIRA Webitem at the System Adminstration section.

On the Page, I wanted to display the list of Confluence Global Template.

Since there is no REST API’s for fetching the global templates, Is there a method to fetch the global templates by using application links java object?