public Serializable create(String templateName, Integer id, String userName) {
public Serializable create(String templateName, String viewName, Integer id, String userName) {
            public Serializable create(String templateName, Integer id, String userName) {                if (userName.equals(NO_USERNAME_STRING)) {                    // the create method can't have a null argument, but null is the signal for                    // findTemplate() that there is no current user                    userName = null;                }                TemplateQuery template =                     TemplateHelper.findTemplate(servletContext, userName,                                                 templateName, TemplateHelper.ALL_TEMPLATE);                    if (template == null) {                        throw new IllegalStateException("Could not find template \""                                                         + templateName + "\"");                    }                InterMineObject object;                try {                    object = os.getObjectById(id);                } catch (ObjectStoreException e) {                    throw new RuntimeException("cannot find object for ID: " + id);                }                return makeInlineTemplateTable(servletContext, template, object);            }