Ignore:
Timestamp:
02/14/12 16:52:04 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Implementacao anexos, acls e delegacao de participantes

Location:
trunk/prototype/config
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/config/alarm.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar_alarm 
    33 
    4 [links] 
    5 participant = participant 
     4[model.depends] 
     5participant = participant.alarm 
    66 
    77[before.find] 
  • trunk/prototype/config/attachment.ini

    r5399 r5514  
    11service = PostgreSQL 
     2PostgreSQL.concept = attachment 
     3 
     4[model.hasOne] 
     5schedulable = schedulable.attachments 
    26 
    37[before.create] 
    4 beginWork = services/PostgreSQL.php 
    58encodeCreateAttachment = modules/calendar/interceptors/DBMapping.php 
    69 
     10[after.delete] 
     11deleteAttachmentDependences = modules/calendar/interceptors/DBMapping.php 
    712 
    8 [after.create] 
    9 endWork = services/PostgreSQL.php 
     13[PostgreSQL.mapping] 
     14id = "id" 
     15source = "source" 
     16type = "type" 
     17name = "name" 
     18size = "size" 
     19 
  • trunk/prototype/config/calendar.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar 
    33 
    4 [links] 
    5 signatures = calendarSignature 
     4[model.hasMany] 
     5signatures = calendarSignature.calendar 
    66 
    77[before.create] 
  • trunk/prototype/config/calendarSignature.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar_signature 
    33 
    4 [links] 
    5 calendar = calendar 
    6 calendarSignatureAlarms = calendarSignatureAlarm 
     4[model.hasMany] 
     5calendarSignatureAlarms = calendarSignatureAlarm.calendarSignature 
     6[model.depends] 
     7calendar = calendar.signatures 
    78 
    89[before.delete] 
  • trunk/prototype/config/calendarSignatureAlarm.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar_signature_alarm 
    33 
    4 [links] 
    5 calendarSignature = calendarSignature 
     4[model.depends] 
     5calendarSignature = calendarSignature.calendarSignatureAlarms 
    66 
    77[after.find] 
  • trunk/prototype/config/participant.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar_participant 
    33 
    4 [links] 
    5 user = user 
    6 schedulable = schedulable 
    7 alarms = alarm 
     4[model.hasOne] 
     5delegatedFrom = participant.delegateTo 
     6delegateTo = participant.delegatedFrom 
     7 
     8[model.hasMany] 
     9alarms = alarm.participant 
     10 
     11[model.depends] 
     12user = user.participants 
     13schedulable = schedulable.participants 
    814 
    915[after.commit] 
     
    1218[PostgreSQL.mapping] 
    1319id = id 
    14 delegatedTo = delegated_to 
     20delegatedFrom = delegated_from 
    1521isOrganizer = is_organizer 
    1622isExternal = is_external 
     
    1824schedulable = object_id 
    1925user = user_info_id 
     26acl = acl 
     27receiveNotification = receive_notification 
  • trunk/prototype/config/repeat.ini

    r5437 r5514  
    11service = PostgreSQL 
    22 
    3 [links] 
    4 schedulable = schedulable 
     3[model.depends] 
     4schedulable = schedulable.repeat 
    55 
  • trunk/prototype/config/schedulable.ini

    r5437 r5514  
    22PostgreSQL.concept = calendar_object 
    33 
    4 [links] 
    5 participants = participant 
    6 repeat = repeat 
     4[model.hasMany] 
     5participants = participant.schedulable 
     6attachments = schedulableToAttachment.schedulable 
     7         
     8[model.hasOne] 
     9repeat = repeat.schedulable 
    710 
    811[before.create] 
  • trunk/prototype/config/user.ini

    r5437 r5514  
    99PostgreSQL.concept = calendar_ex_participant 
    1010 
    11 [links] 
    12 participants = participant 
     11[model.hasMany] 
     12participants = participant.user 
    1313 
    1414[PostgreSQL.before.create] 
Note: See TracChangeset for help on using the changeset viewer.