Package org.nuxeo.template.api
Class TemplateInput
java.lang.Object
org.nuxeo.template.api.TemplateInput
- All Implemented Interfaces:
Serializable
Represents input parameters of a Template. Inputs parameters have an
InputType
, a name an a value. Value can
be a xpath pointing to a DocumentModel
property.- Author:
- Tiry ([email protected])
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateInput
static TemplateInput
factory
(String name, InputType type, Object value, String description, Boolean isReadonly, Boolean isAutoloop) getCopy
(boolean readOnly) getName()
getType()
boolean
boolean
boolean
isSet()
boolean
boolean
void
setAutoLoop
(boolean autoLoop) void
setBooleanValue
(boolean booleanValue) void
setBooleanValue
(Object booleanValue) void
setDateValue
(Object dateValue) void
setDesciption
(String desciption) void
setMapValue
(Object value) void
void
setReadOnly
(boolean readOnly) void
void
setStringValue
(Object stringValue) void
void
setTypeAsString
(String strType) toString()
update
(TemplateInput other)
-
Field Details
-
name
-
stringValue
-
booleanValue
-
dateValue
-
type
-
source
-
desciption
-
readOnly
protected boolean readOnly -
autoLoop
protected boolean autoLoop
-
-
Constructor Details
-
TemplateInput
-
TemplateInput
-
-
Method Details
-
getCopy
-
update
-
getSource
-
setSource
-
getDesciption
-
setDesciption
-
toString
-
getName
-
setName
-
getStringValue
-
setStringValue
-
getBooleanValue
-
setBooleanValue
-
setBooleanValue
public void setBooleanValue(boolean booleanValue) -
getDateValue
-
setDateValue
-
setMapValue
-
getMapValue
-
getListValue
-
getType
-
getTypeAsString
-
setType
-
setTypeAsString
-
isSimpleValue
public boolean isSimpleValue() -
isSourceValue
public boolean isSourceValue() -
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
isSet
public boolean isSet() -
isAutoLoop
public boolean isAutoLoop() -
setAutoLoop
public void setAutoLoop(boolean autoLoop) -
factory
-
factory
-