Class DataCollectionNodeResourceValueComponent<T extends DataCollectionNodeResource>
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Grid
overit.geocall.basic.ui.control.ArrangingGrid
overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent<T>
overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeResourceValueComponent<T>
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Arrangeable,Badgeable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
- Direct Known Subclasses:
DataCollectionNodeAttachmentValueComponent,DataCollectionNodePictureValueComponent,DataCollectionNodeSignatureValueComponent
public abstract class DataCollectionNodeResourceValueComponent<T extends DataCollectionNodeResource>
extends DataCollectionNodeTypeValueComponent<T>
Component that represent the data collection node resource value.
- Since:
- 12.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected StringFields inherited from class overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent
BUTTON_INFO_NAME, form, INDEXED_NAME_SEPARATOR, infoPanel, MANDATORY_TAG, node, nodeId, sheet, typeFields inherited from class overit.geocall.basic.ui.control.Grid
_align, _border, _cellsize, _childrenMatrix, _closable, _closed, _conf, _event, _fullsize, _mode, _msg, _param, _ref, _roclosed, _spacing, _valign, _visible, layoutCacheFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidprotected voidbooleanonDownload(UIMessage uim) UI event handler that manage the download.booleanUI event handler to manage the upload.booleanpostUpload(String uuid) Post the uploaded resource.protected voidsetResourceUuid(String uuid) protected voidprotected voidprotected voidMethods inherited from class overit.geocallapp.wfm.core.ux.datacollection.sheet.dynamic.DataCollectionNodeTypeValueComponent
formatLabel, getButtonNames, getComponentByName, getIndexedName, getNamesToBeIndexed, getNode, getNODEID, getPlaceholder, getSheet, getTooltip, getUpdatedType, initLabel, initTooltipAndPlaceholder, isReadOnly, onInit, onShowInfo, setNode, setNODEID, setSheet, show, updateIndexedButtonParams, updateIndexedNames, updateRegistryNameMethods inherited from class overit.geocall.basic.ui.control.ArrangingGrid
fillBodyRowsMethods inherited from class overit.geocall.basic.ui.control.Grid
addStructureRow, buildDisplayScript, buildSetupScript, createTD, getChildrenMatrix, getClosable, getClosed, getContentHtml, getDescriptionHtml, getEventButton, getFullHeightChilds, getGenerationHandle, getHiddenHtml, getHtml, getPublishedChildrenList, getRef, getROClosed, isVisible, setALIGN, setBORDER, setCLOSABLE, setClosed, setCLOSED, setEVENT, setFULLSIZE, setLAYOUTCACHE, setMODE, setMsg, setMSG, setPARAM, setREF, setRo, setROCLOSED, setSPACING, setup, setVALIGN, setVISIBLEMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getBLANK, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getRO, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBASIC, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, setValuesContainer, stringForJs, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIconMethods inherited from interface overit.geocall.ui.Hideable
getVISIBLE
-
Field Details
-
INPUT_RESOURCE_NAME
- See Also:
-
BUTTON_DOWNLOAD_NAME
- See Also:
-
BUTTON_UPLOAD_NAME
- See Also:
-
uploadPanel
-
lastLoadedUuid
-
-
Constructor Details
-
DataCollectionNodeResourceValueComponent
public DataCollectionNodeResourceValueComponent()
-
-
Method Details
-
initComponents
protected void initComponents()- Overrides:
initComponentsin classDataCollectionNodeTypeValueComponent<T extends DataCollectionNodeResource>
-
initReadonly
protected void initReadonly()- Overrides:
initReadonlyin classDataCollectionNodeTypeValueComponent<T extends DataCollectionNodeResource>
-
showValue
protected void showValue()- Specified by:
showValuein classDataCollectionNodeTypeValueComponent<T extends DataCollectionNodeResource>
-
showChangedResource
- Throws:
DAExceptionDAValidateException
-
updateValue
protected void updateValue()- Specified by:
updateValuein classDataCollectionNodeTypeValueComponent<T extends DataCollectionNodeResource>
-
onDownload
UI event handler that manage the download.- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-
onUpload
UI event handler to manage the upload.- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-
postUpload
Post the uploaded resource.- Parameters:
uuid- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-
getResourceUuid
-
setResourceUuid
-