public class VelocityEntityUpdateResUploadActionTransformer<T> extends EntityUpdateResUploadActionTransformer<T>
templatePattern
.
The resulting change is updated or appended to the EntityUpdateResUploadActionTransformer.relatedField
in the Entity.EntityUpdateResUploadActionTransformer
dao
Constructor and Description |
---|
VelocityEntityUpdateResUploadActionTransformer() |
Modifier and Type | Method and Description |
---|---|
protected String |
constructPath(T entity,
Map context,
FacetMeta fm,
String path,
int sequenceCode,
List fieldValues) |
org.apache.velocity.app.VelocityEngine |
getEngine()
The Core Velocity Engine
|
String |
getTemplatePattern()
A pattern defined by Velocity Template Language (VTL) that uses variables.
Variable types can be entity.<name of field> or <context variable> or sequenceCode.sequenceCode a special variable as int type, that is determined based on the last sequence if paths are already assigned to EntityUpdateResUploadActionTransformer.relatedField . |
void |
setEngine(org.apache.velocity.app.VelocityEngine engine)
The Core Velocity Engine
|
void |
setTemplatePattern(String templatePattern)
A pattern defined by Velocity Template Language (VTL) that uses variables.
Variable types can be entity.<name of field> or <context variable> or sequenceCode.sequenceCode a special variable as int type, that is determined based on the last sequence if paths are already assigned to EntityUpdateResUploadActionTransformer.relatedField . |
derivePath, getRelatedField, getResourceUploader, getSequenceCode, isRelatedFieldAsList, relativePath, setRelatedField, setRelatedFieldAsList, setResourceUploader, validate
getAction, getDao, getObjectIdNumberType, setAction, setDao, setObjectIdNumberType, transform
public VelocityEntityUpdateResUploadActionTransformer()
protected String constructPath(T entity, Map context, FacetMeta fm, String path, int sequenceCode, List fieldValues)
constructPath
in class EntityUpdateResUploadActionTransformer<T>
public String getTemplatePattern()
entity.<name of field>
or <context variable>
or sequenceCode.EntityUpdateResUploadActionTransformer.relatedField
. It is incremented by 1.
If EntityUpdateResUploadActionTransformer.relatedField
is not acollectionType then this is always 1.
for context variable definitions
public void setTemplatePattern(String templatePattern)
entity.<name of field>
or <context variable>
or sequenceCode.EntityUpdateResUploadActionTransformer.relatedField
. It is incremented by 1.
If EntityUpdateResUploadActionTransformer.relatedField
is not acollectionType then this is always 1.
for context variable definitions
public org.apache.velocity.app.VelocityEngine getEngine()
RuntimeInstance
public void setEngine(org.apache.velocity.app.VelocityEngine engine)
RuntimeInstance
Copyright © 2018. All rights reserved.