teamforge 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,96 +5,36 @@ module TeamForge
5
5
  ######################
6
6
  # DiscussionApp Messages
7
7
  ######################
8
- CreateForum2 = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- CreateForum = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- CreatePost2 = Struct.new(:session_id, :parent_post_id, :title, :message, :attachments, :cc_recipients) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- CreatePost = Struct.new(:session_id, :parent_post_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- CreatePrivateForum2 = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- CreatePrivateForum = Struct.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
38
- CreateTopic2 = Struct.new(:session_id, :forum_id, :title, :message, :attachments, :cc_recipients) do
39
- def send (server=nil, proxy=nil)
40
- TeamForge.request(self, server, proxy)
41
- end
42
- end
43
- CreateTopic = Struct.new(:session_id, :forum_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients) do
44
- def send (server=nil, proxy=nil)
45
- TeamForge.request(self, server, proxy)
46
- end
47
- end
48
- DeletePost = Struct.new(:session_id, :post_id) do
49
- def send (server=nil, proxy=nil)
50
- TeamForge.request(self, server, proxy)
51
- end
52
- end
53
- DeleteTopic = Struct.new(:session_id, :topic_id) do
54
- def send (server=nil, proxy=nil)
55
- TeamForge.request(self, server, proxy)
56
- end
57
- end
58
- FindPosts = Struct.new(:session_id, :query_string, :project_id, :search_attachments) do
59
- def send (server=nil, proxy=nil)
60
- TeamForge.request(self, server, proxy)
61
- end
62
- end
63
- GetForumList2 = Struct.new(:session_id, :project_id) do
64
- def send (server=nil, proxy=nil)
65
- TeamForge.request(self, server, proxy)
66
- end
67
- end
68
- GetForumList = Struct.new(:session_id, :project_id) do
69
- def send (server=nil, proxy=nil)
70
- TeamForge.request(self, server, proxy)
71
- end
72
- end
73
- GetPostList = Struct.new(:session_id, :topic_id) do
74
- def send (server=nil, proxy=nil)
75
- TeamForge.request(self, server, proxy)
76
- end
77
- end
78
- GetTopicList = Struct.new(:session_id, :forum_id) do
79
- def send (server=nil, proxy=nil)
80
- TeamForge.request(self, server, proxy)
81
- end
82
- end
8
+ CreateForum2 = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha)
9
+ CreateForum = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size)
10
+ CreatePost2 = TFSoapRequest.new(:session_id, :parent_post_id, :title, :message, :attachments, :cc_recipients)
11
+ CreatePost = TFSoapRequest.new(:session_id, :parent_post_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients)
12
+ CreatePrivateForum2 = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size, :email_posting, :email_monitoring, :web_posting, :captcha)
13
+ CreatePrivateForum = TFSoapRequest.new(:session_id, :project_id, :list_name, :forum_name, :description, :list_enabled, :prefix, :footer, :forum_type, :moderators, :trusted_users, :reply_to, :message_size)
14
+ CreateTopic2 = TFSoapRequest.new(:session_id, :forum_id, :title, :message, :attachments, :cc_recipients)
15
+ CreateTopic = TFSoapRequest.new(:session_id, :forum_id, :title, :message, :attachment_file_name, :attachment_mime_type, :attachment_file_id, :cc_recipients)
16
+ DeletePost = TFSoapRequest.new(:session_id, :post_id)
17
+ DeleteTopic = TFSoapRequest.new(:session_id, :topic_id)
18
+ FindPosts = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments)
19
+ GetForumList2 = TFSoapRequest.new(:session_id, :project_id)
20
+ GetForumList = TFSoapRequest.new(:session_id, :project_id)
21
+ GetPostList = TFSoapRequest.new(:session_id, :topic_id)
22
+ GetTopicList = TFSoapRequest.new(:session_id, :forum_id)
83
23
 
84
24
 
85
25
  ######################
86
26
  # DiscussionApp Types
87
27
  ######################
88
28
 
89
- AttachmentSoapDO = Struct.new(:attachment_file_id,:attachment_file_name,:attachment_mime_type,:created_by,:created_date,:id,:last_modified_by,:last_modified_date,:version, :attributes!)
90
- Forum2SoapDO = Struct.new(:captcha,:created_by,:created_date,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version,:web_posting, :attributes!)
91
- Forum2SoapRow = Struct.new(:captcha,:created_by,:created_on,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title,:web_posting, :attributes!)
92
- ForumSoapDO = Struct.new(:created_by,:created_date,:description,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version, :attributes!)
93
- ForumSoapRow = Struct.new(:created_by,:created_on,:description,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title, :attributes!)
94
- PostSoapDO = Struct.new(:content,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:reply_to_id,:status,:title,:version, :attributes!)
95
- PostSoapRow = Struct.new(:content,:created_by_user_name,:created_date,:forum_id,:id,:project_id,:reply_to_id,:status,:title,:topic_id, :attributes!)
96
- TopicSoapDO = Struct.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:last_post_by,:last_post_date,:parent_folder_id,:path,:project_id,:status,:title,:version,:view_count, :attributes!)
97
- TopicSoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
29
+ AttachmentSoapDO = TFType.new(:attachment_file_id,:attachment_file_name,:attachment_mime_type,:created_by,:created_date,:id,:last_modified_by,:last_modified_date,:version, :attributes!)
30
+ Forum2SoapDO = TFType.new(:captcha,:created_by,:created_date,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version,:web_posting, :attributes!)
31
+ Forum2SoapRow = TFType.new(:captcha,:created_by,:created_on,:description,:email_monitoring,:email_posting,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:message_size,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title,:web_posting, :attributes!)
32
+ ForumSoapDO = TFType.new(:created_by,:created_date,:description,:footer,:forum_type,:id,:last_modified_by,:last_modified_date,:list_enabled,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:reply_to,:title,:version, :attributes!)
33
+ ForumSoapRow = TFType.new(:created_by,:created_on,:description,:footer,:forum_type,:id,:is_list_enabled,:last_modified_by,:last_modified_on,:list_name,:parent_folder_id,:path,:prefix,:private_forum,:project_id,:replyto,:title, :attributes!)
34
+ PostSoapDO = TFType.new(:content,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:reply_to_id,:status,:title,:version, :attributes!)
35
+ PostSoapRow = TFType.new(:content,:created_by_user_name,:created_date,:forum_id,:id,:project_id,:reply_to_id,:status,:title,:topic_id, :attributes!)
36
+ TopicSoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:last_post_by,:last_post_date,:parent_folder_id,:path,:project_id,:status,:title,:version,:view_count, :attributes!)
37
+ TopicSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
98
38
 
99
39
  end # module DiscussionApp
100
40
 
@@ -5,114 +5,38 @@ module TeamForge
5
5
  ######################
6
6
  # DocumentApp Messages
7
7
  ######################
8
- CreateDocumentFolder = Struct.new(:session_id, :parent_id, :title, :description) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- CreateDocument = Struct.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_name, :mime_type, :file_id, :association_id, :association_desc) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- CreateDocumentWithUrl = Struct.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_url, :association_id, :association_desc) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- CreateReview = Struct.new(:session_id, :document_id, :version, :title, :description, :due_date, :required_reviewers, :optional_reviewers, :attach_document) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- DeleteDocumentFolder = Struct.new(:session_id, :folder_id) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- DeleteDocument = Struct.new(:session_id, :document_id) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
38
- FindDocuments = Struct.new(:session_id, :query_string, :project_id, :search_attachments, :current_versions_only) do
39
- def send (server=nil, proxy=nil)
40
- TeamForge.request(self, server, proxy)
41
- end
42
- end
43
- GetAssignedDocumentReviewList = Struct.new(:session_id, :username) do
44
- def send (server=nil, proxy=nil)
45
- TeamForge.request(self, server, proxy)
46
- end
47
- end
48
- GetDocumentData = Struct.new(:session_id, :document_id, :document_version) do
49
- def send (server=nil, proxy=nil)
50
- TeamForge.request(self, server, proxy)
51
- end
52
- end
53
- GetDocumentFileId = Struct.new(:session_id, :document_id, :document_version) do
54
- def send (server=nil, proxy=nil)
55
- TeamForge.request(self, server, proxy)
56
- end
57
- end
58
- GetDocumentFolderData = Struct.new(:session_id, :folder_id) do
59
- def send (server=nil, proxy=nil)
60
- TeamForge.request(self, server, proxy)
61
- end
62
- end
63
- GetDocumentFolderList = Struct.new(:session_id, :parent_id, :recursive) do
64
- def send (server=nil, proxy=nil)
65
- TeamForge.request(self, server, proxy)
66
- end
67
- end
68
- GetDocumentList = Struct.new(:session_id, :parent_id, :filters) do
69
- def send (server=nil, proxy=nil)
70
- TeamForge.request(self, server, proxy)
71
- end
72
- end
73
- GetDocumentReviewList = Struct.new(:session_id, :container_id, :filters) do
74
- def send (server=nil, proxy=nil)
75
- TeamForge.request(self, server, proxy)
76
- end
77
- end
78
- MoveDocumentFolder = Struct.new(:session_id, :folder_id, :dest_folder_id) do
79
- def send (server=nil, proxy=nil)
80
- TeamForge.request(self, server, proxy)
81
- end
82
- end
83
- MoveDocument = Struct.new(:session_id, :document_id, :target_folder_id) do
84
- def send (server=nil, proxy=nil)
85
- TeamForge.request(self, server, proxy)
86
- end
87
- end
88
- SetDocumentData = Struct.new(:session_id, :document_data, :file_id) do
89
- def send (server=nil, proxy=nil)
90
- TeamForge.request(self, server, proxy)
91
- end
92
- end
93
- SetDocumentDataWithAssociation = Struct.new(:session_id, :document_data, :file_id, :association_id, :association_comment) do
94
- def send (server=nil, proxy=nil)
95
- TeamForge.request(self, server, proxy)
96
- end
97
- end
98
- SetDocumentFolderData = Struct.new(:session_id, :document_folder_data) do
99
- def send (server=nil, proxy=nil)
100
- TeamForge.request(self, server, proxy)
101
- end
102
- end
8
+ CreateDocumentFolder = TFSoapRequest.new(:session_id, :parent_id, :title, :description)
9
+ CreateDocument = TFSoapRequest.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_name, :mime_type, :file_id, :association_id, :association_desc)
10
+ CreateDocumentWithUrl = TFSoapRequest.new(:session_id, :parent_id, :title, :description, :version_comment, :status, :create_locked, :file_url, :association_id, :association_desc)
11
+ CreateReview = TFSoapRequest.new(:session_id, :document_id, :version, :title, :description, :due_date, :required_reviewers, :optional_reviewers, :attach_document)
12
+ DeleteDocumentFolder = TFSoapRequest.new(:session_id, :folder_id)
13
+ DeleteDocument = TFSoapRequest.new(:session_id, :document_id)
14
+ FindDocuments = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments, :current_versions_only)
15
+ GetAssignedDocumentReviewList = TFSoapRequest.new(:session_id, :username)
16
+ GetDocumentData = TFSoapRequest.new(:session_id, :document_id, :document_version)
17
+ GetDocumentFileId = TFSoapRequest.new(:session_id, :document_id, :document_version)
18
+ GetDocumentFolderData = TFSoapRequest.new(:session_id, :folder_id)
19
+ GetDocumentFolderList = TFSoapRequest.new(:session_id, :parent_id, :recursive)
20
+ GetDocumentList = TFSoapRequest.new(:session_id, :parent_id, :filters)
21
+ GetDocumentReviewList = TFSoapRequest.new(:session_id, :container_id, :filters)
22
+ MoveDocumentFolder = TFSoapRequest.new(:session_id, :folder_id, :dest_folder_id)
23
+ MoveDocument = TFSoapRequest.new(:session_id, :document_id, :target_folder_id)
24
+ SetDocumentData = TFSoapRequest.new(:session_id, :document_data, :file_id)
25
+ SetDocumentDataWithAssociation = TFSoapRequest.new(:session_id, :document_data, :file_id, :association_id, :association_comment)
26
+ SetDocumentFolderData = TFSoapRequest.new(:session_id, :document_folder_data)
103
27
 
104
28
 
105
29
  ######################
106
30
  # DocumentApp Types
107
31
  ######################
108
32
 
109
- DocumentFolderSoapDO = Struct.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
110
- DocumentFolderSoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
111
- DocumentReviewSoapDO = Struct.new(:created_by,:created_date,:description,:document_version,:due_date,:end_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:status,:title,:version, :attributes!)
112
- DocumentReviewSoapRow = Struct.new(:created_by,:date_created,:description,:document_id,:due_date,:end_date,:id,:optional_reviewers_usernames,:required_reviewers_usernames,:status,:title,:version_number, :attributes!)
113
- DocumentSoapDO = Struct.new(:created_by,:created_date,:current_version,:date_version_created,:description,:document_version,:file_name,:file_size,:file_url,:folder_id,:id,:last_modified_by,:last_modified_date,:latest_version,:locale,:locked_by,:mime_type,:path,:status,:title,:version,:version_comment,:version_created_by, :attributes!)
114
- DocumentSoapRow = Struct.new(:created_by,:current_version,:date_created,:date_last_modified,:date_version_created,:description,:file_name,:file_size,:file_url,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_by,:last_modified_by_full_name,:locked_by,:mime_type,:project_id,:project_path_string,:project_title,:title,:version_comment,:version_created_by,:version_created_by_fullname,:version_id,:version_number,:version_status, :attributes!)
115
- SoapFilter = Struct.new(:name,:value, :attributes!)
33
+ DocumentFolderSoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
34
+ DocumentFolderSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
35
+ DocumentReviewSoapDO = TFType.new(:created_by,:created_date,:description,:document_version,:due_date,:end_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:status,:title,:version, :attributes!)
36
+ DocumentReviewSoapRow = TFType.new(:created_by,:date_created,:description,:document_id,:due_date,:end_date,:id,:optional_reviewers_usernames,:required_reviewers_usernames,:status,:title,:version_number, :attributes!)
37
+ DocumentSoapDO = TFType.new(:created_by,:created_date,:current_version,:date_version_created,:description,:document_version,:file_name,:file_size,:file_url,:folder_id,:id,:last_modified_by,:last_modified_date,:latest_version,:locale,:locked_by,:mime_type,:path,:status,:title,:version,:version_comment,:version_created_by, :attributes!)
38
+ DocumentSoapRow = TFType.new(:created_by,:current_version,:date_created,:date_last_modified,:date_version_created,:description,:file_name,:file_size,:file_url,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_by,:last_modified_by_full_name,:locked_by,:mime_type,:project_id,:project_path_string,:project_title,:title,:version_comment,:version_created_by,:version_created_by_fullname,:version_id,:version_number,:version_status, :attributes!)
39
+ SoapFilter = TFType.new(:name,:value, :attributes!)
116
40
 
117
41
  end # module DocumentApp
118
42
 
@@ -5,104 +5,36 @@ module TeamForge
5
5
  ######################
6
6
  # FrsApp Messages
7
7
  ######################
8
- CreateFrsFile = Struct.new(:session_id, :release_id, :file_name, :mime_type, :file_id) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- CreatePackage = Struct.new(:session_id, :project_id, :title, :description, :is_published) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- CreateRelease = Struct.new(:session_id, :package_id, :title, :description, :status, :maturity) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- DeleteFrsFile = Struct.new(:session_id, :frs_file_id) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- DeletePackage = Struct.new(:session_id, :package_id) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- DeleteRelease = Struct.new(:session_id, :release_id) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
38
- GetArtifactListReportedInRelease = Struct.new(:session_id, :release_id) do
39
- def send (server=nil, proxy=nil)
40
- TeamForge.request(self, server, proxy)
41
- end
42
- end
43
- GetArtifactListResolvedInRelease = Struct.new(:session_id, :release_id) do
44
- def send (server=nil, proxy=nil)
45
- TeamForge.request(self, server, proxy)
46
- end
47
- end
48
- GetFrsFileData = Struct.new(:session_id, :frs_file_id) do
49
- def send (server=nil, proxy=nil)
50
- TeamForge.request(self, server, proxy)
51
- end
52
- end
53
- GetFrsFileId = Struct.new(:session_id, :frs_file_id) do
54
- def send (server=nil, proxy=nil)
55
- TeamForge.request(self, server, proxy)
56
- end
57
- end
58
- GetFrsFileList = Struct.new(:session_id, :release_id) do
59
- def send (server=nil, proxy=nil)
60
- TeamForge.request(self, server, proxy)
61
- end
62
- end
63
- GetPackageData = Struct.new(:session_id, :package_id) do
64
- def send (server=nil, proxy=nil)
65
- TeamForge.request(self, server, proxy)
66
- end
67
- end
68
- GetPackageList = Struct.new(:session_id, :project_id) do
69
- def send (server=nil, proxy=nil)
70
- TeamForge.request(self, server, proxy)
71
- end
72
- end
73
- GetReleaseData = Struct.new(:session_id, :release_id) do
74
- def send (server=nil, proxy=nil)
75
- TeamForge.request(self, server, proxy)
76
- end
77
- end
78
- GetReleaseList = Struct.new(:session_id, :package_id) do
79
- def send (server=nil, proxy=nil)
80
- TeamForge.request(self, server, proxy)
81
- end
82
- end
83
- SetPackageData = Struct.new(:session_id, :package_data) do
84
- def send (server=nil, proxy=nil)
85
- TeamForge.request(self, server, proxy)
86
- end
87
- end
88
- SetReleaseData = Struct.new(:session_id, :release_data) do
89
- def send (server=nil, proxy=nil)
90
- TeamForge.request(self, server, proxy)
91
- end
92
- end
8
+ CreateFrsFile = TFSoapRequest.new(:session_id, :release_id, :file_name, :mime_type, :file_id)
9
+ CreatePackage = TFSoapRequest.new(:session_id, :project_id, :title, :description, :is_published)
10
+ CreateRelease = TFSoapRequest.new(:session_id, :package_id, :title, :description, :status, :maturity)
11
+ DeleteFrsFile = TFSoapRequest.new(:session_id, :frs_file_id)
12
+ DeletePackage = TFSoapRequest.new(:session_id, :package_id)
13
+ DeleteRelease = TFSoapRequest.new(:session_id, :release_id)
14
+ GetArtifactListReportedInRelease = TFSoapRequest.new(:session_id, :release_id)
15
+ GetArtifactListResolvedInRelease = TFSoapRequest.new(:session_id, :release_id)
16
+ GetFrsFileData = TFSoapRequest.new(:session_id, :frs_file_id)
17
+ GetFrsFileId = TFSoapRequest.new(:session_id, :frs_file_id)
18
+ GetFrsFileList = TFSoapRequest.new(:session_id, :release_id)
19
+ GetPackageData = TFSoapRequest.new(:session_id, :package_id)
20
+ GetPackageList = TFSoapRequest.new(:session_id, :project_id)
21
+ GetReleaseData = TFSoapRequest.new(:session_id, :release_id)
22
+ GetReleaseList = TFSoapRequest.new(:session_id, :package_id)
23
+ SetPackageData = TFSoapRequest.new(:session_id, :package_data)
24
+ SetReleaseData = TFSoapRequest.new(:session_id, :release_data)
93
25
 
94
26
 
95
27
  ######################
96
28
  # FrsApp Types
97
29
  ######################
98
30
 
99
- ArtifactSoapRow = Struct.new(:actual_effort,:artifact_group,:assigned_to_fullname,:assigned_to_username,:autosumming,:category,:close_date,:customer,:description,:estimated_effort,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_date,:planning_folder_id,:points,:priority,:project_id,:project_path_string,:project_title,:remaining_effort,:status,:status_class,:submitted_by_fullname,:submitted_by_username,:submitted_date,:title,:version, :attributes!)
100
- FrsFileSoapDO = Struct.new(:created_by,:created_date,:description,:filename,:folder_id,:id,:last_modified_by,:last_modified_date,:mime_type,:path,:size,:title,:version, :attributes!)
101
- FrsFileSoapRow = Struct.new(:content_id,:date_created,:description,:file_size,:filename,:folder_path_string,:id,:mime_type,:package_id,:package_title,:project_id,:project_path_string,:project_title,:release_id,:release_title,:title, :attributes!)
102
- PackageSoapDO = Struct.new(:created_by,:created_date,:description,:downloaded,:id,:is_published,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
103
- PackageSoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
104
- ReleaseSoapDO = Struct.new(:created_by,:created_date,:description,:downloaded,:id,:last_modified_by,:last_modified_date,:maturity,:parent_folder_id,:path,:project_id,:status,:title,:version, :attributes!)
105
- ReleaseSoapRow = Struct.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:maturity,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
31
+ ArtifactSoapRow = TFType.new(:actual_effort,:artifact_group,:assigned_to_fullname,:assigned_to_username,:autosumming,:category,:close_date,:customer,:description,:estimated_effort,:folder_id,:folder_path_string,:folder_title,:id,:last_modified_date,:planning_folder_id,:points,:priority,:project_id,:project_path_string,:project_title,:remaining_effort,:status,:status_class,:submitted_by_fullname,:submitted_by_username,:submitted_date,:title,:version, :attributes!)
32
+ FrsFileSoapDO = TFType.new(:created_by,:created_date,:description,:filename,:folder_id,:id,:last_modified_by,:last_modified_date,:mime_type,:path,:size,:title,:version, :attributes!)
33
+ FrsFileSoapRow = TFType.new(:content_id,:date_created,:description,:file_size,:filename,:folder_path_string,:id,:mime_type,:package_id,:package_title,:project_id,:project_path_string,:project_title,:release_id,:release_title,:title, :attributes!)
34
+ PackageSoapDO = TFType.new(:created_by,:created_date,:description,:downloaded,:id,:is_published,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
35
+ PackageSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
36
+ ReleaseSoapDO = TFType.new(:created_by,:created_date,:description,:downloaded,:id,:last_modified_by,:last_modified_date,:maturity,:parent_folder_id,:path,:project_id,:status,:title,:version, :attributes!)
37
+ ReleaseSoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:maturity,:parent_folder_id,:path,:project_id,:status,:title, :attributes!)
106
38
 
107
39
  end # module FrsApp
108
40
 
@@ -5,53 +5,21 @@ module TeamForge
5
5
  ######################
6
6
  # IntegrationDataApp Messages
7
7
  ######################
8
- GetDataByKey = Struct.new(:session_id, :namespace_id, :object_id, :key) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- GetData = Struct.new(:session_id, :namespace_id, :object_id) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- GetNamespaceId = Struct.new(:session_id, :name) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- PutDataByKey = Struct.new(:session_id, :namespace_id, :object_id, :key, :value) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- PutData = Struct.new(:session_id, :namespace_id, :object_id, :named_values) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- RegisterNamespace = Struct.new(:session_id, :name) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
38
- RemoveDataByKey = Struct.new(:session_id, :namespace_id, :object_id, :key) do
39
- def send (server=nil, proxy=nil)
40
- TeamForge.request(self, server, proxy)
41
- end
42
- end
43
- RemoveData = Struct.new(:session_id, :namespace_id, :object_id, :keys) do
44
- def send (server=nil, proxy=nil)
45
- TeamForge.request(self, server, proxy)
46
- end
47
- end
8
+ GetDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key)
9
+ GetData = TFSoapRequest.new(:session_id, :namespace_id, :object_id)
10
+ GetNamespaceId = TFSoapRequest.new(:session_id, :name)
11
+ PutDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key, :value)
12
+ PutData = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :named_values)
13
+ RegisterNamespace = TFSoapRequest.new(:session_id, :name)
14
+ RemoveDataByKey = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :key)
15
+ RemoveData = TFSoapRequest.new(:session_id, :namespace_id, :object_id, :keys)
48
16
 
49
17
 
50
18
  ######################
51
19
  # IntegrationDataApp Types
52
20
  ######################
53
21
 
54
- SoapNamedValues = Struct.new(:names,:values, :attributes!)
22
+ SoapNamedValues = TFType.new(:names,:values, :attributes!)
55
23
 
56
24
  end # module IntegrationDataApp
57
25
 
@@ -5,44 +5,20 @@ module TeamForge
5
5
  ######################
6
6
  # NewsApp Messages
7
7
  ######################
8
- CreateNewsPost = Struct.new(:session_id, :project_id, :title, :body) do
9
- def send (server=nil, proxy=nil)
10
- TeamForge.request(self, server, proxy)
11
- end
12
- end
13
- DeleteNewsPost = Struct.new(:session_id, :post_id) do
14
- def send (server=nil, proxy=nil)
15
- TeamForge.request(self, server, proxy)
16
- end
17
- end
18
- EditNewsPost = Struct.new(:session_id, :post_id, :title, :body) do
19
- def send (server=nil, proxy=nil)
20
- TeamForge.request(self, server, proxy)
21
- end
22
- end
23
- FindNews = Struct.new(:session_id, :query_string, :project_id, :search_attachments) do
24
- def send (server=nil, proxy=nil)
25
- TeamForge.request(self, server, proxy)
26
- end
27
- end
28
- GetAllNewsPostList = Struct.new(:session_id) do
29
- def send (server=nil, proxy=nil)
30
- TeamForge.request(self, server, proxy)
31
- end
32
- end
33
- GetNewsPostList = Struct.new(:session_id, :project_id) do
34
- def send (server=nil, proxy=nil)
35
- TeamForge.request(self, server, proxy)
36
- end
37
- end
8
+ CreateNewsPost = TFSoapRequest.new(:session_id, :project_id, :title, :body)
9
+ DeleteNewsPost = TFSoapRequest.new(:session_id, :post_id)
10
+ EditNewsPost = TFSoapRequest.new(:session_id, :post_id, :title, :body)
11
+ FindNews = TFSoapRequest.new(:session_id, :query_string, :project_id, :search_attachments)
12
+ GetAllNewsPostList = TFSoapRequest.new(:session_id)
13
+ GetNewsPostList = TFSoapRequest.new(:session_id, :project_id)
38
14
 
39
15
 
40
16
  ######################
41
17
  # NewsApp Types
42
18
  ######################
43
19
 
44
- NewsPostSoapDO = Struct.new(:body,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:title,:version, :attributes!)
45
- NewsPostSoapRow = Struct.new(:body,:created_by_full_name,:created_by_username,:created_on,:folder_path_string,:id,:project_id,:project_path_string,:project_title,:title, :attributes!)
20
+ NewsPostSoapDO = TFType.new(:body,:created_by,:created_date,:folder_id,:id,:last_modified_by,:last_modified_date,:path,:title,:version, :attributes!)
21
+ NewsPostSoapRow = TFType.new(:body,:created_by_full_name,:created_by_username,:created_on,:folder_path_string,:id,:project_id,:project_path_string,:project_title,:title, :attributes!)
46
22
 
47
23
  end # module NewsApp
48
24