chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1022438 - /incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java
Date Thu, 14 Oct 2010 09:19:15 GMT
Author: fmui
Date: Thu Oct 14 09:19:15 2010
New Revision: 1022438

URL: http://svn.apache.org/viewvc?rev=1022438&view=rev
Log:
- made some AbstractCmisService helper methods protected

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java?rev=1022438&r1=1022437&r2=1022438&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java
Thu Oct 14 09:19:15 2010
@@ -1120,7 +1120,7 @@ public abstract class AbstractCmisServic
 
     // --- helpers ---
 
-    private String getStringProperty(ObjectData object, String name) {
+    protected String getStringProperty(ObjectData object, String name) {
         PropertyData<?> property = object.getProperties().getProperties().get(name);
         if (property instanceof PropertyString) {
             return ((PropertyString) property).getFirstValue();
@@ -1128,7 +1128,7 @@ public abstract class AbstractCmisServic
         return null;
     }
 
-    private String getIdProperty(ObjectData object, String name) {
+    protected String getIdProperty(ObjectData object, String name) {
         PropertyData<?> property = object.getProperties().getProperties().get(name);
         if (property instanceof PropertyId) {
             return ((PropertyId) property).getFirstValue();
@@ -1136,7 +1136,7 @@ public abstract class AbstractCmisServic
         return null;
     }
 
-    private GregorianCalendar getDateTimeProperty(ObjectData object, String name) {
+    protected GregorianCalendar getDateTimeProperty(ObjectData object, String name) {
         PropertyData<?> property = object.getProperties().getProperties().get(name);
         if (property instanceof PropertyDateTime) {
             return ((PropertyDateTime) property).getFirstValue();
@@ -1144,7 +1144,7 @@ public abstract class AbstractCmisServic
         return null;
     }
 
-    private Boolean getBooleanProperty(ObjectData object, String name) {
+    protected Boolean getBooleanProperty(ObjectData object, String name) {
         PropertyData<?> property = object.getProperties().getProperties().get(name);
         if (property instanceof PropertyBoolean) {
             return ((PropertyBoolean) property).getFirstValue();
@@ -1152,7 +1152,7 @@ public abstract class AbstractCmisServic
         return null;
     }
 
-    private BigInteger getIntegerProperty(ObjectData object, String name) {
+    protected BigInteger getIntegerProperty(ObjectData object, String name) {
         PropertyData<?> property = object.getProperties().getProperties().get(name);
         if (property instanceof PropertyInteger) {
             return ((PropertyInteger) property).getFirstValue();



Mime
View raw message