Package org.nuxeo.template.adapters.doc
Class TemplateBinding
- java.lang.Object
-
- org.nuxeo.template.adapters.doc.TemplateBinding
-
public class TemplateBinding extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEMPLATE_DATA_KEY
static String
TEMPLATE_ID_KEY
static String
TEMPLATE_NAME_KEY
static String
TEMPLATE_USE_BLOB_KEY
-
Constructor Summary
Constructors Constructor Description TemplateBinding()
TemplateBinding(Map<String,Serializable> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getAsMap()
String
getData()
String
getName()
String
getTemplateId()
boolean
isUseMainContentAsTemplate()
void
setData(String data)
void
setData(List<TemplateInput> params)
void
setName(String name)
void
setTemplateId(String templateId)
void
setUseMainContentAsTemplate(boolean useMainContentAsTemplate)
void
update(TemplateBinding other)
-
-
-
Field Detail
-
TEMPLATE_NAME_KEY
public static final String TEMPLATE_NAME_KEY
- See Also:
- Constant Field Values
-
TEMPLATE_DATA_KEY
public static final String TEMPLATE_DATA_KEY
- See Also:
- Constant Field Values
-
TEMPLATE_ID_KEY
public static final String TEMPLATE_ID_KEY
- See Also:
- Constant Field Values
-
TEMPLATE_USE_BLOB_KEY
public static final String TEMPLATE_USE_BLOB_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TemplateBinding
public TemplateBinding()
-
TemplateBinding
public TemplateBinding(Map<String,Serializable> map)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getTemplateId
public String getTemplateId()
-
setTemplateId
public void setTemplateId(String templateId)
-
getData
public String getData()
-
setData
public void setData(String data)
-
setData
public void setData(List<TemplateInput> params)
-
isUseMainContentAsTemplate
public boolean isUseMainContentAsTemplate()
-
setUseMainContentAsTemplate
public void setUseMainContentAsTemplate(boolean useMainContentAsTemplate)
-
update
public void update(TemplateBinding other)
-
getAsMap
public Map<String,Serializable> getAsMap()
-
-