← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13558: switched to using interfaces for viewClasses, makes it easier to extend views

 

------------------------------------------------------------
revno: 13558
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-01-03 11:36:43 +0100
message:
  switched to using interfaces for viewClasses, makes it easier to extend views
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/BasicView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DetailedView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DimensionalView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ExportView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingBasicView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingDetailedView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingExportView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ShortNameView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/UuidView.java
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/WithoutOrganisationUnitsView.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/BasicView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/BasicView.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/BasicView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class BasicView
+public interface BasicView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DetailedView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DetailedView.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DetailedView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class DetailedView
+public interface DetailedView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DimensionalView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DimensionalView.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/DimensionalView.java	2014-01-03 10:36:43 +0000
@@ -28,6 +28,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-public class DimensionalView
+public interface DimensionalView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ExportView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ExportView.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ExportView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class ExportView
+public interface ExportView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingBasicView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingBasicView.java	2013-09-25 12:30:15 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingBasicView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class SharingBasicView extends BasicView
+public interface SharingBasicView extends BasicView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingDetailedView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingDetailedView.java	2013-09-25 12:30:15 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingDetailedView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class SharingDetailedView extends DetailedView
+public interface SharingDetailedView extends DetailedView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingExportView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingExportView.java	2013-09-25 12:30:15 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/SharingExportView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class SharingExportView extends ExportView
+public interface SharingExportView extends ExportView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ShortNameView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ShortNameView.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/ShortNameView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class ShortNameView extends BasicView
+public interface ShortNameView extends BasicView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/UuidView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/UuidView.java	2013-08-28 11:47:51 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/UuidView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class UuidView extends DetailedView
+public interface UuidView extends DetailedView
 {
 }

=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/WithoutOrganisationUnitsView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/WithoutOrganisationUnitsView.java	2013-12-10 19:08:51 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/view/WithoutOrganisationUnitsView.java	2014-01-03 10:36:43 +0000
@@ -31,6 +31,6 @@
 /**
  * @author Morten Olav Hansen <mortenoh@xxxxxxxxx>
  */
-public class WithoutOrganisationUnitsView extends BasicView
+public interface WithoutOrganisationUnitsView extends BasicView
 {
 }