@Nullable
    public static LogTemplate getTemplate(final int itemId) {
        for (final LogTemplate template : getAllTemplates()) {
            if (template.getItemId() == itemId) {
                return template;
            }
        }
        return null;
    }
@return all user-facing templates, including the log text template
main/src/main/java/cgeo/geocaching/log/LogTemplateProvider.java