Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: fix bugs 186746 Support the extend function for element type property

- Summary:

Support the "extend" function for properties like access control, sort element, etc. For example, if cube1 extends cube2 and the user want to set permission for cube1.accessControl1, cube1 first copies cube2.accessControls then change values locally.

- Bugzilla Bug (s) Resolved: 186746

- Description:

1. Refactored MemberRef and ComplexPropertyCommand and cleans codes.

2. Added new ContentElementCommand.

3. Revised PropertyCommand, ComplexPropertyCommand accordingly.

4. Added new test cases.

- Tests Description :

JUnit test

- Files Edited:

/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/golden/ElementExporterTestLibrary_golden_15.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/input/ExportXtab.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/input/ExportXtabLib.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/OdaCubeParseTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/CubeParserTest_golden.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/CubeParserTest_golden_1.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/OdaCubeParserTest_golden.xml
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/activity/ActivityStack.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/activity/SimpleRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/api/JointDataSetHandle.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/api/MemberHandle.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/api/PropertyHandle.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/AbstractContentCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/AbstractPropertyCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ComplexPropertyCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ContentCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/PropertyCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/PropertyListRecord.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/CachedMemberRef.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/ContainerContext.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/DesignElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/MemberRef.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/core/Module.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/elements/AccessControl.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/elements/FilterConditionElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/elements/SortElement.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/parser/ReportElementState.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/util/ModelUtil.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/writer/ModuleWriter.java



- Files Added:

/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/CubeParserTest_golden_2.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeAccessControl_golden_1.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeAccessControl_golden_2.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeAccessControl_golden_3.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeAccessControl_golden_4.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeAccessControl_golden_5.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeParserTest_extends_golden_1.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeParserTest_extends_golden_2.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularCubeParserTest_extends_golden_3.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularLevelAccessControl_golden_1.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularLevelAccessControl_golden_2.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularLevelAccessControl_golden_3.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/TabularLevelAccessControl_golden_4.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/input/CubeLibrary.xml
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/input/CubeParserTest_3.xml
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ContentElementCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ContentElementInfo.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/elements/ContentElement.java



- Files Deleted:

/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/ElementContentCommand.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/EventTarget.java
/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/command/SimplePropertyListRecord.java



- Notes to Build Team:


- Notes to Developers:



- Notes to QA:



- Notes to Documentation:

 

Rick Lu
Actuate Software Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx


Back to the top