Commit 55939526 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added target arrow


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1185 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0a1e75b
......@@ -135,6 +135,108 @@ class Arrow:
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'mode' : 'r' },
# Target Source reference
{ 'id' : 'target_source_title',
'description' : 'The title of the target source of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceTitle', '_categoryGetSourceTitle'),
'mode' : 'w' },
{ 'id' : 'target_source_id',
'description' : 'The id of the target source of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceId', '_categoryGetSourceId' ),
'mode' : 'w' },
{ 'id' : 'target_source_relative_url',
'description' : 'The relative url of the target destination of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceRelativeUrl', '_categoryGetSourceRelativeUrl' ),
'mode' : 'w' },
{ 'id' : 'target_source_person_title',
'description' : 'The title of the target source person of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source',),
'acquisition_portal_type' : ('Person'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('getSourcePersonTitle', ),
'mode' : 'r' },
{ 'id' : 'target_source_organisation_title',
'description' : 'The title of the target source organisation of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source',),
'acquisition_portal_type' : ('Organisation'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('getSourceOrganisationTitle', ),
'mode' : 'r' },
# Destination reference
{ 'id' : 'target_destination_title',
'description' : 'The title of the target destination of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationTitle', '_categoryGetDestinationTitle' ),
'mode' : 'w' },
{ 'id' : 'target_destination_id',
'description' : 'The id of the target destination of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationId', '_categoryGetDestinationId' ),
'mode' : 'w' },
{ 'id' : 'target_destination_relative_url',
'description' : 'The relative url of the target destination of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationRelativeUrl', '_categoryGetDestinationRelativeUrl' ),
'mode' : 'w' },
{ 'id' : 'target_destination_person_title',
'description' : 'The title of the target destination person of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination',),
'acquisition_portal_type' : ('Person'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('getDestinationPersonTitle', ),
'mode' : 'r' },
{ 'id' : 'target_destination_organisation_title',
'description' : 'The title of the target destination organisation of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination',),
'acquisition_portal_type' : ('Organisation'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('getDestinationOrganisationTitle', ),
'mode' : 'r' },
# Source decision reference
{ 'id' : 'source_decision_title',
'description' : 'The title of the source decision of this movement',
......@@ -259,6 +361,68 @@ class Arrow:
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetDestinationSectionRelativeUrl', ),
'mode' : 'w' },
# Source section reference
{ 'id' : 'target_source_section_title',
'description' : 'The title of the target source section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceSectionTitle', '_categoryGetSourceSectionTitle' ),
'mode' : 'w' },
{ 'id' : 'target_source_section_id',
'description' : 'The id of the target source section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceSectionId', '_categoryGetSourceSectionId' ),
'mode' : 'w' },
{ 'id' : 'target_source_section_relative_url',
'description' : 'The relative url of the target source section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_source_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetSourceSectionRelativeUrl', '_categoryGetSourceSectionRelativeUrl' ),
'mode' : 'w' },
# Destination section reference
{ 'id' : 'target_destination_section_title',
'description' : 'The title of the target destination section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationSectionTitle', '_categoryGetDestinationSectionTitle' ),
'mode' : 'w' },
{ 'id' : 'target_destination_section_id',
'description' : 'The id of the target destination section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationSectionId', '_categoryGetDestinationSectionId'),
'mode' : 'w' },
{ 'id' : 'target_destination_section_relative_url',
'description' : 'The relative url of the target destination section of this movement',
'type' : 'string',
'acquisition_base_category' : ('target_destination_section',),
'acquisition_portal_type' : node_type_list,
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetTargetDestinationSectionRelativeUrl', '_categoryGetDestinationSectionRelativeUrl' ),
'mode' : 'w' },
# Source administration reference
{ 'id' : 'source_administration_title',
'description' : 'The title of the source administration of this movement',
......@@ -547,8 +711,10 @@ class Arrow:
)
_categories = ( 'source', 'destination',
'source_decision', 'destination_decision',
'target_source', 'target_destination',
'source_section', 'destination_section',
'target_source_section', 'target_destination_section',
'source_decision', 'destination_decision',
'source_administration', 'destination_administration',
'source_payment', 'destination_payment',
'source_project', 'destination_project',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment