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 dl...@apache.org on 2004/06/05 22:10:57 UTC

cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/om/common/portlet MutablePortletApplication.java

dlestrat    2004/06/05 13:10:57

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/om/common/portlet
                        MutablePortletApplication.java
  Log:
  User info J2 extension. See http://nagoya.apache.org/jira/browse/JS2-64
  
  Revision  Changes    Path
  1.2       +20 -8     jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/om/common/portlet/MutablePortletApplication.java
  
  Index: MutablePortletApplication.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/om/common/portlet/MutablePortletApplication.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MutablePortletApplication.java	5 Jun 2004 05:10:46 -0000	1.1
  +++ MutablePortletApplication.java	5 Jun 2004 20:10:57 -0000	1.2
  @@ -20,6 +20,7 @@
   
   import org.apache.jetspeed.om.common.GenericMetadata;
   import org.apache.jetspeed.om.common.UserAttribute;
  +import org.apache.jetspeed.om.common.UserAttributeRef;
   import org.apache.pluto.om.portlet.PortletApplicationDefinition;
   import org.apache.pluto.om.portlet.PortletDefinition;
   import org.apache.pluto.om.portlet.PortletDefinitionList;
  @@ -66,16 +67,27 @@
   
       /**
        * <p>Adds a user attribute to the user attribute set.</p>
  -     * @param name The user attribute name.
  -     * @param description The user attribute description.
  +     * @param userAttribute The user attribute.
        */
  -    void addUserAttribute(String name, String description);
  +    void addUserAttribute(UserAttribute userAttribute);
   
       /**
  -     * <p>Adds a user attribute to the user attribute set.</p>
  -     * @param userAttribute The user attribute.
  +     * <p>Sets a user-attribute-ref to the collection of user attribute refs associated
  +     * with this portlet application.</p>
        */
  -    void addUserAttribute(UserAttribute userAttribute);
  +    void setUserAttributeRefs(Collection userAttributeRefs);
  +    
  +    /**
  +     * <p>Gets the collection of user attribute refs associated
  +     * with this portlet application.</p>
  +     */
  +    Collection getUserAttributeRefs();
  +
  +    /**
  +     * <p>Adds a user attribute ref to the user attribute ref set.</p>
  +     * @param userAttributeRef The user attribute ref.
  +     */
  +    void addUserAttributeRef(UserAttributeRef userAttributeRef);
   
       /**
        * <p>Sets a user-attribute to the collection of user attributes associated
  
  
  

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