public class BaseSDCRenderer
extends com.labvantage.sapphire.modules.configreport.renderer.BaseRenderer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPTION_SDC_CATEGORIES |
static java.lang.String |
OPTION_SDC_DETAILS |
static java.lang.String |
OPTION_SDC_SUMMARY |
static java.lang.String |
OPTION_TEMPLATES_ONLY |
static java.lang.String |
OPTIONID |
static java.lang.String |
OPTIONTITLE |
protected BaseSDCRO |
refSdcRO |
protected boolean |
reportCategories |
protected boolean |
reportDetails |
boolean |
reportSDIRoleMatrix
Flag indicates whether SDIRoleMatrix is to be included in the report or not
|
protected boolean |
reportSummary |
protected boolean |
reportTemplatesOnly |
protected BaseSDCRO |
sdcRO
The reference to the RO created by the Controller, that loads the SDI data
|
applicationRoot, chapterChanged, COLUMN_DISPLAYTITLE, COLUMN_OPTIONNO, COLUMN_SELECTEDVALUE, COLUMN_TYPE, COLUMN_VALUES, COLUMNVALUE_TYPE_DROPDOWN, COLUMNVALUE_TYPE_FOLDER, COLUMNVALUE_TYPE_TEXT, config, connection, database, diffOnly, folder, frames, ignoreDetailsDiffs, ignorePrimaryDiffs, includeDiffReport, refRO, sapphireConnection, sdisIncluded, sectionChangeInfo, sourceRO
Constructor and Description |
---|
BaseSDCRenderer() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkIfIgnore(BaseSDCRO sdcRO,
BaseSDCRO refSdcRO) |
void |
createXMLReport() |
ConfigReportContent |
getCustomSectionContent(java.lang.String customSectionName)
If the custom renderer has any non-SDI sections, override this method and return appropriate content for
each custom section.
|
java.util.ArrayList |
getCustomSectionNames()
If the custom renderer has any non-SDI sections, override this method and return an ArrayList with
the section names for the custom sections.
|
PropertyListCollection |
getOptions() |
static java.lang.String |
getPrimaryValue(SDIData sdiData,
java.lang.String columnName) |
BaseSDCRO |
getReferenceRO() |
SDIData |
getReferenceSDIData() |
java.util.ArrayList |
getSDIsIncluded() |
ConfigReportContent |
getSectionContent(BaseSDCRO sdcRO,
BaseSDCRO refSdcRO,
TranslationProcessor translationProcessor) |
java.util.ArrayList |
getSectionList() |
java.util.ArrayList |
getSectionTitleList() |
BaseSDCRO |
getSourceRO() |
SDIData |
getSourceSDIData() |
protected ConfigReportContent |
getSpecialContent(BaseSDCRO sdcRO,
BaseSDCRO refSdcRO,
TranslationProcessor translationProcessor) |
protected ConfigReportContent |
getSpecialContent(BaseSDCRO sdcRO,
TranslationProcessor translationProcessor) |
protected ConfigReportContent |
getSpecialContent(SDIData sdiData,
SDIData refSDIData,
TranslationProcessor translationProcessor) |
protected ConfigReportContent |
getSpecialContent(SDIData sdiData,
TranslationProcessor translationProcessor) |
boolean |
hasChapterChanged() |
boolean |
hasCustomSections()
If the custom renderer has any non-SDI sections, override this method and return true
|
protected boolean |
ignoreDiff(java.lang.String currCol) |
void |
initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection,
com.labvantage.sapphire.modules.configreport.ro.BaseRO srcRO,
com.labvantage.sapphire.modules.configreport.ro.BaseRO refRO) |
void |
initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection,
PropertyList config,
com.labvantage.sapphire.modules.configreport.ro.BaseRO srcRO,
java.util.HashMap sdisIncluded,
boolean includeSDIRoleMatrix) |
void |
initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection,
PropertyList config,
BaseSDCRO srcRO,
BaseSDCRO refRO,
java.util.HashMap sdisIncluded,
boolean includeDiffReport,
boolean includeSDIRoleMatrix)
Internal method.
|
DataSet |
removeAuditColumns(DataSet orig) |
void |
renderAttributes(ConfigReportContent content) |
protected ConfigReportContent |
renderDetails(boolean reportDetailsTables,
java.lang.String hideValueFor,
TranslationProcessor translationProcessor)
t
This method can be called by the getSectionContent() to render the complete details of the SDI.
|
protected void |
renderDetails(ConfigReportContent content,
boolean reportDetailsTables,
TranslationProcessor translationProcessor)
This method can be called by the getSectionContent() to render the complete details of the SDI.
|
void |
setIgnoreDiffs(PropertyListCollection ignorePrimaryDiffs,
PropertyListCollection ignoreDetailsDiffs) |
void |
setOptions(DataSet options) |
void |
setOptions(PropertyListCollection options) |
createSubSectionInfo, getIgnoreDetailsDiffCols, getSectionChangeInfo, hasSectionChanged, initialize, initialize, isDeletedChapter, isNewChapter, updateSectionChangeInfo
getAccessorErrorIds, getAccessorErrorMsgs, getActionProcessor, getConfigurationProcessor, getConnectionid, getConnectionId, getConnectionProcessor, getDAMProcessor, getDepartmentList, getHttpProcessor, getQueryProcessor, getRakFile, getSDCProcessor, getSDIProcessor, getSequenceProcessor, getTranslationProcessor, setConnectionId, setLanguage, setRakFile
protected boolean reportSummary
protected boolean reportCategories
protected boolean reportDetails
protected boolean reportTemplatesOnly
public static final java.lang.String OPTION_SDC_SUMMARY
public static final java.lang.String OPTION_SDC_DETAILS
public static final java.lang.String OPTION_TEMPLATES_ONLY
public static final java.lang.String OPTION_SDC_CATEGORIES
protected BaseSDCRO sdcRO
protected BaseSDCRO refSdcRO
public boolean reportSDIRoleMatrix
public static final java.lang.String OPTIONID
public static final java.lang.String OPTIONTITLE
public void initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection, PropertyList config, BaseSDCRO srcRO, BaseSDCRO refRO, java.util.HashMap sdisIncluded, boolean includeDiffReport, boolean includeSDIRoleMatrix)
sapphireConnection
- config
- srcRO
- sdisIncluded
- public void initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection, PropertyList config, com.labvantage.sapphire.modules.configreport.ro.BaseRO srcRO, java.util.HashMap sdisIncluded, boolean includeSDIRoleMatrix)
public void initialize(com.labvantage.sapphire.services.SapphireConnection sapphireConnection, com.labvantage.sapphire.modules.configreport.ro.BaseRO srcRO, com.labvantage.sapphire.modules.configreport.ro.BaseRO refRO)
public BaseSDCRO getSourceRO()
public BaseSDCRO getReferenceRO()
public SDIData getSourceSDIData()
public SDIData getReferenceSDIData()
public PropertyListCollection getOptions()
public void setOptions(DataSet options)
public void setIgnoreDiffs(PropertyListCollection ignorePrimaryDiffs, PropertyListCollection ignoreDetailsDiffs)
public void setOptions(PropertyListCollection options)
public ConfigReportContent getSectionContent(BaseSDCRO sdcRO, BaseSDCRO refSdcRO, TranslationProcessor translationProcessor) throws SapphireException
SapphireException
protected ConfigReportContent getSpecialContent(BaseSDCRO sdcRO, BaseSDCRO refSdcRO, TranslationProcessor translationProcessor) throws SapphireException
SapphireException
protected ConfigReportContent getSpecialContent(SDIData sdiData, SDIData refSDIData, TranslationProcessor translationProcessor) throws SapphireException
SapphireException
protected ConfigReportContent getSpecialContent(BaseSDCRO sdcRO, TranslationProcessor translationProcessor) throws SapphireException
SapphireException
protected ConfigReportContent getSpecialContent(SDIData sdiData, TranslationProcessor translationProcessor) throws SapphireException
SapphireException
public boolean hasChapterChanged()
hasChapterChanged
in class com.labvantage.sapphire.modules.configreport.renderer.BaseRenderer
public void createXMLReport() throws SapphireException
SapphireException
public java.util.ArrayList getSDIsIncluded()
public java.util.ArrayList getSectionList()
getSectionList
in class com.labvantage.sapphire.modules.configreport.renderer.BaseRenderer
public java.util.ArrayList getSectionTitleList()
getSectionTitleList
in class com.labvantage.sapphire.modules.configreport.renderer.BaseRenderer
public boolean hasCustomSections()
public java.util.ArrayList getCustomSectionNames()
public ConfigReportContent getCustomSectionContent(java.lang.String customSectionName)
customSectionName
- - The name of the custom section to be renderered by this methodpublic static java.lang.String getPrimaryValue(SDIData sdiData, java.lang.String columnName)
protected void renderDetails(ConfigReportContent content, boolean reportDetailsTables, TranslationProcessor translationProcessor)
reportDetailsTables
- protected ConfigReportContent renderDetails(boolean reportDetailsTables, java.lang.String hideValueFor, TranslationProcessor translationProcessor)
reportDetailsTables
- protected boolean ignoreDiff(java.lang.String currCol)
public void renderAttributes(ConfigReportContent content)