public JournalTemplateResourceImpl(JournalTemplate template, String parentPath, String name) { super( parentPath, name, template.getTemplateId(), template.getCreateDate(), template.getModifiedDate(), template.getXsl().length()); setModel(template); setClassName(JournalTemplate.class.getName()); setPrimaryKey(template.getPrimaryKey()); _template = template; }