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 2004/07/02 15:38:02 UTC

cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity PortletEntityAccessComponent.java

weaver      2004/07/02 06:38:02

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/components/portletentity
                        PortletEntityAccessComponent.java
  Log:
  Methods added:
  Collection getPortletEntities(PortletDefintion)
  removePortletEntities(PortletDefinition)
  
  Revision  Changes    Path
  1.5       +25 -1     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java
  
  Index: PortletEntityAccessComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/components/portletentity/PortletEntityAccessComponent.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PortletEntityAccessComponent.java	23 Jun 2004 18:37:34 -0000	1.4
  +++ PortletEntityAccessComponent.java	2 Jul 2004 13:38:02 -0000	1.5
  @@ -15,6 +15,8 @@
    */
   package org.apache.jetspeed.components.portletentity;
   
  +import java.util.Collection;
  +
   import org.apache.jetspeed.om.common.portlet.MutablePortletEntity;
   import org.apache.jetspeed.om.page.Fragment;
   import org.apache.pluto.om.common.ObjectID;
  @@ -147,5 +149,27 @@
        * @throws PortletEntityNotStoredException
        */
   	void storePortletEntity(PortletEntity portletEntity) throws PortletEntityNotStoredException;
  +	
  +	/**
  +	 * 
  +	 * <p>
  +	 * getPortletEntities
  +	 * </p>
  +	 *
  +	 * @param portletDefinition
  +	 * @return
  +	 */
  +	Collection getPortletEntities(PortletDefinition portletDefinition);
  +	
  +	/**
  +	 * 
  +	 * <p>
  +	 * removePortletEntities
  +	 * </p>
  +	 *
  +	 * @param portletDefinition
  +	 * @throws PortletEntityNotDeletedException
  +	 */
  +	void removePortletEntities(PortletDefinition portletDefinition) throws PortletEntityNotDeletedException;
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org