public class TemplateBindings extends ArrayList<TemplateBinding>
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_PROP_NAME |
static String |
DEFAULT_BINDING |
modCount
Constructor and Description |
---|
TemplateBindings(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdate(TemplateBinding tb) |
boolean |
containsTemplateId(String templateId) |
boolean |
containsTemplateName(String templateName) |
TemplateBinding |
get() |
TemplateBinding |
get(String name) |
List<String> |
getNames() |
void |
removeByName(String templateName) |
void |
save(DocumentModel doc) |
String |
useMainContentAsTemplate() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public static final String DEFAULT_BINDING
public static final String BINDING_PROP_NAME
public TemplateBindings(DocumentModel doc)
public String useMainContentAsTemplate()
public TemplateBinding get()
public void removeByName(String templateName)
public boolean containsTemplateName(String templateName)
public boolean containsTemplateId(String templateId)
public TemplateBinding get(String name)
public void addOrUpdate(TemplateBinding tb)
public void save(DocumentModel doc)
Copyright © 2018 Nuxeo. All rights reserved.