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 StringConstantJSON_PARAM_ITERATIONKEY="iterationKey"private static final StringConstantJSON_PARAM_NAMEFORMAT="nameFormat"private static final StringConstantJSON_PARAM_PARAMS="params"private static final StringConstantJSON_PARAM_PREFS="prefs"private static final StringConstantJSON_PARAM_PROP="prop"private static final StringConstantJSON_PARAM_TITLEFORMAT="titleFormat"private static final StringConstantJSON_PROP_ID="id"private static final StringConstantJSON_PROP_NODEREF="nodeRef"private static final StringConstantJSON_PROP_VALUE="value"private static org.apache.commons.logging.LogConstantloggerstatic 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
ConstantJSON_PARAM_PARAMS="params"- See Also:
-
JSON_PARAM_PROP
ConstantJSON_PARAM_PROP="prop"- See Also:
-
JSON_PARAM_PREFS
ConstantJSON_PARAM_PREFS="prefs"- See Also:
-
JSON_PROP_ID
ConstantJSON_PROP_ID="id"- See Also:
-
JSON_PROP_VALUE
ConstantJSON_PROP_VALUE="value"- See Also:
-
JSON_PROP_NODEREF
ConstantJSON_PROP_NODEREF="nodeRef"- See Also:
-
JSON_PARAM_ITERATIONKEY
ConstantJSON_PARAM_ITERATIONKEY="iterationKey"- See Also:
-
JSON_PARAM_NAMEFORMAT
ConstantJSON_PARAM_NAMEFORMAT="nameFormat"- See Also:
-
JSON_PARAM_TITLEFORMAT
ConstantJSON_PARAM_TITLEFORMAT="titleFormat"- See Also:
-
logger
private static org.apache.commons.logging.Log loggerConstantlogger -
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
-