Package fr.becpg.repo.report.entity
Class EntityReportParameters
java.lang.Object
fr.becpg.repo.report.entity.EntityReportParameters
EntityReportParameters class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static org.apache.commons.logging.Logstatic final StringConstantPARAM_COMPONENT_DATALISTS_TO_EXTRACT="componentDatalistsToExtract"static final StringConstantPARAM_ENTITY_DATALISTS_TO_EXTRACT="entityDatalistsToExtract"static final StringConstantPARAM_EXTRACT_DATALIST_IMAGE="extractDatalistImage"static final StringConstantPARAM_EXTRACT_IN_MULTILEVEL="extractInMultiLevel"static final StringConstantPARAM_EXTRACT_NON_EFFECTIVE_COMPONENT="extractNonEffectiveComponent"static final StringConstantPARAM_MAX_COMPOLIST_LEVEL_TO_EXTRACT="maxCompoListLevelToExtract"private Stringprivate String -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for EntityReportParameters.Constructor for EntityReportParameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityReportParameterscreateFromJSON(String jsonString) createFromJSON.Getter for the fielditerationKey.Getter for the fieldparameters.Getter for the fieldpreferences.getReportNameFormat(String defaultNameFormat) Getter for the fieldreportNameFormat.getReportTitleFormat(String defaultTitleFormat) Getter for the fieldreportTitleFormat.booleanisEmpty()isEmpty.booleanisParametersEmpty.booleanmatch(EntityReportParameters source) match.voidsetIterationKey(String iterationKey) Setter for the fielditerationKey.voidSetter for the fieldparameters.voidsetReportNameFormat(String reportNameFormat) Setter for the fieldreportNameFormat.voidsetReportTitleFormat(String reportTitleFormat) Setter for the fieldreportTitleFormat.toJSONString.toString()voidupdateDataSource(org.dom4j.Element xmlDataSource) updateDataSource.
-
Field Details
-
PARAM_COMPONENT_DATALISTS_TO_EXTRACT
ConstantPARAM_COMPONENT_DATALISTS_TO_EXTRACT="componentDatalistsToExtract"- See Also:
-
PARAM_ENTITY_DATALISTS_TO_EXTRACT
ConstantPARAM_ENTITY_DATALISTS_TO_EXTRACT="entityDatalistsToExtract"- See Also:
-
PARAM_EXTRACT_IN_MULTILEVEL
ConstantPARAM_EXTRACT_IN_MULTILEVEL="extractInMultiLevel"- See Also:
-
PARAM_EXTRACT_NON_EFFECTIVE_COMPONENT
ConstantPARAM_EXTRACT_NON_EFFECTIVE_COMPONENT="extractNonEffectiveComponent"- See Also:
-
PARAM_MAX_COMPOLIST_LEVEL_TO_EXTRACT
ConstantPARAM_MAX_COMPOLIST_LEVEL_TO_EXTRACT="maxCompoListLevelToExtract"- See Also:
-
PARAM_EXTRACT_DATALIST_IMAGE
ConstantPARAM_EXTRACT_DATALIST_IMAGE="extractDatalistImage"- See Also:
-
JSON_PARAM_PARAMS
- See Also:
-
JSON_PARAM_PROP
- See Also:
-
JSON_PARAM_PREFS
- See Also:
-
JSON_PROP_ID
- See Also:
-
JSON_PROP_VALUE
- See Also:
-
JSON_PROP_NODEREF
- See Also:
-
JSON_PARAM_ITERATIONKEY
- See Also:
-
JSON_PARAM_NAMEFORMAT
- See Also:
-
JSON_PARAM_TITLEFORMAT
- See Also:
-
logger
private static org.apache.commons.logging.Log logger -
iterationKey
-
preferences
-
reportNameFormat
-
reportTitleFormat
-
parameters
-
-
Constructor Details
-
EntityReportParameters
Constructor for EntityReportParameters.
- Parameters:
config- aEntityReportParametersobject.
-
EntityReportParameters
public EntityReportParameters()Constructor for EntityReportParameters.
-
-
Method Details
-
getPreferences
Getter for the field
preferences.- Returns:
- a
Mapobject.
-
setReportNameFormat
Setter for the field
reportNameFormat.- Parameters:
reportNameFormat- aStringobject.
-
setReportTitleFormat
Setter for the field
reportTitleFormat.- Parameters:
reportTitleFormat- aStringobject.
-
getReportNameFormat
Getter for the field
reportNameFormat. -
getReportTitleFormat
Getter for the field
reportTitleFormat. -
getIterationKey
Getter for the field
iterationKey.- Returns:
- a
Stringobject.
-
setIterationKey
Setter for the field
iterationKey.- Parameters:
iterationKey- aStringobject.
-
getParameters
Getter for the field
parameters.- Returns:
- a
Listobject.
-
setParameters
Setter for the field
parameters.- Parameters:
parameters- aListobject.
-
isParametersEmpty
public boolean isParametersEmpty()isParametersEmpty.
- Returns:
- a boolean.
-
isEmpty
public boolean isEmpty()isEmpty.
- Returns:
- a boolean.
-
updateDataSource
public void updateDataSource(org.dom4j.Element xmlDataSource) updateDataSource.
- Parameters:
xmlDataSource- aElementobject.
-
createFromJSON
createFromJSON.
- Parameters:
jsonString- aStringobject.- Returns:
- a
EntityReportParametersobject.
-
toJSONString
toJSONString.
- Returns:
- a
Stringobject.
-
match
match.
- Parameters:
source- aEntityReportParametersobject.- Returns:
- a boolean.
-
toString
-