org.jbpm.formModeler.fieldTypes.document.handling
Class JBPMDocumentFieldTypeHandler
java.lang.Object
org.jbpm.formModeler.core.processing.fieldHandlers.plugable.PlugableFieldHandler
org.jbpm.formModeler.fieldTypes.document.handling.JBPMDocumentFieldTypeHandler
- All Implemented Interfaces:
- FieldHandler
@Named(value="org.jbpm.formModeler.fieldTypes.document.handling.JBPMDocumentFieldTypeHandler")
public class JBPMDocumentFieldTypeHandler
- extends org.jbpm.formModeler.core.processing.fieldHandlers.plugable.PlugableFieldHandler
|
Method Summary |
String[] |
getCompatibleClassNames()
|
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(String inputName,
Object objectValue,
String pattern)
|
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)
|
| Methods inherited from class org.jbpm.formModeler.core.processing.fieldHandlers.plugable.PlugableFieldHandler |
getPageToIncludeForDisplaying, getPageToIncludeForRendering |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE_UNITS
public final String[] SIZE_UNITS
dropIcon
protected String dropIcon
iconFolder
protected String iconFolder
defaultFileIcon
protected String defaultFileIcon
icons
protected Map<String,String> icons
JBPMDocumentFieldTypeHandler
public JBPMDocumentFieldTypeHandler()
init
@PostConstruct
public void init()
getValue
public Object getValue(Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue)
throws Exception
- Throws:
Exception
getShowHTML
public String getShowHTML(Object value,
Field field,
String inputName,
String namespace)
- Specified by:
getShowHTML in class org.jbpm.formModeler.core.processing.fieldHandlers.plugable.PlugableFieldHandler
getInputHTML
public String getInputHTML(Object value,
Field field,
String inputName,
String namespace,
Boolean readonly)
- Specified by:
getInputHTML in class org.jbpm.formModeler.core.processing.fieldHandlers.plugable.PlugableFieldHandler
renderField
public String renderField(org.jbpm.document.Document document,
Field field,
String inputName,
boolean showInput,
boolean readonly)
getFileSize
protected String getFileSize(long longSize)
getFileIcon
protected String getFileIcon(org.jbpm.document.Document document)
getCompatibleClassNames
public String[] getCompatibleClassNames()
isEmpty
public boolean isEmpty(Object value)
getParamValue
public Map getParamValue(String inputName,
Object objectValue,
String pattern)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.