Class Report
java.lang.Object
net.datenwerke.treedb.service.treedb.AbstractNode<AbstractReportManagerNode>
net.datenwerke.security.service.treedb.entities.SecuredAbstractNode<AbstractReportManagerNode>
net.datenwerke.rs.core.service.reportmanager.entities.AbstractReportManagerNode
net.datenwerke.rs.core.service.reportmanager.entities.reports.Report
- All Implemented Interfaces:
Serializable,DatasourceContainerProvider,ParameterContainerNode,HierarchicalSecurityTarget,Owneable,SecurityTarget
- Direct Known Subclasses:
BirtReport,CrystalReport,GridEditorReport,JasperReport,JxlsReport,SaikuReport,ScriptReport,TableReport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@GenerateDto(dtoPackage="net.datenwerke.rs.core.client.reportmanager.dto.reports",createDecorator=true,dtoImplementInterfaces=<error>,poso2DtoPostProcessors=Report2DtoPostProcessor.class,dto2PosoSupervisor=Dto2ReportSupervisor.class,dto2PosoPostProcessors=Dto2ReportPostProcessor.class,typeDescriptionMsg=ReportmanagerMessages.class,typeDescriptionKey="reportLabel",additionalFields={,,,,})
@EntityDiffGuides(guides=@EntityDiffGuide(name="report_identicalForExecution",ignoreId=true,ignoreVersion=true,whitelist={"parameterDefinitions","parameterInstances","datasourceContainer"}))
public abstract class Report
extends AbstractReportManagerNode
implements ParameterContainerNode, DatasourceContainerProvider
- See Also:
-
Field Summary
FieldsFields inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
FLAG_CONFIGURATION_PROTECTION, FLAG_WRITE_PROTECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameterDefinition(ParameterDefinition definition) Do not call directlyvoidaddParameterInstance(ParameterInstance instance) voidaddReportMetadata(ReportMetadata metadata) voidaddReportProperty(ReportProperty property) createNewVariant(Report adjustedReport) Creates a new variant of this report (or variant) with the changes given by adjustedReport.createTemporaryVariant(Report adjustedReport) Do not try to convert a temporary variant into a persistent one (rather create a new one).Returns the report property effective for the current report.getEffectiveReportStringPropertyValue(String name, Object defaultValue, Function<ReportStringProperty, Object> f) getKey()getName()<T extends ParameterDefinition<?>>
List<T> getParameterDefinitionsOfType(Class<T> type) getParameterDefinitions()may fail when in an unmanaged reportgetParameterInstanceFor(ParameterDefinition definition) getReportProperty(String name) getReportProperty(String propertyName, String defaultValue) Class<?> getType()Returns the Report's type (the classes simple name).getUuid()Deprecated.booleanhasReportMetadata(ReportMetadata metadata) booleanhasReportProperty(ReportProperty property) booleanisIdenticalForExecution(Report report) voidremoveParameterDefinition(ParameterDefinition paramter) voidremoveParameterInstance(ParameterInstance instance) voidremoveReportMetadata(ReportMetadata metadata) Do not call this method directly (use ReportService instead)voidremoveReportProperty(ReportProperty property) Do not call this method directly (use ReportService instead)voidreplaceWith(Report report, Injector injector) voidsetDatasourceContainer(DatasourceContainer datasourceContainer) voidsetDescription(String description) voidvoidvoidsetParameterDefinitions(List<ParameterDefinition> parameters) voidsetParameterInstances(Set<ParameterInstance> parameterInstances) voidsetPreviewImage(PreviewImage previewImage) voidsetReportMetadata(Set<ReportMetadata> reportMetadata) voidsetReportProperties(Set<ReportProperty> complexProperties) voidsetTemporaryVariantType(Class<?> temporaryVariantType) voidDeprecated.toString()booleanusesParameter(String key) Methods inherited from class net.datenwerke.rs.core.service.reportmanager.entities.AbstractReportManagerNode
getNodeName, getRootNodeNameMethods inherited from class net.datenwerke.security.service.treedb.entities.SecuredAbstractNode
getAcl, getOwner, getParentTarget, setAcl, setOwnerMethods inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
addChild, addChild, addFlag, clearFlags, equals, getBaseType, getChildren, getChildrenOfType, getChildrenSorted, getCreatedOn, getDeniedChildren, getDescendants, getDescendants, getFlags, getId, getIdOrOldTransient, getLastUpdated, getManagerClass, getOldTransientId, getOldTransientKey, getParent, getPosition, getRootLine, getSupportedChildren, getVersion, hasChildren, hasChildrenOfType, hasDescendantsOfType, hasFlag, hashCode, idsMatch, isAncestorOf, isConfigurationProtected, isFolder, isRoot, isUpdateLastUpdated, isWriteProtected, removeChild, removeFlag, setChildren, setConfigurationProtection, setCreatedOn, setFlags, setId, setLastUpdated, setOldTransientId, setOldTransientKey, setParent, setPosition, setUpdateLastUpdated, setVersion, setWriteProtection, wouldContainFlag
-
Field Details
-
ENTITY_DIFF_IDENTITCAL_FOR_EXECUTION
- See Also:
-
-
Constructor Details
-
Report
public Report()
-
-
Method Details
-
getType
Returns the Report's type (the classes simple name). -
getName
- Specified by:
getNamein classAbstractReportManagerNode
-
setName
-
getKey
-
setKey
-
setReportMetadata
-
getReportMetadata
-
addReportMetadata
-
hasReportMetadata
-
getReportMetadataByName
-
removeReportMetadata
Do not call this method directly (use ReportService instead)- Parameters:
metadata-- See Also:
-
getReportProperties
-
setReportProperties
-
addReportProperty
-
hasReportProperty
-
getEffectiveReportProperty
Returns the report property effective for the current report. I.e., If the report is a variant, if returns the variant's property if found. If not found, it returns the parent's property if found. If the report is not a variant, returns the report's property if found.- Parameters:
name- the name of the property- Returns:
- the report property applicable for the report
-
getEffectiveReportStringPropertyValue
-
removeReportProperty
Do not call this method directly (use ReportService instead)- Parameters:
property-- See Also:
-
getDatasourceContainer
- Specified by:
getDatasourceContainerin interfaceDatasourceContainerProvider
-
setDatasourceContainer
- Specified by:
setDatasourceContainerin interfaceDatasourceContainerProvider
-
getParameterDefinitions
- Specified by:
getParameterDefinitionsin interfaceParameterContainerNode
-
getParameterDefinitionsSafe
getParameterDefinitions()may fail when in an unmanaged report -
setParameterDefinitions
- Specified by:
setParameterDefinitionsin interfaceParameterContainerNode
-
addParameterDefinition
Do not call directly- Specified by:
addParameterDefinitionin interfaceParameterContainerNode
-
removeParameterDefinition
- Specified by:
removeParameterDefinitionin interfaceParameterContainerNode
-
getParameterInstances
- Specified by:
getParameterInstancesin interfaceParameterContainerNode
-
setParameterInstances
-
addParameterInstance
-
getPreviewImage
-
setPreviewImage
-
setDescription
-
getDescription
- Specified by:
getDescriptionin classAbstractReportManagerNode
-
createNewVariant
Creates a new variant of this report (or variant) with the changes given by adjustedReport.This method should only be called if you mean to store the variant as it is added to the parent's list of children
- Parameters:
adjustedReport-- See Also:
-
createTemporaryVariant
-
createTemporaryVariant
Do not try to convert a temporary variant into a persistent one (rather create a new one).- Parameters:
adjustedReport- the unmanaged report.- See Also:
-
replaceWith
-
getParamInstanceByDefinitionId
-
getParameterInstanceFor
-
removeParameterInstance
-
getParameterDefinitionByKey
-
getParameterDefinitionsOfType
-
usesParameter
-
isIdenticalForExecution
-
setUuid
Deprecated. -
getUuid
Deprecated. -
getReportPropertyByName
-
getReportProperty
-
getReportProperty
-
getTemporaryVariantType
-
setTemporaryVariantType
-
toString
- Overrides:
toStringin classAbstractNode<AbstractReportManagerNode>
-