dlestrat    2004/04/25 09:33:22

  Modified:    components/registry/src/java repository_registry.xml
  Log:
  This is a start at implementing PLT.17.2 Accessing User Attributes.
  
  Revision  Changes    Path
  1.14      +53 -6     
jakarta-jetspeed-2/components/registry/src/java/repository_registry.xml
  
  Index: repository_registry.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/registry/src/java/repository_registry.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- repository_registry.xml   24 Apr 2004 19:05:54 -0000      1.13
  +++ repository_registry.xml   25 Apr 2004 16:33:22 -0000      1.14
  @@ -383,7 +383,7 @@
          >         
   
            <inverse-foreignkey field-ref="parentId"/>
  -      </collection-descriptor>
  +       </collection-descriptor>
         
          <collection-descriptor
            name="securityRoleRefSet"
  @@ -393,6 +393,16 @@
                 auto-retrieve = "true"
   
          >         
  +         <inverse-foreignkey field-ref="portletId"/>
  +      </collection-descriptor>
  +      
  +      <collection-descriptor
  +         name="userAttributeSet"
  +         element-class-ref="org.apache.jetspeed.om.impl.UserAttributeImpl"
  +         auto-delete="false"
  +              auto-update = "true"
  +              auto-retrieve = "true"
  +       >         
   
            <inverse-foreignkey field-ref="portletId"/>
         </collection-descriptor>
  @@ -404,7 +414,6 @@
                 auto-update = "true"
                 auto-retrieve = "true"
         >         
  -
            <inverse-foreignkey field-ref="parentId"/>
   
         </collection-descriptor>
  @@ -1270,7 +1279,7 @@
     
     <!-- 
      - S E C U R T I T Y   R O L E   R E F
  - -->
  +  -->
        <class-descriptor
          class="org.apache.jetspeed.om.impl.SecurityRoleRefImpl"
          proxy="dynamic"
  @@ -1318,10 +1327,48 @@
            <inverse-foreignkey field-ref="parentId"/>
   
         </collection-descriptor>     
  -
  +  
  +   </class-descriptor>
  +   
  +   <!-- 
  +   - U S E R  A T T R I B U T E
  +   -->
  +     <class-descriptor
  +       class="org.apache.jetspeed.om.impl.UserAttributeImpl"
  +       proxy="dynamic"
  +       table="USER_ATTRIBUTE"
  +   >
         
  +        <field-descriptor
  +         name="id"
  +         column="ID"
  +         jdbc-type="INTEGER"
  +         primarykey="true"
  +         autoincrement="true"
  +         access="anonymous"
  +         
  +      />
  +      
  +      <field-descriptor
  +         name="portletId"
  +         column="PORTLET_DEFINITION_ID"
  +         jdbc-type="INTEGER"
  +         access="anonymous"
   
  -  
  -  </class-descriptor>
  +      />
  +      
  +      <field-descriptor
  +         name="name"
  +         column="NAME"
  +         jdbc-type="VARCHAR"         
  +      />   
  +      
  +       <field-descriptor
  +         name="description"
  +         column="DESCRIPTION"
  +         jdbc-type="VARCHAR"         
  +      />
  +        
  +   </class-descriptor>
      
     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to