You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by ps...@apache.org on 2010/11/30 15:09:45 UTC

svn commit: r1040532 - in /incubator/wookie/trunk/src/org/apache/wookie: ./ beans/ beans/jcr/ beans/jcr/impl/ beans/jpa/ beans/jpa/impl/

Author: psharples
Date: Tue Nov 30 14:09:44 2010
New Revision: 1040532

URL: http://svn.apache.org/viewvc?rev=1040532&view=rev
Log:
removed/changed references to forum/posts

Removed:
    incubator/wookie/trunk/src/org/apache/wookie/beans/IPost.java
    incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/impl/PostImpl.java
    incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/impl/PostImpl.java
Modified:
    incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/JCRPersistenceManager.java
    incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/wookie-schema.cnd
    incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/JPAPersistenceManager.java
    incubator/wookie/trunk/src/org/apache/wookie/messages.properties

Modified: incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/JCRPersistenceManager.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/JCRPersistenceManager.java?rev=1040532&r1=1040531&r2=1040532&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/JCRPersistenceManager.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/JCRPersistenceManager.java Tue Nov 30 14:09:44 2010
@@ -59,7 +59,6 @@ import org.apache.wookie.beans.ILicense;
 import org.apache.wookie.beans.IName;
 import org.apache.wookie.beans.IParam;
 import org.apache.wookie.beans.IParticipant;
-import org.apache.wookie.beans.IPost;
 import org.apache.wookie.beans.IPreference;
 import org.apache.wookie.beans.IPreferenceDefault;
 import org.apache.wookie.beans.IServerFeature;
@@ -81,7 +80,6 @@ import org.apache.wookie.beans.jcr.impl.
 import org.apache.wookie.beans.jcr.impl.NameImpl;
 import org.apache.wookie.beans.jcr.impl.ParamImpl;
 import org.apache.wookie.beans.jcr.impl.ParticipantImpl;
-import org.apache.wookie.beans.jcr.impl.PostImpl;
 import org.apache.wookie.beans.jcr.impl.PreferenceDefaultImpl;
 import org.apache.wookie.beans.jcr.impl.PreferenceImpl;
 import org.apache.wookie.beans.jcr.impl.ServerFeatureImpl;
@@ -132,7 +130,6 @@ public class JCRPersistenceManager imple
         INTERFACE_TO_CLASS_MAP.put(IName.class, NameImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IParam.class, ParamImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IParticipant.class, ParticipantImpl.class);
-        INTERFACE_TO_CLASS_MAP.put(IPost.class, PostImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IPreference.class, PreferenceImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IPreferenceDefault.class, PreferenceDefaultImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IServerFeature.class, ServerFeatureImpl.class);
@@ -150,7 +147,6 @@ public class JCRPersistenceManager imple
         BEAN_INTERFACE_TO_CLASS_MAP.put(IAccessRequest.class, AccessRequestImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IApiKey.class, ApiKeyImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IParticipant.class, ParticipantImpl.class);
-        BEAN_INTERFACE_TO_CLASS_MAP.put(IPost.class, PostImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IServerFeature.class, ServerFeatureImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IWhitelist.class, WhitelistImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IWidget.class, WidgetImpl.class);

Modified: incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/wookie-schema.cnd
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/wookie-schema.cnd?rev=1040532&r1=1040531&r2=1040532&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/wookie-schema.cnd (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/beans/jcr/wookie-schema.cnd Tue Nov 30 14:09:44 2010
@@ -152,17 +152,6 @@
 - wookie:value (string) mandatory
 - wookie:email (string) mandatory
 
-[wookie:post] > nt:base, mix:referenceable
-- wookie:elementId (long)
-- wookie:userId (string) mandatory
-- wookie:title (string) mandatory
-- wookie:content (string)
-- wookie:publishDate (date) mandatory
-- wookie:updateDate (date)
-- wookie:sharedDataKey (string) mandatory
-- wookie:parent (string)
-- wookie:posts (reference) multiple
-
 [wookie:serverFeature] > nt:base
 - wookie:featureName (string) mandatory
 - wookie:className (string) mandatory

Modified: incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/JPAPersistenceManager.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/JPAPersistenceManager.java?rev=1040532&r1=1040531&r2=1040532&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/JPAPersistenceManager.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/beans/jpa/JPAPersistenceManager.java Tue Nov 30 14:09:44 2010
@@ -56,7 +56,6 @@ import org.apache.wookie.beans.ILicense;
 import org.apache.wookie.beans.IName;
 import org.apache.wookie.beans.IParam;
 import org.apache.wookie.beans.IParticipant;
-import org.apache.wookie.beans.IPost;
 import org.apache.wookie.beans.IPreference;
 import org.apache.wookie.beans.IPreferenceDefault;
 import org.apache.wookie.beans.IServerFeature;
@@ -78,7 +77,6 @@ import org.apache.wookie.beans.jpa.impl.
 import org.apache.wookie.beans.jpa.impl.NameImpl;
 import org.apache.wookie.beans.jpa.impl.ParamImpl;
 import org.apache.wookie.beans.jpa.impl.ParticipantImpl;
-import org.apache.wookie.beans.jpa.impl.PostImpl;
 import org.apache.wookie.beans.jpa.impl.PreferenceDefaultImpl;
 import org.apache.wookie.beans.jpa.impl.PreferenceImpl;
 import org.apache.wookie.beans.jpa.impl.ServerFeatureImpl;
@@ -127,7 +125,6 @@ public class JPAPersistenceManager imple
         INTERFACE_TO_CLASS_MAP.put(IName.class, NameImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IParam.class, ParamImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IParticipant.class, ParticipantImpl.class);
-        INTERFACE_TO_CLASS_MAP.put(IPost.class, PostImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IPreference.class, PreferenceImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IPreferenceDefault.class, PreferenceDefaultImpl.class);
         INTERFACE_TO_CLASS_MAP.put(IServerFeature.class, ServerFeatureImpl.class);
@@ -145,7 +142,6 @@ public class JPAPersistenceManager imple
         BEAN_INTERFACE_TO_CLASS_MAP.put(IAccessRequest.class, AccessRequestImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IApiKey.class, ApiKeyImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IParticipant.class, ParticipantImpl.class);
-        BEAN_INTERFACE_TO_CLASS_MAP.put(IPost.class, PostImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IServerFeature.class, ServerFeatureImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IWhitelist.class, WhitelistImpl.class);
         BEAN_INTERFACE_TO_CLASS_MAP.put(IWidget.class, WidgetImpl.class);
@@ -156,7 +152,6 @@ public class JPAPersistenceManager imple
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IAccessRequest.class, Integer.class);
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IApiKey.class, Integer.class);
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IParticipant.class, Integer.class);
-        BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IPost.class, Integer.class);
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IServerFeature.class, Integer.class);
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IWhitelist.class, Integer.class);
         BEAN_INTERFACE_TO_ID_FIELD_TYPE_MAP.put(IWidget.class, Integer.class);

Modified: incubator/wookie/trunk/src/org/apache/wookie/messages.properties
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/messages.properties?rev=1040532&r1=1040531&r2=1040532&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/messages.properties (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/messages.properties Tue Nov 30 14:09:44 2010
@@ -49,12 +49,6 @@ WidgetWebMenuServlet.2=No operation coul
 WidgetWebMenuServlet.3=Your API key has been sent to your email address
 WidgetWebMenuServlet.4=There was a problem with the API key service
 
-DefaultForumServiceImpl.0=Unauthorised
-DefaultForumServiceImpl.1=An error has occured
-DefaultForumServiceImpl.2=Error getting the treenodes in the discussion
-DefaultForumServiceImpl.3=Error getting a post in the dicussion
-DefaultForumServiceImpl.5=Error adding a new post to the discussion
-
 ManifestHelper.0=Unnamed Widget
 ManifestHelper.1=No Description
 ManifestHelper.2=Anonymous