@Named(value="org.jbpm.formModeler.fieldTypes.document.handling.JBPMDocumentFieldTypeHandler") public class JBPMDocumentFieldTypeHandler extends PlugableFieldHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultFileIcon |
protected String |
dropIcon |
protected String |
iconFolder |
protected Map<String,String> |
icons |
String[] |
SIZE_UNITS |
| Constructor and Description |
|---|
JBPMDocumentFieldTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCompatibleClassNames() |
protected org.jbpm.document.marshalling.AbstractDocumentMarshallingStrategy |
getDocumentMarshallingStrategy(String inputName) |
protected String |
getFileIcon(org.jbpm.document.Document document) |
protected String |
getFileSize(long longSize) |
String |
getInputHTML(Object value,
Field field,
String inputName,
String namespace,
Boolean readonly) |
Map |
getParamValue(Field field,
String inputName,
Object objectValue) |
String |
getShowHTML(Object value,
Field field,
String inputName,
String namespace) |
Object |
getValue(Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue) |
void |
init() |
boolean |
isEmpty(Object value) |
String |
renderField(org.jbpm.document.Document document,
Field field,
String inputName,
boolean showInput,
boolean readonly) |
getPageToIncludeForDisplaying, getPageToIncludeForRenderingpublic final String[] SIZE_UNITS
protected String dropIcon
protected String iconFolder
protected String defaultFileIcon
@PostConstruct public void init()
public Object getValue(Field field, String inputName, Map parametersMap, Map filesMap, String desiredClassName, Object previousValue) throws Exception
Exceptionprotected org.jbpm.document.marshalling.AbstractDocumentMarshallingStrategy getDocumentMarshallingStrategy(String inputName)
public String getShowHTML(Object value, Field field, String inputName, String namespace)
getShowHTML in class PlugableFieldHandlerpublic String getInputHTML(Object value, Field field, String inputName, String namespace, Boolean readonly)
getInputHTML in class PlugableFieldHandlerpublic String renderField(org.jbpm.document.Document document, Field field, String inputName, boolean showInput, boolean readonly)
protected String getFileSize(long longSize)
protected String getFileIcon(org.jbpm.document.Document document)
public String[] getCompatibleClassNames()
public boolean isEmpty(Object value)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.