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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateInputstatic TemplateInputfactory(String name, InputType type, Object value, String description, Boolean isReadonly, Boolean isAutoloop) getCopy(boolean readOnly) getName()getType()booleanbooleanbooleanisSet()booleanbooleanvoidsetAutoLoop(boolean autoLoop) voidsetBooleanValue(boolean booleanValue) voidsetBooleanValue(Object booleanValue) voidsetDateValue(Object dateValue) voidsetDesciption(String desciption) voidsetMapValue(Object value) voidvoidsetReadOnly(boolean readOnly) voidvoidsetStringValue(Object stringValue) voidvoidsetTypeAsString(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
-