public class XmlGroupTable extends XmlGroup
| Modifier and Type | Field and Description |
|---|---|
protected List<XmlGroupTableValue> |
groupTableValues
xml sub group list
|
alwaysEditableVp, code, competence, displayAsDC, dynamicTitle, help, id, title, type, xmlType| Constructor and Description |
|---|
XmlGroupTable() |
XmlGroupTable(XmlGroupTable pXmlGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(XmlGroupTableValue pGroupTableValue)
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 XmlGroupTableValue |
findTableDetail(Integer pDetailTypeId,
XmlGroupTable pXmlGroupTable) |
static XmlGroupTableDetail |
findTableDetail(String pXmlGroupTableDetailId,
XmlGroupTable pXmlGroupTable,
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
|
List<XmlGroupTableValue> |
getGroupTableValues() |
boolean |
isEmpty()
return true if table is empty, false else
|
void |
replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed,
XmlGroupTableDetail pXmlGroupToDetail)
try to replace both group in tab
|
static SPEALotDto |
updateLotWithGroupData(XmlGroupTable pXmlGroupTable,
SPEALotDto pLot)
updates lot with group data
|
static XmlGroupTable |
updateXmlGroupTable(SPEALotDto pLot,
SPEALotDto pOldLot,
int pCompetenceId,
Boolean pHasViewRight,
XmlGroupTable pXmlGroupTable,
AbstractSpeaIndicatorsAction pAction)
updates the table group and returns it updated
|
clone, copy, 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 List<XmlGroupTableValue> groupTableValues
public XmlGroupTable()
public XmlGroupTable(XmlGroupTable pXmlGroup)
public static XmlGroupTable updateXmlGroupTable(SPEALotDto pLot, SPEALotDto pOldLot, int pCompetenceId, Boolean pHasViewRight, XmlGroupTable pXmlGroupTable, AbstractSpeaIndicatorsAction pAction) throws SispeaException
SispeaExceptionpublic static SPEALotDto updateLotWithGroupData(XmlGroupTable pXmlGroupTable, SPEALotDto pLot) throws SispeaException, SispeaInputException
pXmlGroupTabs - pLot - SispeaExceptionSispeaInputExceptionpublic static XmlGroupTableDetail findTableDetail(String pXmlGroupTableDetailId, XmlGroupTable pXmlGroupTable, boolean pCloneResult)
pXmlGroupTableDetailId - pXmlGroupTabs - pCloneResult - if true result is the clone, else it's the result its selfpublic static XmlGroupTableValue findTableDetail(Integer pDetailTypeId, XmlGroupTable pXmlGroupTable)
public void add(XmlGroupTableValue pGroupTableValue)
pGroupTableValue - public boolean isEmpty()
public boolean containsIndicator()
public void replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed, XmlGroupTableDetail pXmlGroupToDetail)
pXmlGroupDetailed - pXmlGroupToDetail - public List<XmlGroupTableDetailValue> findTableDetailValuesByCodes(List<String> pCodes)
pCodes - list of string codespXmlGroupTabs - tab list to look forpublic boolean containsData(DataDto pDatum)
pDatum - public List<XmlGroupTableValue> getGroupTableValues()
Copyright © 2014–2015 eaudefrance. All rights reserved.