incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r126555 - /incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
Date Wed, 26 Jan 2005 23:07:59 GMT
Author: taylor
Date: Wed Jan 26 15:07:58 2005
New Revision: 126555

URL: http://svn.apache.org/viewcvs?view=rev&rev=126555
Log:
add properties
Modified:
   incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java

Modified: incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
Url: http://svn.apache.org/viewcvs/incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java?view=diff&rev=126555&p1=incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java&r1=126554&p2=incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java&r2=126555
==============================================================================
--- incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
(original)
+++ incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
Wed Jan 26 15:07:58 2005
@@ -16,6 +16,7 @@
 package org.apache.portals.graffito.model;
 
 import java.util.Date;
+import java.util.Map;
 
 
 /**
@@ -134,5 +135,28 @@
      */
     String[] getPath();
     
+
+    /**
+     * Get a map of all non standard properties for this object
+     *
+     * @return a map of properties
+     */
+    Map getProperties();
+
+    /**
+     * Get a named property for this object
+     *
+     * @param name of the property
+     * @return the property as an string
+     */
+    String getProperty(String name);
+
+    /**
+     * Sets a named property for this string
+     *
+     * @param name
+     * @param property
+     */
+    void setProperty(String name, String property);     
     
 }

Mime
View raw message