You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2005/06/14 17:55:24 UTC
svn commit: r190621 -
/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Author: weaver
Date: Tue Jun 14 08:55:23 2005
New Revision: 190621
URL: http://svn.apache.org/viewcvs?rev=190621&view=rev
Log:
restored (sorry).
Added:
portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Added: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java?rev=190621&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java (added)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java Tue Jun 14 08:55:23 2005
@@ -0,0 +1,186 @@
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.components.portletentity;
+
+import java.io.IOException;
+import java.util.Collection;
+
+import org.apache.jetspeed.om.common.portlet.MutablePortletEntity;
+import org.apache.jetspeed.om.page.ContentFragment;
+import org.apache.jetspeed.om.page.Fragment;
+import org.apache.pluto.om.common.ObjectID;
+import org.apache.pluto.om.common.PreferenceSet;
+import org.apache.pluto.om.entity.PortletEntity;
+import org.apache.pluto.om.portlet.PortletDefinition;
+
+/**
+ * <p>
+ * PortletEntityAccessComponent
+ * </p>
+ *
+ * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
+ * @version $Id: PortletEntityAccessComponent.java,v 1.8 2005/04/29 13:59:46 weaver Exp $
+ *
+ */
+public interface PortletEntityAccessComponent
+{
+ /**
+ *
+ * <p>
+ * getPortletEntity
+ * </p>
+ *
+ * @param id
+ * @return
+ */
+ MutablePortletEntity getPortletEntity(ObjectID id);
+
+ MutablePortletEntity getPortletEntity(String id);
+
+ /**
+ *
+ * <p>
+ * generateEntityFromFragment
+ * </p>
+ *
+ * @param fragment
+ * @param principal
+ * @return
+ * @throws PortletEntityNotGeneratedException
+ */
+ MutablePortletEntity generateEntityFromFragment(ContentFragment fragment, String principal) throws PortletEntityNotGeneratedException;
+
+ /**
+ *
+ * <p>
+ * generateEntityFromFragment
+ * </p>
+ *
+ * @param fragment
+ * @return
+ * @throws PortletEntityNotGeneratedException
+ */
+ MutablePortletEntity generateEntityFromFragment(ContentFragment fragment) throws PortletEntityNotGeneratedException;
+
+ /**
+ *
+ * <p>
+ * generateEntityKey
+ * </p>
+ *
+ * @param fragment
+ * @param principal
+ * @return
+ */
+ ObjectID generateEntityKey(Fragment fragment, String principal);
+
+ /**
+ *
+ * <p>
+ * newPortletEntityInstance
+ * </p>
+ *
+ * @param portletDefinition
+ * @return
+ */
+ MutablePortletEntity newPortletEntityInstance(PortletDefinition portletDefinition);
+ MutablePortletEntity newPortletEntityInstance(PortletDefinition portletDefinition, String id);
+
+ /**
+ *
+ * <p>
+ * getPortletEntityForFragment
+ * </p>
+ *
+ * @param fragment
+ * @param principal
+ * @return
+ * @throws PortletEntityNotStoredException
+ */
+ MutablePortletEntity getPortletEntityForFragment(ContentFragment fragment, String principal) throws PortletEntityNotStoredException;
+
+ /**
+ *
+ * <p>
+ * getPortletEntityForFragment
+ * </p>
+ *
+ * @param fragment
+ * @return
+ * @throws PortletEntityNotStoredException
+ */
+ MutablePortletEntity getPortletEntityForFragment(ContentFragment fragment) throws PortletEntityNotStoredException;
+
+ /**
+ *
+ * <p>
+ * removePortletEntity
+ * </p>
+ *
+ * @param portletEntity
+ * @throws PortletEntityNotDeletedException
+ */
+ void removePortletEntity(PortletEntity portletEntity) throws PortletEntityNotDeletedException;
+
+ /**
+ *
+ * <p>
+ * removeFromCache
+ * </p>
+ * Removes a PortletEntity from the cache.
+ * @param entity
+ */
+ void removeFromCache(PortletEntity entity);
+
+ /**
+ *
+ * <p>
+ * storePortletEntity
+ * </p>
+ *
+ * @param portletEntity
+ * @throws PortletEntityNotStoredException
+ */
+ void storePortletEntity(PortletEntity portletEntity) throws PortletEntityNotStoredException;
+
+ /**
+ *
+ * <p>
+ * getPortletEntities
+ * </p>
+ *
+ * @param portletDefinition
+ * @return
+ */
+ Collection getPortletEntities(PortletDefinition portletDefinition);
+
+ Collection getPortletEntities( String portletUniqueName );
+
+ /**
+ *
+ * <p>
+ * removePortletEntities
+ * </p>
+ *
+ * @param portletDefinition
+ * @throws PortletEntityNotDeletedException
+ */
+ void removePortletEntities(PortletDefinition portletDefinition) throws PortletEntityNotDeletedException;
+
+
+ void storePreferenceSet(PreferenceSet prefSet, PortletEntity entity) throws IOException;
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: svn commit: r190621 -
/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Surendra Singhi <ss...@spikesource.com>.
"Scott T Weaver" <sc...@binary-designs.net> writes:
> I fixed this yesterday, so last nights build should have built successfully.
>
Hello Scott,
They did.
Cheers.
--
Surendra Singhi
http://www.spikesource.com
http://www.public.asu.edu/~sksinghi/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Santiago Gala <sa...@gmail.com>.
Forget it, the tomcat install here had a problem with the location of
shared/lib.
Sorry about the noise.
Regards
On 6/16/05, Santiago Gala <sg...@apache.org> wrote:
> El mié, 15-06-2005 a las 09:30 -0400, Scott T Weaver escribió:
> > I fixed this yesterday, so last nights build should have built successfully.
> >
>
> One hour ago, it built but the deployed jar failed with:
>
> 2005-06-15 21:19:19 StandardContext[/jetspeed]Exception starting filter
> AJAXFilter
> java.lang.NoClassDefFoundError: org/apache/jetspeed/ajax/AJAXException
>
> So the deployment is still broken, even if the build server does not
> detect it.
>
> Regards
>
> > -Scott
> >
> > > -----Original Message-----
> > > From: news [mailto:news@sea.gmane.org] On Behalf Of Surendra Singhi
> > > Sent: Tuesday, June 14, 2005 1:17 PM
> > > To: jetspeed-dev@jakarta.apache.org
> > > Subject: Re: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-
> > > api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAcc
> > > essComponent.java
> > >
> > > weaver@apache.org writes:
> > >
> > >
> > > Hello,
> > > I think there is some mistake in this patch somewhere, because it
> > > causing
> > > the build to fail.
> > > You might want to check the result at
> > >
> > > http://www.spikesource.com/spikewatch.logs/suse-92-
> > > i586/687/jetspeed/logs/jetspeed.build.maven.log
> > >
> > > the main URL is:
> > > http://www.spikesource.com/spikewatch/index.jsp?show=result-
> > > summary&category=all&platform=8
> > >
> > > Cheers.
> > >
> > > --
> > > Surendra Singhi
> > >
> > > http://www.spikesource.com
> > >
> > > http://www.public.asu.edu/~sksinghi/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >
> --
> VP and Chair, Apache Portals (http://portals.apache.org)
> Apache Software Foundation
>
>
> BodyID:109699365.2.n.logpart (stored separately)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
RE: svn commit: r190621 -
/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Santiago Gala <sg...@apache.org>.
El mié, 15-06-2005 a las 09:30 -0400, Scott T Weaver escribió:
> I fixed this yesterday, so last nights build should have built successfully.
>
One hour ago, it built but the deployed jar failed with:
2005-06-15 21:19:19 StandardContext[/jetspeed]Exception starting filter
AJAXFilter
java.lang.NoClassDefFoundError: org/apache/jetspeed/ajax/AJAXException
So the deployment is still broken, even if the build server does not
detect it.
Regards
> -Scott
>
> > -----Original Message-----
> > From: news [mailto:news@sea.gmane.org] On Behalf Of Surendra Singhi
> > Sent: Tuesday, June 14, 2005 1:17 PM
> > To: jetspeed-dev@jakarta.apache.org
> > Subject: Re: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-
> > api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAcc
> > essComponent.java
> >
> > weaver@apache.org writes:
> >
> >
> > Hello,
> > I think there is some mistake in this patch somewhere, because it
> > causing
> > the build to fail.
> > You might want to check the result at
> >
> > http://www.spikesource.com/spikewatch.logs/suse-92-
> > i586/687/jetspeed/logs/jetspeed.build.maven.log
> >
> > the main URL is:
> > http://www.spikesource.com/spikewatch/index.jsp?show=result-
> > summary&category=all&platform=8
> >
> > Cheers.
> >
> > --
> > Surendra Singhi
> >
> > http://www.spikesource.com
> >
> > http://www.public.asu.edu/~sksinghi/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
--
VP and Chair, Apache Portals (http://portals.apache.org)
Apache Software Foundation
RE: svn commit: r190621 -
/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Santiago Gala <sa...@gmail.com>.
El mié, 15-06-2005 a las 09:30 -0400, Scott T Weaver escribió:
> I fixed this yesterday, so last nights build should have built successfully.
>
One hour ago, it built but the deployed jar failed with:
2005-06-15 21:19:19 StandardContext[/jetspeed]Exception starting filter
AJAXFilter
java.lang.NoClassDefFoundError: org/apache/jetspeed/ajax/AJAXException
So the deployment is still broken, even if the build server does not
detect it.
Regards
> -Scott
>
> > -----Original Message-----
> > From: news [mailto:news@sea.gmane.org] On Behalf Of Surendra Singhi
> > Sent: Tuesday, June 14, 2005 1:17 PM
> > To: jetspeed-dev@jakarta.apache.org
> > Subject: Re: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-
> > api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAcc
> > essComponent.java
> >
> > weaver@apache.org writes:
> >
> >
> > Hello,
> > I think there is some mistake in this patch somewhere, because it
> > causing
> > the build to fail.
> > You might want to check the result at
> >
> > http://www.spikesource.com/spikewatch.logs/suse-92-
> > i586/687/jetspeed/logs/jetspeed.build.maven.log
> >
> > the main URL is:
> > http://www.spikesource.com/spikewatch/index.jsp?show=result-
> > summary&category=all&platform=8
> >
> > Cheers.
> >
> > --
> > Surendra Singhi
> >
> > http://www.spikesource.com
> >
> > http://www.public.asu.edu/~sksinghi/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
RE: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Scott T Weaver <sc...@binary-designs.net>.
I fixed this yesterday, so last nights build should have built successfully.
-Scott
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Surendra Singhi
> Sent: Tuesday, June 14, 2005 1:17 PM
> To: jetspeed-dev@jakarta.apache.org
> Subject: Re: svn commit: r190621 - /portals/jetspeed-2/trunk/jetspeed-
> api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAcc
> essComponent.java
>
> weaver@apache.org writes:
>
>
> Hello,
> I think there is some mistake in this patch somewhere, because it
> causing
> the build to fail.
> You might want to check the result at
>
> http://www.spikesource.com/spikewatch.logs/suse-92-
> i586/687/jetspeed/logs/jetspeed.build.maven.log
>
> the main URL is:
> http://www.spikesource.com/spikewatch/index.jsp?show=result-
> summary&category=all&platform=8
>
> Cheers.
>
> --
> Surendra Singhi
>
> http://www.spikesource.com
>
> http://www.public.asu.edu/~sksinghi/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: svn commit: r190621 -
/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
Posted by Surendra Singhi <ss...@spikesource.com>.
weaver@apache.org writes:
Hello,
I think there is some mistake in this patch somewhere, because it causing
the build to fail.
You might want to check the result at
http://www.spikesource.com/spikewatch.logs/suse-92-i586/687/jetspeed/logs/jetspeed.build.maven.log
the main URL is:
http://www.spikesource.com/spikewatch/index.jsp?show=result-summary&category=all&platform=8
Cheers.
--
Surendra Singhi
http://www.spikesource.com
http://www.public.asu.edu/~sksinghi/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org