teamforge 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/teamforge/services/categorizationapp.rb +17 -73
- data/lib/teamforge/services/collabnet.rb +109 -473
- data/lib/teamforge/services/discussionapp.rb +24 -84
- data/lib/teamforge/services/documentapp.rb +26 -102
- data/lib/teamforge/services/frsapp.rb +24 -92
- data/lib/teamforge/services/integrationdataapp.rb +9 -41
- data/lib/teamforge/services/newsapp.rb +8 -32
- data/lib/teamforge/services/pageapp.rb +23 -95
- data/lib/teamforge/services/planningapp.rb +32 -112
- data/lib/teamforge/services/pluggableapp.rb +33 -133
- data/lib/teamforge/services/rbacapp.rb +51 -215
- data/lib/teamforge/services/scmapp.rb +28 -104
- data/lib/teamforge/services/simplefilestorageapp.rb +5 -25
- data/lib/teamforge/services/taskapp.rb +24 -100
- data/lib/teamforge/services/trackerapp.rb +59 -223
- data/lib/teamforge/services/wikiapp.rb +12 -48
- data/lib/teamforge/tfsoaprequest.rb +14 -0
- data/lib/teamforge/tftype.rb +12 -0
- data/lib/teamforge/version.rb +1 -1
- data/lib/teamforge.rb +4 -1
- metadata +8 -6
@@ -5,85 +5,29 @@ module TeamForge
|
|
5
5
|
######################
|
6
6
|
# CategorizationApp Messages
|
7
7
|
######################
|
8
|
-
AddProjectToCategory =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
end
|
23
|
-
GetAllCategories = Struct.new(:session_id) do
|
24
|
-
def send (server=nil, proxy=nil)
|
25
|
-
TeamForge.request(self, server, proxy)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
GetCategoryData = Struct.new(:session_id, :category_id) do
|
29
|
-
def send (server=nil, proxy=nil)
|
30
|
-
TeamForge.request(self, server, proxy)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
GetCategoryProjects = Struct.new(:session_id, :category_id, :include_subcategories) do
|
34
|
-
def send (server=nil, proxy=nil)
|
35
|
-
TeamForge.request(self, server, proxy)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
GetProjectCategories = Struct.new(:session_id, :project_id) do
|
39
|
-
def send (server=nil, proxy=nil)
|
40
|
-
TeamForge.request(self, server, proxy)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
GetRootCategoryData = Struct.new(:session_id) do
|
44
|
-
def send (server=nil, proxy=nil)
|
45
|
-
TeamForge.request(self, server, proxy)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
GetSubcategories = Struct.new(:session_id, :category_id, :recursive) do
|
49
|
-
def send (server=nil, proxy=nil)
|
50
|
-
TeamForge.request(self, server, proxy)
|
51
|
-
end
|
52
|
-
end
|
53
|
-
GetUncategorizedProjects = Struct.new(:session_id) do
|
54
|
-
def send (server=nil, proxy=nil)
|
55
|
-
TeamForge.request(self, server, proxy)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
IsCategorizationEnabled = Struct.new(:session_id) do
|
59
|
-
def send (server=nil, proxy=nil)
|
60
|
-
TeamForge.request(self, server, proxy)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
MoveCategory = Struct.new(:session_id, :category_id, :dst_category_id) do
|
64
|
-
def send (server=nil, proxy=nil)
|
65
|
-
TeamForge.request(self, server, proxy)
|
66
|
-
end
|
67
|
-
end
|
68
|
-
RemoveProjectFromCategory = Struct.new(:session_id, :project_id, :category_id) do
|
69
|
-
def send (server=nil, proxy=nil)
|
70
|
-
TeamForge.request(self, server, proxy)
|
71
|
-
end
|
72
|
-
end
|
73
|
-
SetCategoryData = Struct.new(:session_id, :category_data) do
|
74
|
-
def send (server=nil, proxy=nil)
|
75
|
-
TeamForge.request(self, server, proxy)
|
76
|
-
end
|
77
|
-
end
|
8
|
+
AddProjectToCategory = TFSoapRequest.new(:session_id, :project_id, :category_id)
|
9
|
+
CreateCategory = TFSoapRequest.new(:session_id, :parent_id, :title, :description)
|
10
|
+
DeleteCategory = TFSoapRequest.new(:session_id, :category_id)
|
11
|
+
GetAllCategories = TFSoapRequest.new(:session_id)
|
12
|
+
GetCategoryData = TFSoapRequest.new(:session_id, :category_id)
|
13
|
+
GetCategoryProjects = TFSoapRequest.new(:session_id, :category_id, :include_subcategories)
|
14
|
+
GetProjectCategories = TFSoapRequest.new(:session_id, :project_id)
|
15
|
+
GetRootCategoryData = TFSoapRequest.new(:session_id)
|
16
|
+
GetSubcategories = TFSoapRequest.new(:session_id, :category_id, :recursive)
|
17
|
+
GetUncategorizedProjects = TFSoapRequest.new(:session_id)
|
18
|
+
IsCategorizationEnabled = TFSoapRequest.new(:session_id)
|
19
|
+
MoveCategory = TFSoapRequest.new(:session_id, :category_id, :dst_category_id)
|
20
|
+
RemoveProjectFromCategory = TFSoapRequest.new(:session_id, :project_id, :category_id)
|
21
|
+
SetCategoryData = TFSoapRequest.new(:session_id, :category_data)
|
78
22
|
|
79
23
|
|
80
24
|
######################
|
81
25
|
# CategorizationApp Types
|
82
26
|
######################
|
83
27
|
|
84
|
-
CategorySoapDO =
|
85
|
-
CategorySoapRow =
|
86
|
-
ProjectSoapRow =
|
28
|
+
CategorySoapDO = TFType.new(:created_by,:created_date,:description,:id,:last_modified_by,:last_modified_date,:parent_folder_id,:path,:project_id,:title,:version, :attributes!)
|
29
|
+
CategorySoapRow = TFType.new(:created_by,:created_on,:description,:id,:last_modified_by,:last_modified_on,:parent_folder_id,:path,:project_id,:title, :attributes!)
|
30
|
+
ProjectSoapRow = TFType.new(:date_created,:description,:hierarchy_path,:id,:locked,:parent_project_id,:path,:title, :attributes!)
|
87
31
|
|
88
32
|
end # module CategorizationApp
|
89
33
|
|