public class XmlGroupTableValue extends XmlGroupValue
| Modifier and Type | Field and Description |
|---|---|
protected List<XmlGroupTableDetail> |
groupTableDetails
xml sub group list
|
protected String |
toggleWith
the group value code to toggle with
|
protected Boolean |
visibleIfPublished
the group value code to toggle with
|
autoCompute, comment, displayAutoCompute, editable, editing, name, oldValue, opinion, reliability, unit, value, verification, visiblealwaysEditableVp, code, competence, displayAsDC, dynamicTitle, help, id, title, type, xmlType| Constructor and Description |
|---|
XmlGroupTableValue() |
XmlGroupTableValue(XmlGroupTableValue pXmlGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(XmlGroupTableDetail pGroupTableDetail)
adds a groupTable to groupTablelist
|
boolean |
containsData(DataDto pDatum)
Returns true if this table contains the data code
|
boolean |
containsIndicator()
return true if table contains indicator
|
static XmlGroupTableDetail |
findTableDetail(Integer pDetailTypeId,
XmlGroupTableValue pXmlGroupTableValue) |
static XmlGroupTableDetail |
findTableDetail(String pXmlGroupTableDetailId,
XmlGroupTableValue pXmlGroupTableValue,
boolean pCloneResult)
return a table detail (or its clone if indicated) corresponding to id passed.
|
List<XmlGroupTableDetailValue> |
findTableDetailValuesByCodes(List<String> pCodes)
return a list of detail values from codes
|
static XmlGroupTableValue |
findTableValueByCodes(List<XmlGroupTableValue> pValues,
String pSearchedCodes)
return null or the value corresponding to code if found
|
List<XmlGroupTableDetail> |
getGroupTableDetails() |
String |
getToggleWith() |
boolean |
isEmpty()
return true if table is empty, false else
|
boolean |
isVisibleIfPublished() |
void |
replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed,
XmlGroupTableDetail pXmlGroupToDetail)
try to replace both group in tab
|
void |
setToggleWith(String pToggleWith) |
void |
setVisibleIfPublished(Boolean pVisibleIfPublished) |
static SPEALotDto |
updateLotWithGroupData(XmlGroupTableValue pXmlGroupTableValue,
SPEALotDto pLot)
updates lot with group data
|
static XmlGroupTableValue |
updateXmlGroupTableDetails(SPEALotDto pLot,
SPEALotDto pOldLot,
int pCompetenceId,
Boolean pHasViewRight,
XmlGroupTableValue pXmlGroupTableValue,
AbstractSpeaIndicatorsAction pAction)
updates the table value group and returns it updated
|
static XmlGroupTableValue |
updateXmlGroupTableValue(SPEALotDto pLot,
SPEALotDto pOldLot,
int pCompetenceId,
Boolean pHasViewRight,
XmlGroupTableValue pXmlGroupTableValue,
AbstractSpeaIndicatorsAction pAction)
updates the table value group and returns it updated
|
canView, clone, copy, getAutoCompute, getComment, getDetailValue, getName, getOldValue, getOpinion, getReliability, getReliabilityName, getUnit, getValue, getVerification, isDisplayAutoCompute, isEditable, isEditing, isVisible, setAutoCompute, setComment, setDisplayAutoCompute, setEditable, setEditing, setName, setOldValue, setOpinion, setReliability, setReliabilityName, setUnit, setValue, setValue, setValue, setVerification, setVisible, updateLotWithValue, updateXmlGroupTablePriceValue, updateXmlGroupTableValuecopy, escapeCode, getAlwaysEditableVp, getCode, getCompetence, getDisplayAsDC, getDynamicTitle, getEscapedCode, getHelp, getId, getTitle, getType, getXmlType, isAlawaysEditable, isCollectivityDetail, isContextValue, isDataIndicatorDetail, isDataIndicatorListDetail, isDelegateeDetail, isDescriptive, isEquipmentDetail, isGeneralTab, isIndicatorValue, isPriceDetail, isPriceValue, isSliceValue, isTaxeDetail, isTitleValue, isVariableValue, setCode, setCompetence, setDisplayAsDC, setDynamicTitle, setHelp, setId, setTitle, setType, setXmlTypeprotected String toggleWith
protected Boolean visibleIfPublished
protected List<XmlGroupTableDetail> groupTableDetails
public XmlGroupTableValue()
public XmlGroupTableValue(XmlGroupTableValue pXmlGroup)
public static XmlGroupTableValue updateXmlGroupTableValue(SPEALotDto pLot, SPEALotDto pOldLot, int pCompetenceId, Boolean pHasViewRight, XmlGroupTableValue pXmlGroupTableValue, AbstractSpeaIndicatorsAction pAction) throws SispeaException
SispeaExceptionpublic static XmlGroupTableValue updateXmlGroupTableDetails(SPEALotDto pLot, SPEALotDto pOldLot, int pCompetenceId, Boolean pHasViewRight, XmlGroupTableValue pXmlGroupTableValue, AbstractSpeaIndicatorsAction pAction) throws SispeaException
SispeaExceptionSispeaExceptionpublic static SPEALotDto updateLotWithGroupData(XmlGroupTableValue pXmlGroupTableValue, SPEALotDto pLot) throws SispeaException, SispeaInputException
pXmlGroupTableValue - pLot - SispeaExceptionSispeaInputExceptionpublic static XmlGroupTableDetail findTableDetail(String pXmlGroupTableDetailId, XmlGroupTableValue pXmlGroupTableValue, boolean pCloneResult)
pXmlGroupTableDetailId - pXmlGroupTableValue - pCloneResult - if true result is the clone, else it's the result its selfpublic static XmlGroupTableDetail findTableDetail(Integer pDetailTypeId, XmlGroupTableValue pXmlGroupTableValue)
public static XmlGroupTableValue findTableValueByCodes(List<XmlGroupTableValue> pValues, String pSearchedCodes)
pValues - pSearchedCodes - public void add(XmlGroupTableDetail pGroupTableDetail)
pGroupTableDetail - public boolean isEmpty()
XmlGroupValueisEmpty in class XmlGroupValuepublic boolean containsIndicator()
XmlGroupValuecontainsIndicator in class XmlGroupValuepublic void replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed, XmlGroupTableDetail pXmlGroupToDetail)
pXmlGroupDetailed - pXmlGroupToDetail - public List<XmlGroupTableDetailValue> findTableDetailValuesByCodes(List<String> pCodes)
pCodes - list of string codespublic boolean containsData(DataDto pDatum)
containsData in class XmlGroupValuepDatum - public List<XmlGroupTableDetail> getGroupTableDetails()
public String getToggleWith()
public void setToggleWith(String pToggleWith)
public boolean isVisibleIfPublished()
isVisibleIfPublished in class XmlGroupValuepublic void setVisibleIfPublished(Boolean pVisibleIfPublished)
Copyright © 2014–2015 eaudefrance. All rights reserved.