public class XmlGroupTab extends XmlGroup
| Modifier and Type | Field and Description |
|---|---|
protected List<XmlGroupTable> |
groupTables
xml sub group list
|
alwaysEditableVp, code, competence, displayAsDC, dynamicTitle, help, id, title, type, xmlType| Constructor and Description |
|---|
XmlGroupTab()
Default constructor.
|
XmlGroupTab(XmlGroupTab pXmlGroup)
copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(XmlGroupTable pGroupTable)
adds a groupTable to groupTablelist
|
boolean |
containsData(DataDto pDatum)
Returns true if this tab contains the data code
|
boolean |
containsIndicator()
return true if tab contains indicator
|
static XmlGroupTableDetail |
findTableDetail(String pXmlGroupTableDetailId,
List<XmlGroupTab> pXmlGroupTabs,
boolean pCloneResult)
return a table detail (or its clone if indicated) corresponding to id passed.
|
static XmlGroupTableDetailValue |
findTableDetailValueInTableDetail(String pTableDetailIdContainingValueDetailed,
ArrayList<XmlGroupTab> pXmlGroupTabs,
boolean pCloneResult)
return a table detail value (or its clone if indicated) corresponding to id passed.
|
static List<XmlGroupTableDetailValue> |
findTableDetailValuesByCodes(List<String> pCodes,
ArrayList<XmlGroupTab> pXmlGroupTabs)
return a list of detail values from codes
|
static XmlGroupTableValue |
findTableValueContainingDetail(Integer pDetailTypeId,
XmlGroupTab pXmlGroupTab) |
List<XmlGroupTable> |
getGroupTables() |
boolean |
isEmpty()
return true if tab is empty, false else
|
boolean |
isGeneralTab()
return true if tab is general tab, false else
|
void |
replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed,
XmlGroupTableDetail pXmlGroupToDetail)
try to replace vboth group in tab
|
static SPEALotDto |
updateLotWithGroupData(XmlGroupTab pXmlGroupTab,
SPEALotDto pLot)
updates lot with group data
|
static XmlGroupTab |
updateXmlGroupTab(SPEALotDto pLot,
SPEALotDto pOldLot,
int pCompetenceId,
Boolean pHasViewRight,
XmlGroupTab pXmlGroupTab,
AbstractSpeaIndicatorsAction pAction)
updates the tab 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, isIndicatorValue, isPriceDetail, isPriceValue, isSliceValue, isTaxeDetail, isTitleValue, isVariableValue, setCode, setCompetence, setDisplayAsDC, setDynamicTitle, setHelp, setId, setTitle, setType, setXmlTypeprotected List<XmlGroupTable> groupTables
public XmlGroupTab()
public XmlGroupTab(XmlGroupTab pXmlGroup)
public static XmlGroupTab updateXmlGroupTab(SPEALotDto pLot, SPEALotDto pOldLot, int pCompetenceId, Boolean pHasViewRight, XmlGroupTab pXmlGroupTab, AbstractSpeaIndicatorsAction pAction) throws SispeaException
SispeaExceptionpublic static SPEALotDto updateLotWithGroupData(XmlGroupTab pXmlGroupTab, SPEALotDto pLot) throws SispeaException, SispeaInputException
pXmlGroupTab - pLot - SispeaExceptionSispeaInputExceptionpublic static XmlGroupTableDetail findTableDetail(String pXmlGroupTableDetailId, List<XmlGroupTab> pXmlGroupTabs, boolean pCloneResult)
pXmlGroupTableDetailId - pXmlGroupTabs - pCloneResult - if true result is the clone, else it's the result its selfpublic static XmlGroupTableValue findTableValueContainingDetail(Integer pDetailTypeId, XmlGroupTab pXmlGroupTab)
public static XmlGroupTableDetailValue findTableDetailValueInTableDetail(String pTableDetailIdContainingValueDetailed, ArrayList<XmlGroupTab> pXmlGroupTabs, boolean pCloneResult)
pTableDetailIdContainingValueDetailed - pXmlGroupTabs - pCloneResult - if true result is the clone, else it's the result its selfpublic static List<XmlGroupTableDetailValue> findTableDetailValuesByCodes(List<String> pCodes, ArrayList<XmlGroupTab> pXmlGroupTabs)
pCodes - list of string codespXmlGroupTabs - tab list to look forpublic void add(XmlGroupTable pGroupTable)
pGroupTable - public boolean isGeneralTab()
isGeneralTab in class XmlGrouppublic boolean isEmpty()
public boolean containsIndicator()
public void replaceBoth(XmlGroupTableDetailValue pXmlGroupDetailed, XmlGroupTableDetail pXmlGroupToDetail)
pXmlGroupDetailed - pXmlGroupToDetail - public boolean containsData(DataDto pDatum)
pDatum - public List<XmlGroupTable> getGroupTables()
Copyright © 2014–2015 eaudefrance. All rights reserved.