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 jf...@apache.org on 2004/02/20 06:27:06 UTC

cvs commit: jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/portlet/impl PortletApplicationDefinitionImpl.java

jford       2004/02/19 21:27:06

  Modified:    services/registry/src/java/org/apache/jetspeed/om/portlet/impl
                        PortletApplicationDefinitionImpl.java
  Log:
  Added DublinCore getter/setter
  
  Revision  Changes    Path
  1.4       +23 -1     jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/portlet/impl/PortletApplicationDefinitionImpl.java
  
  Index: PortletApplicationDefinitionImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/services/registry/src/java/org/apache/jetspeed/om/portlet/impl/PortletApplicationDefinitionImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PortletApplicationDefinitionImpl.java	4 Feb 2004 21:17:50 -0000	1.3
  +++ PortletApplicationDefinitionImpl.java	20 Feb 2004 05:27:06 -0000	1.4
  @@ -58,6 +58,7 @@
   import java.util.ArrayList;
   import java.util.Collection;
   
  +import org.apache.jetspeed.om.common.DublinCore;
   import org.apache.jetspeed.om.common.portlet.MutablePortletApplication;
   import org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite;
   import org.apache.jetspeed.util.JetspeedObjectID;
  @@ -95,6 +96,11 @@
       private WebApplicationDefinition webApplication;
       /** PK of this Portlet Application's Web Application */
       protected long webApplicationId;
  +    
  +    /** DublinCore property */
  +    private DublinCore dublinCore;
  +    /** PK of this DublinCore */
  +    protected long dublinCoreId;
   
       /** Description */
       private String description;
  @@ -269,6 +275,22 @@
       public int getApplicationType()
       {
           return applicationType;
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.jetspeed.om.common.portlet.MutablePortletApplication#getDublinCore()
  +     */
  +    public DublinCore getDublinCore()
  +    {
  +        return dublinCore;
  +    }
  +
  +    /* (non-Javadoc)
  +     * @see org.apache.jetspeed.om.common.portlet.MutablePortletApplication#setDublinCore(org.apache.jetspeed.om.common.DublinCore)
  +     */
  +    public void setDublinCore(DublinCore dublinCore)
  +    {
  +        this.dublinCore = dublinCore;
       }
   
   }
  
  
  

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