active_documentum 0.3.2-java → 0.3.3-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/.irbrc +1 -0
- data/Rakefile +57 -0
- data/VERSION.yml +4 -0
- data/active_documentum.gemspec +530 -0
- data/config/environment.rb +52 -0
- data/config/environment.yml.sample +5 -0
- data/lib/active_documentum.rb +98 -1
- data/samples/folder_browse.rb +0 -0
- data/samples/migrate_power_users.rb +1 -0
- metadata +68 -42
data/.gitignore
ADDED
data/.irbrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'config/environment'
|
data/Rakefile
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "active_documentum"
|
8
|
+
gem.platform = %q{java}
|
9
|
+
gem.summary = %Q{Active Documentum}
|
10
|
+
gem.email = "luke.a.chadwick@gmail.com"
|
11
|
+
gem.homepage = "http://github.com/vertis/active_documentum"
|
12
|
+
gem.authors = ["Luke Chadwick"]
|
13
|
+
gem.files.include FileList['lib/**/*.rb']
|
14
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
|
+
end
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'rake/testtask'
|
21
|
+
Rake::TestTask.new(:test) do |test|
|
22
|
+
test.libs << 'lib' << 'test'
|
23
|
+
test.pattern = 'test/**/*_test.rb'
|
24
|
+
test.verbose = true
|
25
|
+
end
|
26
|
+
|
27
|
+
begin
|
28
|
+
require 'rcov/rcovtask'
|
29
|
+
Rcov::RcovTask.new do |test|
|
30
|
+
test.libs << 'test'
|
31
|
+
test.pattern = 'test/**/*_test.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
rescue LoadError
|
35
|
+
task :rcov do
|
36
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
task :default => :test
|
42
|
+
|
43
|
+
require 'rake/rdoctask'
|
44
|
+
Rake::RDocTask.new do |rdoc|
|
45
|
+
if File.exist?('VERSION.yml')
|
46
|
+
config = YAML.load(File.read('VERSION.yml'))
|
47
|
+
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
48
|
+
else
|
49
|
+
version = ""
|
50
|
+
end
|
51
|
+
|
52
|
+
rdoc.rdoc_dir = 'rdoc'
|
53
|
+
rdoc.title = "active_documentum #{version}"
|
54
|
+
rdoc.rdoc_files.include('README*')
|
55
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
56
|
+
end
|
57
|
+
|
data/VERSION.yml
ADDED
@@ -0,0 +1,530 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{active_documentum}
|
8
|
+
s.version = "0.3.3"
|
9
|
+
s.platform = %q{java}
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Luke Chadwick"]
|
13
|
+
s.date = %q{2010-02-26}
|
14
|
+
s.email = %q{luke.a.chadwick@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
".irbrc",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION.yml",
|
26
|
+
"active_documentum.gemspec",
|
27
|
+
"config/environment.rb",
|
28
|
+
"config/environment.yml.sample",
|
29
|
+
"lib/active_documentum.rb",
|
30
|
+
"lib/active_documentum.rb",
|
31
|
+
"lib/active_documentum/access_control_client.rb",
|
32
|
+
"lib/active_documentum/access_control_client.rb",
|
33
|
+
"lib/active_documentum/base.rb",
|
34
|
+
"lib/active_documentum/base.rb",
|
35
|
+
"lib/active_documentum/docbase_config.rb",
|
36
|
+
"lib/active_documentum/docbase_config.rb",
|
37
|
+
"lib/active_documentum/logging.rb",
|
38
|
+
"lib/active_documentum/logging.rb",
|
39
|
+
"lib/active_documentum/object_client.rb",
|
40
|
+
"lib/active_documentum/object_client.rb",
|
41
|
+
"lib/active_documentum/query_client.rb",
|
42
|
+
"lib/active_documentum/query_client.rb",
|
43
|
+
"lib/active_documentum/schema.rb",
|
44
|
+
"lib/active_documentum/schema.rb",
|
45
|
+
"lib/active_documentum/schema_client.rb",
|
46
|
+
"lib/active_documentum/schema_client.rb",
|
47
|
+
"lib/active_documentum/search_client.rb",
|
48
|
+
"lib/active_documentum/search_client.rb",
|
49
|
+
"lib/active_documentum/session.rb",
|
50
|
+
"lib/active_documentum/session.rb",
|
51
|
+
"lib/active_documentum/types/cfs_import_batch.rb",
|
52
|
+
"lib/active_documentum/types/cfs_import_document.rb",
|
53
|
+
"lib/active_documentum/types/dm_acl.rb",
|
54
|
+
"lib/active_documentum/types/dm_acl.rb",
|
55
|
+
"lib/active_documentum/types/dm_acs_config.rb",
|
56
|
+
"lib/active_documentum/types/dm_acs_config.rb",
|
57
|
+
"lib/active_documentum/types/dm_activity.rb",
|
58
|
+
"lib/active_documentum/types/dm_activity.rb",
|
59
|
+
"lib/active_documentum/types/dm_aggr_domain.rb",
|
60
|
+
"lib/active_documentum/types/dm_aggr_domain.rb",
|
61
|
+
"lib/active_documentum/types/dm_alias_set.rb",
|
62
|
+
"lib/active_documentum/types/dm_alias_set.rb",
|
63
|
+
"lib/active_documentum/types/dm_app_ref.rb",
|
64
|
+
"lib/active_documentum/types/dm_app_ref.rb",
|
65
|
+
"lib/active_documentum/types/dm_application.rb",
|
66
|
+
"lib/active_documentum/types/dm_application.rb",
|
67
|
+
"lib/active_documentum/types/dm_assembly.rb",
|
68
|
+
"lib/active_documentum/types/dm_assembly.rb",
|
69
|
+
"lib/active_documentum/types/dm_attachments_folder.rb",
|
70
|
+
"lib/active_documentum/types/dm_attachments_folder.rb",
|
71
|
+
"lib/active_documentum/types/dm_audittrail.rb",
|
72
|
+
"lib/active_documentum/types/dm_audittrail.rb",
|
73
|
+
"lib/active_documentum/types/dm_audittrail_acl.rb",
|
74
|
+
"lib/active_documentum/types/dm_audittrail_acl.rb",
|
75
|
+
"lib/active_documentum/types/dm_audittrail_group.rb",
|
76
|
+
"lib/active_documentum/types/dm_audittrail_group.rb",
|
77
|
+
"lib/active_documentum/types/dm_blobstore.rb",
|
78
|
+
"lib/active_documentum/types/dm_blobstore.rb",
|
79
|
+
"lib/active_documentum/types/dm_bocs_config.rb",
|
80
|
+
"lib/active_documentum/types/dm_bocs_config.rb",
|
81
|
+
"lib/active_documentum/types/dm_builtin_expr.rb",
|
82
|
+
"lib/active_documentum/types/dm_builtin_expr.rb",
|
83
|
+
"lib/active_documentum/types/dm_business_pro.rb",
|
84
|
+
"lib/active_documentum/types/dm_business_pro.rb",
|
85
|
+
"lib/active_documentum/types/dm_ca_store.rb",
|
86
|
+
"lib/active_documentum/types/dm_ca_store.rb",
|
87
|
+
"lib/active_documentum/types/dm_cabinet.rb",
|
88
|
+
"lib/active_documentum/types/dm_cabinet.rb",
|
89
|
+
"lib/active_documentum/types/dm_cache_config.rb",
|
90
|
+
"lib/active_documentum/types/dm_cache_config.rb",
|
91
|
+
"lib/active_documentum/types/dm_category.rb",
|
92
|
+
"lib/active_documentum/types/dm_category.rb",
|
93
|
+
"lib/active_documentum/types/dm_category_assign.rb",
|
94
|
+
"lib/active_documentum/types/dm_category_assign.rb",
|
95
|
+
"lib/active_documentum/types/dm_category_class.rb",
|
96
|
+
"lib/active_documentum/types/dm_category_class.rb",
|
97
|
+
"lib/active_documentum/types/dm_ci_config.rb",
|
98
|
+
"lib/active_documentum/types/dm_ci_config.rb",
|
99
|
+
"lib/active_documentum/types/dm_client_registration.rb",
|
100
|
+
"lib/active_documentum/types/dm_client_registration.rb",
|
101
|
+
"lib/active_documentum/types/dm_client_rights.rb",
|
102
|
+
"lib/active_documentum/types/dm_client_rights.rb",
|
103
|
+
"lib/active_documentum/types/dm_component.rb",
|
104
|
+
"lib/active_documentum/types/dm_component.rb",
|
105
|
+
"lib/active_documentum/types/dm_cond_expr.rb",
|
106
|
+
"lib/active_documentum/types/dm_cond_expr.rb",
|
107
|
+
"lib/active_documentum/types/dm_cond_id_expr.rb",
|
108
|
+
"lib/active_documentum/types/dm_cond_id_expr.rb",
|
109
|
+
"lib/active_documentum/types/dm_cont_transfer_config.rb",
|
110
|
+
"lib/active_documentum/types/dm_cont_transfer_config.rb",
|
111
|
+
"lib/active_documentum/types/dm_cryptographic_key.rb",
|
112
|
+
"lib/active_documentum/types/dm_cryptographic_key.rb",
|
113
|
+
"lib/active_documentum/types/dm_dd_info.rb",
|
114
|
+
"lib/active_documentum/types/dm_dd_info.rb",
|
115
|
+
"lib/active_documentum/types/dm_decision.rb",
|
116
|
+
"lib/active_documentum/types/dm_decision.rb",
|
117
|
+
"lib/active_documentum/types/dm_display_config.rb",
|
118
|
+
"lib/active_documentum/types/dm_display_config.rb",
|
119
|
+
"lib/active_documentum/types/dm_distributedstore.rb",
|
120
|
+
"lib/active_documentum/types/dm_distributedstore.rb",
|
121
|
+
"lib/active_documentum/types/dm_dms_config.rb",
|
122
|
+
"lib/active_documentum/types/dm_dms_config.rb",
|
123
|
+
"lib/active_documentum/types/dm_docbase_config.rb",
|
124
|
+
"lib/active_documentum/types/dm_docbase_config.rb",
|
125
|
+
"lib/active_documentum/types/dm_docbaseid_map.rb",
|
126
|
+
"lib/active_documentum/types/dm_docbaseid_map.rb",
|
127
|
+
"lib/active_documentum/types/dm_docset.rb",
|
128
|
+
"lib/active_documentum/types/dm_docset.rb",
|
129
|
+
"lib/active_documentum/types/dm_docset_run.rb",
|
130
|
+
"lib/active_documentum/types/dm_docset_run.rb",
|
131
|
+
"lib/active_documentum/types/dm_document.rb",
|
132
|
+
"lib/active_documentum/types/dm_document.rb",
|
133
|
+
"lib/active_documentum/types/dm_domain.rb",
|
134
|
+
"lib/active_documentum/types/dm_domain.rb",
|
135
|
+
"lib/active_documentum/types/dm_dump_record.rb",
|
136
|
+
"lib/active_documentum/types/dm_dump_record.rb",
|
137
|
+
"lib/active_documentum/types/dm_email_message.rb",
|
138
|
+
"lib/active_documentum/types/dm_email_message.rb",
|
139
|
+
"lib/active_documentum/types/dm_esign_template.rb",
|
140
|
+
"lib/active_documentum/types/dm_esign_template.rb",
|
141
|
+
"lib/active_documentum/types/dm_expression.rb",
|
142
|
+
"lib/active_documentum/types/dm_expression.rb",
|
143
|
+
"lib/active_documentum/types/dm_extern_file.rb",
|
144
|
+
"lib/active_documentum/types/dm_extern_file.rb",
|
145
|
+
"lib/active_documentum/types/dm_extern_free.rb",
|
146
|
+
"lib/active_documentum/types/dm_extern_free.rb",
|
147
|
+
"lib/active_documentum/types/dm_extern_store.rb",
|
148
|
+
"lib/active_documentum/types/dm_extern_store.rb",
|
149
|
+
"lib/active_documentum/types/dm_extern_url.rb",
|
150
|
+
"lib/active_documentum/types/dm_extern_url.rb",
|
151
|
+
"lib/active_documentum/types/dm_federation.rb",
|
152
|
+
"lib/active_documentum/types/dm_federation.rb",
|
153
|
+
"lib/active_documentum/types/dm_filestore.rb",
|
154
|
+
"lib/active_documentum/types/dm_filestore.rb",
|
155
|
+
"lib/active_documentum/types/dm_folder.rb",
|
156
|
+
"lib/active_documentum/types/dm_folder.rb",
|
157
|
+
"lib/active_documentum/types/dm_foreign_key.rb",
|
158
|
+
"lib/active_documentum/types/dm_foreign_key.rb",
|
159
|
+
"lib/active_documentum/types/dm_format.rb",
|
160
|
+
"lib/active_documentum/types/dm_format.rb",
|
161
|
+
"lib/active_documentum/types/dm_format_preferences.rb",
|
162
|
+
"lib/active_documentum/types/dm_format_preferences.rb",
|
163
|
+
"lib/active_documentum/types/dm_ftengine_config.rb",
|
164
|
+
"lib/active_documentum/types/dm_ftengine_config.rb",
|
165
|
+
"lib/active_documentum/types/dm_ftindex_agent_config.rb",
|
166
|
+
"lib/active_documentum/types/dm_ftindex_agent_config.rb",
|
167
|
+
"lib/active_documentum/types/dm_fulltext_index.rb",
|
168
|
+
"lib/active_documentum/types/dm_fulltext_index.rb",
|
169
|
+
"lib/active_documentum/types/dm_func_expr.rb",
|
170
|
+
"lib/active_documentum/types/dm_func_expr.rb",
|
171
|
+
"lib/active_documentum/types/dm_group.rb",
|
172
|
+
"lib/active_documentum/types/dm_group.rb",
|
173
|
+
"lib/active_documentum/types/dm_java.rb",
|
174
|
+
"lib/active_documentum/types/dm_java.rb",
|
175
|
+
"lib/active_documentum/types/dm_jms_config.rb",
|
176
|
+
"lib/active_documentum/types/dm_jms_config.rb",
|
177
|
+
"lib/active_documentum/types/dm_job.rb",
|
178
|
+
"lib/active_documentum/types/dm_job.rb",
|
179
|
+
"lib/active_documentum/types/dm_job_request.rb",
|
180
|
+
"lib/active_documentum/types/dm_job_request.rb",
|
181
|
+
"lib/active_documentum/types/dm_job_sequence.rb",
|
182
|
+
"lib/active_documentum/types/dm_job_sequence.rb",
|
183
|
+
"lib/active_documentum/types/dm_key.rb",
|
184
|
+
"lib/active_documentum/types/dm_key.rb",
|
185
|
+
"lib/active_documentum/types/dm_ldap_config.rb",
|
186
|
+
"lib/active_documentum/types/dm_ldap_config.rb",
|
187
|
+
"lib/active_documentum/types/dm_linkedstore.rb",
|
188
|
+
"lib/active_documentum/types/dm_linkedstore.rb",
|
189
|
+
"lib/active_documentum/types/dm_literal_expr.rb",
|
190
|
+
"lib/active_documentum/types/dm_literal_expr.rb",
|
191
|
+
"lib/active_documentum/types/dm_load_record.rb",
|
192
|
+
"lib/active_documentum/types/dm_load_record.rb",
|
193
|
+
"lib/active_documentum/types/dm_location.rb",
|
194
|
+
"lib/active_documentum/types/dm_location.rb",
|
195
|
+
"lib/active_documentum/types/dm_locator.rb",
|
196
|
+
"lib/active_documentum/types/dm_locator.rb",
|
197
|
+
"lib/active_documentum/types/dm_media_profile.rb",
|
198
|
+
"lib/active_documentum/types/dm_media_profile.rb",
|
199
|
+
"lib/active_documentum/types/dm_menu_system.rb",
|
200
|
+
"lib/active_documentum/types/dm_menu_system.rb",
|
201
|
+
"lib/active_documentum/types/dm_message_address.rb",
|
202
|
+
"lib/active_documentum/types/dm_message_address.rb",
|
203
|
+
"lib/active_documentum/types/dm_message_archive.rb",
|
204
|
+
"lib/active_documentum/types/dm_message_archive.rb",
|
205
|
+
"lib/active_documentum/types/dm_message_attachment.rb",
|
206
|
+
"lib/active_documentum/types/dm_message_attachment.rb",
|
207
|
+
"lib/active_documentum/types/dm_message_container.rb",
|
208
|
+
"lib/active_documentum/types/dm_message_container.rb",
|
209
|
+
"lib/active_documentum/types/dm_message_route_user_data.rb",
|
210
|
+
"lib/active_documentum/types/dm_message_route_user_data.rb",
|
211
|
+
"lib/active_documentum/types/dm_message_user_data.rb",
|
212
|
+
"lib/active_documentum/types/dm_message_user_data.rb",
|
213
|
+
"lib/active_documentum/types/dm_method.rb",
|
214
|
+
"lib/active_documentum/types/dm_method.rb",
|
215
|
+
"lib/active_documentum/types/dm_migrate_rule.rb",
|
216
|
+
"lib/active_documentum/types/dm_migrate_rule.rb",
|
217
|
+
"lib/active_documentum/types/dm_mount_point.rb",
|
218
|
+
"lib/active_documentum/types/dm_mount_point.rb",
|
219
|
+
"lib/active_documentum/types/dm_network_location_map.rb",
|
220
|
+
"lib/active_documentum/types/dm_network_location_map.rb",
|
221
|
+
"lib/active_documentum/types/dm_nls_dd_info.rb",
|
222
|
+
"lib/active_documentum/types/dm_nls_dd_info.rb",
|
223
|
+
"lib/active_documentum/types/dm_note.rb",
|
224
|
+
"lib/active_documentum/types/dm_note.rb",
|
225
|
+
"lib/active_documentum/types/dm_opticalstore.rb",
|
226
|
+
"lib/active_documentum/types/dm_opticalstore.rb",
|
227
|
+
"lib/active_documentum/types/dm_outputdevice.rb",
|
228
|
+
"lib/active_documentum/types/dm_outputdevice.rb",
|
229
|
+
"lib/active_documentum/types/dm_plugin.rb",
|
230
|
+
"lib/active_documentum/types/dm_plugin.rb",
|
231
|
+
"lib/active_documentum/types/dm_policy.rb",
|
232
|
+
"lib/active_documentum/types/dm_policy.rb",
|
233
|
+
"lib/active_documentum/types/dm_procedure.rb",
|
234
|
+
"lib/active_documentum/types/dm_procedure.rb",
|
235
|
+
"lib/active_documentum/types/dm_process.rb",
|
236
|
+
"lib/active_documentum/types/dm_process.rb",
|
237
|
+
"lib/active_documentum/types/dm_public_key_certificate.rb",
|
238
|
+
"lib/active_documentum/types/dm_public_key_certificate.rb",
|
239
|
+
"lib/active_documentum/types/dm_qual_comp.rb",
|
240
|
+
"lib/active_documentum/types/dm_qual_comp.rb",
|
241
|
+
"lib/active_documentum/types/dm_query.rb",
|
242
|
+
"lib/active_documentum/types/dm_query.rb",
|
243
|
+
"lib/active_documentum/types/dm_reference.rb",
|
244
|
+
"lib/active_documentum/types/dm_reference.rb",
|
245
|
+
"lib/active_documentum/types/dm_registered.rb",
|
246
|
+
"lib/active_documentum/types/dm_registered.rb",
|
247
|
+
"lib/active_documentum/types/dm_relation.rb",
|
248
|
+
"lib/active_documentum/types/dm_relation.rb",
|
249
|
+
"lib/active_documentum/types/dm_relation_ssa_policy.rb",
|
250
|
+
"lib/active_documentum/types/dm_relation_ssa_policy.rb",
|
251
|
+
"lib/active_documentum/types/dm_relation_type.rb",
|
252
|
+
"lib/active_documentum/types/dm_relation_type.rb",
|
253
|
+
"lib/active_documentum/types/dm_retainer.rb",
|
254
|
+
"lib/active_documentum/types/dm_retainer.rb",
|
255
|
+
"lib/active_documentum/types/dm_router.rb",
|
256
|
+
"lib/active_documentum/types/dm_router.rb",
|
257
|
+
"lib/active_documentum/types/dm_scope_config.rb",
|
258
|
+
"lib/active_documentum/types/dm_scope_config.rb",
|
259
|
+
"lib/active_documentum/types/dm_script.rb",
|
260
|
+
"lib/active_documentum/types/dm_script.rb",
|
261
|
+
"lib/active_documentum/types/dm_server_config.rb",
|
262
|
+
"lib/active_documentum/types/dm_server_config.rb",
|
263
|
+
"lib/active_documentum/types/dm_shmeconfig.rb",
|
264
|
+
"lib/active_documentum/types/dm_shmeconfig.rb",
|
265
|
+
"lib/active_documentum/types/dm_smart_list.rb",
|
266
|
+
"lib/active_documentum/types/dm_smart_list.rb",
|
267
|
+
"lib/active_documentum/types/dm_ssa_policy.rb",
|
268
|
+
"lib/active_documentum/types/dm_ssa_policy.rb",
|
269
|
+
"lib/active_documentum/types/dm_staged.rb",
|
270
|
+
"lib/active_documentum/types/dm_staged.rb",
|
271
|
+
"lib/active_documentum/types/dm_state_extension.rb",
|
272
|
+
"lib/active_documentum/types/dm_state_extension.rb",
|
273
|
+
"lib/active_documentum/types/dm_state_type.rb",
|
274
|
+
"lib/active_documentum/types/dm_state_type.rb",
|
275
|
+
"lib/active_documentum/types/dm_store.rb",
|
276
|
+
"lib/active_documentum/types/dm_store.rb",
|
277
|
+
"lib/active_documentum/types/dm_sync_list_relation.rb",
|
278
|
+
"lib/active_documentum/types/dm_sync_list_relation.rb",
|
279
|
+
"lib/active_documentum/types/dm_sysobject.rb",
|
280
|
+
"lib/active_documentum/types/dm_sysobject.rb",
|
281
|
+
"lib/active_documentum/types/dm_sysprocess_config.rb",
|
282
|
+
"lib/active_documentum/types/dm_sysprocess_config.rb",
|
283
|
+
"lib/active_documentum/types/dm_taxonomy.rb",
|
284
|
+
"lib/active_documentum/types/dm_taxonomy.rb",
|
285
|
+
"lib/active_documentum/types/dm_type.rb",
|
286
|
+
"lib/active_documentum/types/dm_type.rb",
|
287
|
+
"lib/active_documentum/types/dm_user.rb",
|
288
|
+
"lib/active_documentum/types/dm_user.rb",
|
289
|
+
"lib/active_documentum/types/dm_validation_descriptor.rb",
|
290
|
+
"lib/active_documentum/types/dm_validation_descriptor.rb",
|
291
|
+
"lib/active_documentum/types/dm_value_assist.rb",
|
292
|
+
"lib/active_documentum/types/dm_value_assist.rb",
|
293
|
+
"lib/active_documentum/types/dm_value_func.rb",
|
294
|
+
"lib/active_documentum/types/dm_value_func.rb",
|
295
|
+
"lib/active_documentum/types/dm_value_list.rb",
|
296
|
+
"lib/active_documentum/types/dm_value_list.rb",
|
297
|
+
"lib/active_documentum/types/dm_value_query.rb",
|
298
|
+
"lib/active_documentum/types/dm_value_query.rb",
|
299
|
+
"lib/active_documentum/types/dm_webc_config.rb",
|
300
|
+
"lib/active_documentum/types/dm_webc_config.rb",
|
301
|
+
"lib/active_documentum/types/dm_webc_target.rb",
|
302
|
+
"lib/active_documentum/types/dm_webc_target.rb",
|
303
|
+
"lib/active_documentum/types/dm_workflow.rb",
|
304
|
+
"lib/active_documentum/types/dm_workflow.rb",
|
305
|
+
"lib/active_documentum/types/dm_xml_application.rb",
|
306
|
+
"lib/active_documentum/types/dm_xml_application.rb",
|
307
|
+
"lib/active_documentum/types/dm_xml_config.rb",
|
308
|
+
"lib/active_documentum/types/dm_xml_config.rb",
|
309
|
+
"lib/active_documentum/types/dm_xml_custom_code.rb",
|
310
|
+
"lib/active_documentum/types/dm_xml_custom_code.rb",
|
311
|
+
"lib/active_documentum/types/dm_xml_style_sheet.rb",
|
312
|
+
"lib/active_documentum/types/dm_xml_style_sheet.rb",
|
313
|
+
"lib/active_documentum/types/dm_xml_zone.rb",
|
314
|
+
"lib/active_documentum/types/dm_xml_zone.rb",
|
315
|
+
"lib/active_documentum/types/dmc_act_group_instance.rb",
|
316
|
+
"lib/active_documentum/types/dmc_act_group_instance.rb",
|
317
|
+
"lib/active_documentum/types/dmc_aspect_relation.rb",
|
318
|
+
"lib/active_documentum/types/dmc_aspect_relation.rb",
|
319
|
+
"lib/active_documentum/types/dmc_aspect_type.rb",
|
320
|
+
"lib/active_documentum/types/dmc_aspect_type.rb",
|
321
|
+
"lib/active_documentum/types/dmc_class.rb",
|
322
|
+
"lib/active_documentum/types/dmc_class.rb",
|
323
|
+
"lib/active_documentum/types/dmc_comment.rb",
|
324
|
+
"lib/active_documentum/types/dmc_comment.rb",
|
325
|
+
"lib/active_documentum/types/dmc_completed_workflow.rb",
|
326
|
+
"lib/active_documentum/types/dmc_completed_workflow.rb",
|
327
|
+
"lib/active_documentum/types/dmc_completed_workitem.rb",
|
328
|
+
"lib/active_documentum/types/dmc_completed_workitem.rb",
|
329
|
+
"lib/active_documentum/types/dmc_composite_predicate.rb",
|
330
|
+
"lib/active_documentum/types/dmc_composite_predicate.rb",
|
331
|
+
"lib/active_documentum/types/dmc_config_scope_relation.rb",
|
332
|
+
"lib/active_documentum/types/dmc_config_scope_relation.rb",
|
333
|
+
"lib/active_documentum/types/dmc_constraint_set.rb",
|
334
|
+
"lib/active_documentum/types/dmc_constraint_set.rb",
|
335
|
+
"lib/active_documentum/types/dmc_dar.rb",
|
336
|
+
"lib/active_documentum/types/dmc_dar.rb",
|
337
|
+
"lib/active_documentum/types/dmc_jar.rb",
|
338
|
+
"lib/active_documentum/types/dmc_jar.rb",
|
339
|
+
"lib/active_documentum/types/dmc_java_library.rb",
|
340
|
+
"lib/active_documentum/types/dmc_java_library.rb",
|
341
|
+
"lib/active_documentum/types/dmc_metamodel.rb",
|
342
|
+
"lib/active_documentum/types/dmc_metamodel.rb",
|
343
|
+
"lib/active_documentum/types/dmc_module.rb",
|
344
|
+
"lib/active_documentum/types/dmc_module.rb",
|
345
|
+
"lib/active_documentum/types/dmc_module_config.rb",
|
346
|
+
"lib/active_documentum/types/dmc_module_config.rb",
|
347
|
+
"lib/active_documentum/types/dmc_notepage.rb",
|
348
|
+
"lib/active_documentum/types/dmc_notepage.rb",
|
349
|
+
"lib/active_documentum/types/dmc_preset_info.rb",
|
350
|
+
"lib/active_documentum/types/dmc_preset_info.rb",
|
351
|
+
"lib/active_documentum/types/dmc_preset_package.rb",
|
352
|
+
"lib/active_documentum/types/dmc_preset_package.rb",
|
353
|
+
"lib/active_documentum/types/dmc_process_correlation_set.rb",
|
354
|
+
"lib/active_documentum/types/dmc_process_correlation_set.rb",
|
355
|
+
"lib/active_documentum/types/dmc_process_parameter.rb",
|
356
|
+
"lib/active_documentum/types/dmc_process_parameter.rb",
|
357
|
+
"lib/active_documentum/types/dmc_readcomment.rb",
|
358
|
+
"lib/active_documentum/types/dmc_readcomment.rb",
|
359
|
+
"lib/active_documentum/types/dmc_relationship_def.rb",
|
360
|
+
"lib/active_documentum/types/dmc_relationship_def.rb",
|
361
|
+
"lib/active_documentum/types/dmc_richtext.rb",
|
362
|
+
"lib/active_documentum/types/dmc_richtext.rb",
|
363
|
+
"lib/active_documentum/types/dmc_room.rb",
|
364
|
+
"lib/active_documentum/types/dmc_room.rb",
|
365
|
+
"lib/active_documentum/types/dmc_routecase_condition.rb",
|
366
|
+
"lib/active_documentum/types/dmc_routecase_condition.rb",
|
367
|
+
"lib/active_documentum/types/dmc_tcf_activity.rb",
|
368
|
+
"lib/active_documentum/types/dmc_tcf_activity.rb",
|
369
|
+
"lib/active_documentum/types/dmc_tcf_activity_template.rb",
|
370
|
+
"lib/active_documentum/types/dmc_tcf_activity_template.rb",
|
371
|
+
"lib/active_documentum/types/dmc_topic.rb",
|
372
|
+
"lib/active_documentum/types/dmc_topic.rb",
|
373
|
+
"lib/active_documentum/types/dmc_transition_condition.rb",
|
374
|
+
"lib/active_documentum/types/dmc_transition_condition.rb",
|
375
|
+
"lib/active_documentum/types/dmc_validation_module.rb",
|
376
|
+
"lib/active_documentum/types/dmc_validation_module.rb",
|
377
|
+
"lib/active_documentum/types/dmc_validation_relation.rb",
|
378
|
+
"lib/active_documentum/types/dmc_validation_relation.rb",
|
379
|
+
"lib/active_documentum/types/dmc_wf_package_schema.rb",
|
380
|
+
"lib/active_documentum/types/dmc_wf_package_schema.rb",
|
381
|
+
"lib/active_documentum/types/dmc_wf_package_skill.rb",
|
382
|
+
"lib/active_documentum/types/dmc_wf_package_skill.rb",
|
383
|
+
"lib/active_documentum/types/dmc_wf_package_type_info.rb",
|
384
|
+
"lib/active_documentum/types/dmc_wf_package_type_info.rb",
|
385
|
+
"lib/active_documentum/types/dmc_wfsd_element.rb",
|
386
|
+
"lib/active_documentum/types/dmc_wfsd_element.rb",
|
387
|
+
"lib/active_documentum/types/dmc_wfsd_element_boolean.rb",
|
388
|
+
"lib/active_documentum/types/dmc_wfsd_element_boolean.rb",
|
389
|
+
"lib/active_documentum/types/dmc_wfsd_element_date.rb",
|
390
|
+
"lib/active_documentum/types/dmc_wfsd_element_date.rb",
|
391
|
+
"lib/active_documentum/types/dmc_wfsd_element_double.rb",
|
392
|
+
"lib/active_documentum/types/dmc_wfsd_element_double.rb",
|
393
|
+
"lib/active_documentum/types/dmc_wfsd_element_integer.rb",
|
394
|
+
"lib/active_documentum/types/dmc_wfsd_element_integer.rb",
|
395
|
+
"lib/active_documentum/types/dmc_wfsd_element_parent.rb",
|
396
|
+
"lib/active_documentum/types/dmc_wfsd_element_parent.rb",
|
397
|
+
"lib/active_documentum/types/dmc_wfsd_element_string.rb",
|
398
|
+
"lib/active_documentum/types/dmc_wfsd_element_string.rb",
|
399
|
+
"lib/active_documentum/types/dmc_wfsd_type_info.rb",
|
400
|
+
"lib/active_documentum/types/dmc_wfsd_type_info.rb",
|
401
|
+
"lib/active_documentum/types/dmc_wfsdrp_boolean.rb",
|
402
|
+
"lib/active_documentum/types/dmc_wfsdrp_boolean.rb",
|
403
|
+
"lib/active_documentum/types/dmc_wfsdrp_date.rb",
|
404
|
+
"lib/active_documentum/types/dmc_wfsdrp_date.rb",
|
405
|
+
"lib/active_documentum/types/dmc_wfsdrp_double.rb",
|
406
|
+
"lib/active_documentum/types/dmc_wfsdrp_double.rb",
|
407
|
+
"lib/active_documentum/types/dmc_wfsdrp_integer.rb",
|
408
|
+
"lib/active_documentum/types/dmc_wfsdrp_integer.rb",
|
409
|
+
"lib/active_documentum/types/dmc_wfsdrp_parent.rb",
|
410
|
+
"lib/active_documentum/types/dmc_wfsdrp_parent.rb",
|
411
|
+
"lib/active_documentum/types/dmc_wfsdrp_string.rb",
|
412
|
+
"lib/active_documentum/types/dmc_wfsdrp_string.rb",
|
413
|
+
"lib/active_documentum/types/dmc_workqueue.rb",
|
414
|
+
"lib/active_documentum/types/dmc_workqueue.rb",
|
415
|
+
"lib/active_documentum/types/dmc_workqueue_category.rb",
|
416
|
+
"lib/active_documentum/types/dmc_workqueue_category.rb",
|
417
|
+
"lib/active_documentum/types/dmc_workqueue_doc_profile.rb",
|
418
|
+
"lib/active_documentum/types/dmc_workqueue_doc_profile.rb",
|
419
|
+
"lib/active_documentum/types/dmc_workqueue_policy.rb",
|
420
|
+
"lib/active_documentum/types/dmc_workqueue_policy.rb",
|
421
|
+
"lib/active_documentum/types/dmc_workqueue_user_profile.rb",
|
422
|
+
"lib/active_documentum/types/dmc_workqueue_user_profile.rb",
|
423
|
+
"lib/active_documentum/types/dmc_wpr_parent.rb",
|
424
|
+
"lib/active_documentum/types/dmc_wpr_parent.rb",
|
425
|
+
"lib/active_documentum/types/dmc_wq_skill_info.rb",
|
426
|
+
"lib/active_documentum/types/dmc_wq_skill_info.rb",
|
427
|
+
"lib/active_documentum/types/dmc_wq_task_skill.rb",
|
428
|
+
"lib/active_documentum/types/dmc_wq_task_skill.rb",
|
429
|
+
"lib/active_documentum/types/dmc_wq_user_skill.rb",
|
430
|
+
"lib/active_documentum/types/dmc_wq_user_skill.rb",
|
431
|
+
"lib/active_documentum/types/dmi_audittrail_attrs.rb",
|
432
|
+
"lib/active_documentum/types/dmi_audittrail_attrs.rb",
|
433
|
+
"lib/active_documentum/types/dmi_change_record.rb",
|
434
|
+
"lib/active_documentum/types/dmi_change_record.rb",
|
435
|
+
"lib/active_documentum/types/dmi_dd_attr_info.rb",
|
436
|
+
"lib/active_documentum/types/dmi_dd_attr_info.rb",
|
437
|
+
"lib/active_documentum/types/dmi_dd_common_info.rb",
|
438
|
+
"lib/active_documentum/types/dmi_dd_common_info.rb",
|
439
|
+
"lib/active_documentum/types/dmi_dd_type_info.rb",
|
440
|
+
"lib/active_documentum/types/dmi_dd_type_info.rb",
|
441
|
+
"lib/active_documentum/types/dmi_dist_comp_record.rb",
|
442
|
+
"lib/active_documentum/types/dmi_dist_comp_record.rb",
|
443
|
+
"lib/active_documentum/types/dmi_dump_object_record.rb",
|
444
|
+
"lib/active_documentum/types/dmi_dump_object_record.rb",
|
445
|
+
"lib/active_documentum/types/dmi_expr_code.rb",
|
446
|
+
"lib/active_documentum/types/dmi_expr_code.rb",
|
447
|
+
"lib/active_documentum/types/dmi_index.rb",
|
448
|
+
"lib/active_documentum/types/dmi_index.rb",
|
449
|
+
"lib/active_documentum/types/dmi_linkrecord.rb",
|
450
|
+
"lib/active_documentum/types/dmi_linkrecord.rb",
|
451
|
+
"lib/active_documentum/types/dmi_load_object_record.rb",
|
452
|
+
"lib/active_documentum/types/dmi_load_object_record.rb",
|
453
|
+
"lib/active_documentum/types/dmi_otherfile.rb",
|
454
|
+
"lib/active_documentum/types/dmi_otherfile.rb",
|
455
|
+
"lib/active_documentum/types/dmi_package.rb",
|
456
|
+
"lib/active_documentum/types/dmi_package.rb",
|
457
|
+
"lib/active_documentum/types/dmi_queue_item.rb",
|
458
|
+
"lib/active_documentum/types/dmi_queue_item.rb",
|
459
|
+
"lib/active_documentum/types/dmi_recovery.rb",
|
460
|
+
"lib/active_documentum/types/dmi_recovery.rb",
|
461
|
+
"lib/active_documentum/types/dmi_registry.rb",
|
462
|
+
"lib/active_documentum/types/dmi_registry.rb",
|
463
|
+
"lib/active_documentum/types/dmi_replica_record.rb",
|
464
|
+
"lib/active_documentum/types/dmi_replica_record.rb",
|
465
|
+
"lib/active_documentum/types/dmi_sequence.rb",
|
466
|
+
"lib/active_documentum/types/dmi_sequence.rb",
|
467
|
+
"lib/active_documentum/types/dmi_session.rb",
|
468
|
+
"lib/active_documentum/types/dmi_session.rb",
|
469
|
+
"lib/active_documentum/types/dmi_subcontent.rb",
|
470
|
+
"lib/active_documentum/types/dmi_subcontent.rb",
|
471
|
+
"lib/active_documentum/types/dmi_transactionlog.rb",
|
472
|
+
"lib/active_documentum/types/dmi_transactionlog.rb",
|
473
|
+
"lib/active_documentum/types/dmi_type_info.rb",
|
474
|
+
"lib/active_documentum/types/dmi_type_info.rb",
|
475
|
+
"lib/active_documentum/types/dmi_vstamp.rb",
|
476
|
+
"lib/active_documentum/types/dmi_vstamp.rb",
|
477
|
+
"lib/active_documentum/types/dmi_wf_attachment.rb",
|
478
|
+
"lib/active_documentum/types/dmi_wf_attachment.rb",
|
479
|
+
"lib/active_documentum/types/dmi_wf_timer.rb",
|
480
|
+
"lib/active_documentum/types/dmi_wf_timer.rb",
|
481
|
+
"lib/active_documentum/types/dmi_workitem.rb",
|
482
|
+
"lib/active_documentum/types/dmi_workitem.rb",
|
483
|
+
"lib/active_documentum/types/dmr_containment.rb",
|
484
|
+
"lib/active_documentum/types/dmr_containment.rb",
|
485
|
+
"lib/active_documentum/types/dmr_content.rb",
|
486
|
+
"lib/active_documentum/types/dmr_content.rb",
|
487
|
+
"lib/active_documentum/typescfs_import_batch.rb",
|
488
|
+
"lib/support.rb",
|
489
|
+
"lib/support.rb",
|
490
|
+
"samples/folder_browse.rb",
|
491
|
+
"samples/migrate_power_users.rb",
|
492
|
+
"test/active_documentum/access_control_client_test.rb",
|
493
|
+
"test/active_documentum/docbase_config_test.rb",
|
494
|
+
"test/active_documentum/object_client_test.rb",
|
495
|
+
"test/active_documentum/query_client_test.rb",
|
496
|
+
"test/active_documentum/schema_client_test.rb",
|
497
|
+
"test/active_documentum/search_client_test.rb",
|
498
|
+
"test/active_documentum/types/dm_group_test.rb",
|
499
|
+
"test/active_documentum/types/dm_user_test.rb",
|
500
|
+
"test/active_documentum_test.rb",
|
501
|
+
"test/test_helper.rb"
|
502
|
+
]
|
503
|
+
s.homepage = %q{http://github.com/vertis/active_documentum}
|
504
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
505
|
+
s.require_paths = ["lib"]
|
506
|
+
s.rubygems_version = %q{1.3.6}
|
507
|
+
s.summary = %q{Active Documentum}
|
508
|
+
s.test_files = [
|
509
|
+
"test/active_documentum/access_control_client_test.rb",
|
510
|
+
"test/active_documentum/docbase_config_test.rb",
|
511
|
+
"test/active_documentum/object_client_test.rb",
|
512
|
+
"test/active_documentum/query_client_test.rb",
|
513
|
+
"test/active_documentum/schema_client_test.rb",
|
514
|
+
"test/active_documentum/search_client_test.rb",
|
515
|
+
"test/active_documentum/types/dm_group_test.rb",
|
516
|
+
"test/active_documentum/types/dm_user_test.rb",
|
517
|
+
"test/active_documentum_test.rb",
|
518
|
+
"test/test_helper.rb"
|
519
|
+
]
|
520
|
+
|
521
|
+
if s.respond_to? :specification_version then
|
522
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
523
|
+
s.specification_version = 3
|
524
|
+
|
525
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
526
|
+
else
|
527
|
+
end
|
528
|
+
else
|
529
|
+
end
|
530
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
class Dir
|
2
|
+
def self.require_all(directory)
|
3
|
+
self.entries(directory).each do |file|
|
4
|
+
if file =~ /\.rb/ or file =~ /\.rake/
|
5
|
+
require directory + file
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
10
|
+
APP_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(APP_ROOT)
|
11
|
+
|
12
|
+
#$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
13
|
+
#$LOAD_PATH.unshift(File.dirname(__FILE__))
|
14
|
+
|
15
|
+
$environment="development"
|
16
|
+
require 'rubygems'
|
17
|
+
require 'fileutils'
|
18
|
+
|
19
|
+
#gem 'yaml_pure'
|
20
|
+
#gem 'log4r'
|
21
|
+
#gem 'fastercsv'
|
22
|
+
|
23
|
+
|
24
|
+
require 'yaml'
|
25
|
+
require 'log4r'
|
26
|
+
require 'fastercsv'
|
27
|
+
|
28
|
+
|
29
|
+
include Log4r
|
30
|
+
$log = Logger.new($environment)
|
31
|
+
#$log.level = Log4r::INFO
|
32
|
+
format = PatternFormatter.new(:pattern => "[%l] %d :: %M")
|
33
|
+
stdout_outputter = Outputter.stdout
|
34
|
+
stdout_outputter.formatter = format
|
35
|
+
FileUtils.mkdir_p('log')
|
36
|
+
file = FileOutputter.new('fileOutputter', :filename => "log/#{File.basename($0)}_#{$environment}.log",:trunc => false)
|
37
|
+
file.formatter = format
|
38
|
+
$log.outputters = stdout_outputter, file
|
39
|
+
|
40
|
+
#$log.debug 'requiring active_documentum'
|
41
|
+
require 'lib/active_documentum'
|
42
|
+
#require 'active_documentum'
|
43
|
+
|
44
|
+
#require 'lib/support'
|
45
|
+
# load_paths = ['lib/', 'app/models/']
|
46
|
+
# load_paths.each do |path|
|
47
|
+
# $log.debug "requiring everything in #{path}"
|
48
|
+
# Dir.require_all(path)
|
49
|
+
# end
|
50
|
+
|
51
|
+
|
52
|
+
|
data/lib/active_documentum.rb
CHANGED
@@ -1 +1,98 @@
|
|
1
|
-
#$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
1
|
require entry
|
3
2
|
autoload :DocbaseConfig, 'active_documentum/docbase_config'
|
4
3
|
autoload :Session, 'active_documentum/session'
|
5
4
|
autoload :Base, 'active_documentum/base'
|
6
5
|
autoload :Schema, 'active_documentum/schema'
|
7
6
|
|
8
7
|
autoload :QueryClient, 'active_documentum/query_client'
|
9
8
|
autoload :SchemaClient, 'active_documentum/schema_client'
|
10
9
|
autoload :ObjectClient, 'active_documentum/object_client'
|
11
10
|
autoload :SearchClient, 'active_documentum/search_client'
|
12
11
|
autoload :AccessControlClient, 'active_documentum/access_control_client'
|
13
12
|
ActiveDocumentum::DocbaseConfig.load
|
14
13
|
Dir[File.join(File.dirname(__FILE__),'active_documentum/types')+'/*'].each do |file_name|
|
15
14
|
autoload camelize(File.basename(file_name,'.rb')).intern, file_name
|
16
15
|
end
|
16
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
17
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
18
|
+
|
19
|
+
unless RUBY_PLATFORM =~ /java/
|
20
|
+
warn "ActiveDocumentum is only for use with JRuby"
|
21
|
+
else
|
22
|
+
#require 'java'
|
23
|
+
require 'fileutils'
|
24
|
+
require 'yaml'
|
25
|
+
require 'support'
|
26
|
+
|
27
|
+
$environment ||= 'default'
|
28
|
+
#ENVIRONMENT ||= 'production'
|
29
|
+
|
30
|
+
dfs_lib_path = File.expand_path((ENV['DFS_HOME'] || "")) + '/lib/java'
|
31
|
+
Dir["#{dfs_lib_path}/**/*.jar"].each do |entry|
|
32
|
+
require entry
|
33
|
+
end
|
34
|
+
|
35
|
+
import com.emc.documentum.fs.datamodel.core.context.RepositoryIdentity
|
36
|
+
import com.emc.documentum.fs.rt.context.ContextFactory
|
37
|
+
import com.emc.documentum.fs.rt.context.IServiceContext
|
38
|
+
import com.emc.documentum.fs.rt.context.ServiceFactory
|
39
|
+
|
40
|
+
import com.emc.documentum.fs.datamodel.core.CacheStrategyType
|
41
|
+
import com.emc.documentum.fs.datamodel.core.DataObject
|
42
|
+
import com.emc.documentum.fs.datamodel.core.DataPackage
|
43
|
+
import com.emc.documentum.fs.datamodel.core.properties.PropertySet
|
44
|
+
import com.emc.documentum.fs.datamodel.core.OperationOptions
|
45
|
+
import com.emc.documentum.fs.datamodel.core.query.PassthroughQuery
|
46
|
+
import com.emc.documentum.fs.datamodel.core.query.QueryExecution
|
47
|
+
import com.emc.documentum.fs.datamodel.core.query.QueryResult
|
48
|
+
import com.emc.documentum.fs.services.core.client.IQueryService
|
49
|
+
|
50
|
+
import com.emc.documentum.fs.datamodel.core.profiles.SchemaProfile
|
51
|
+
import com.emc.documentum.fs.services.core.client.ISchemaService
|
52
|
+
|
53
|
+
import com.emc.documentum.fs.datamodel.core.profiles.ContentProfile
|
54
|
+
import com.emc.documentum.fs.datamodel.core.profiles.ContentTransferProfile
|
55
|
+
import com.emc.documentum.fs.datamodel.core.content.ContentTransferMode
|
56
|
+
import com.emc.documentum.fs.datamodel.core.profiles.FormatFilter
|
57
|
+
import com.emc.documentum.fs.datamodel.core.profiles.PropertyProfile
|
58
|
+
import com.emc.documentum.fs.datamodel.core.profiles.PropertyFilterMode
|
59
|
+
import com.emc.documentum.fs.datamodel.core.profiles.PermissionTypeFilter
|
60
|
+
import com.emc.documentum.fs.datamodel.core.profiles.PermissionProfile
|
61
|
+
import com.emc.documentum.fs.services.core.client.IObjectService
|
62
|
+
import com.emc.documentum.fs.datamodel.core.ObjectIdentity
|
63
|
+
import com.emc.documentum.fs.datamodel.core.ObjectIdentitySet
|
64
|
+
import com.emc.documentum.fs.datamodel.core.ObjectId
|
65
|
+
import com.emc.documentum.fs.datamodel.core.ObjectPath
|
66
|
+
|
67
|
+
import com.emc.documentum.fs.datamodel.core.content.FileContent
|
68
|
+
|
69
|
+
import com.emc.documentum.fs.datamodel.core.ReferenceRelationship
|
70
|
+
import com.emc.documentum.fs.datamodel.core.Relationship
|
71
|
+
|
72
|
+
import com.emc.documentum.fs.services.search.client.ISearchService
|
73
|
+
import com.emc.documentum.fs.datamodel.core.Permission
|
74
|
+
import com.emc.documentum.fs.datamodel.core.PermissionType
|
75
|
+
import com.emc.documentum.fs.datamodel.core.acl.AccessType
|
76
|
+
import com.emc.documentum.fs.datamodel.core.acl.Acl
|
77
|
+
import com.emc.documentum.fs.datamodel.core.acl.AclEntry
|
78
|
+
import com.emc.documentum.fs.datamodel.core.acl.AclIdentity
|
79
|
+
import com.emc.documentum.fs.datamodel.core.acl.AclPackage
|
80
|
+
import com.emc.documentum.fs.datamodel.core.acl.AclVisibility
|
81
|
+
import com.emc.documentum.fs.rt.ServiceInvocationException
|
82
|
+
import com.emc.documentum.fs.services.core.acl.ServiceException
|
83
|
+
import com.emc.documentum.fs.services.core.acl.client.IAccessControlService
|
84
|
+
import java.util.ArrayList
|
85
|
+
|
86
|
+
include Support
|
87
|
+
|
88
|
+
module ActiveDocumentum
|
89
|
+
autoload :DocbaseConfig, 'active_documentum/docbase_config'
|
90
|
+
autoload :Session, 'active_documentum/session'
|
91
|
+
autoload :Base, 'active_documentum/base'
|
92
|
+
autoload :Schema, 'active_documentum/schema'
|
93
|
+
|
94
|
+
autoload :QueryClient, 'active_documentum/query_client'
|
95
|
+
autoload :SchemaClient, 'active_documentum/schema_client'
|
96
|
+
autoload :ObjectClient, 'active_documentum/object_client'
|
97
|
+
autoload :SearchClient, 'active_documentum/search_client'
|
98
|
+
autoload :AccessControlClient, 'active_documentum/access_control_client'
|
99
|
+
end
|
100
|
+
|
101
|
+
if File.exists? 'config/environment.yml'
|
102
|
+
ActiveDocumentum::DocbaseConfig.load
|
103
|
+
end
|
104
|
+
|
105
|
+
|
106
|
+
# load our existing cached types
|
107
|
+
$log.debug "Loading types from: #{File.join(File.dirname(__FILE__),'active_documentum/types')}"
|
108
|
+
if File.exists? File.join(File.dirname(__FILE__),'active_documentum/types')
|
109
|
+
Dir[File.join(File.dirname(__FILE__),'active_documentum/types')+'/*'].each do |file_name|
|
110
|
+
autoload camelize(File.basename(file_name,'.rb')).intern, file_name
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
DmGroup.find(:all, :columns => "r_object_id, i_all_users_names", :conditions => {:group_name => 'ey_tax_power_user'})
|
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
|
2
|
+
name: active_documentum
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
10
|
+
platform: java
|
11
|
+
authors:
|
12
|
+
- Luke Chadwick
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
3
16
|
|
4
|
-
|
17
|
+
date: 2010-02-26 00:00:00 +11:00
|
18
|
+
default_executable:
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description:
|
22
|
+
email: luke.a.chadwick@gmail.com
|
5
23
|
executables: []
|
6
24
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files:
|
28
|
+
- LICENSE
|
29
|
+
- README.rdoc
|
11
30
|
files:
|
31
|
+
- .gitignore
|
32
|
+
- .irbrc
|
33
|
+
- LICENSE
|
34
|
+
- README.rdoc
|
35
|
+
- Rakefile
|
36
|
+
- VERSION.yml
|
37
|
+
- active_documentum.gemspec
|
38
|
+
- config/environment.rb
|
39
|
+
- config/environment.yml.sample
|
12
40
|
- lib/active_documentum.rb
|
13
41
|
- lib/active_documentum/access_control_client.rb
|
14
42
|
- lib/active_documentum/base.rb
|
@@ -241,40 +269,49 @@ files:
|
|
241
269
|
- lib/active_documentum/types/dmr_content.rb
|
242
270
|
- lib/active_documentum/typescfs_import_batch.rb
|
243
271
|
- lib/support.rb
|
244
|
-
-
|
245
|
-
-
|
246
|
-
|
247
|
-
|
248
|
-
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
272
|
+
- samples/folder_browse.rb
|
273
|
+
- samples/migrate_power_users.rb
|
274
|
+
- test/active_documentum/access_control_client_test.rb
|
275
|
+
- test/active_documentum/docbase_config_test.rb
|
276
|
+
- test/active_documentum/object_client_test.rb
|
277
|
+
- test/active_documentum/query_client_test.rb
|
278
|
+
- test/active_documentum/schema_client_test.rb
|
279
|
+
- test/active_documentum/search_client_test.rb
|
280
|
+
- test/active_documentum/types/dm_group_test.rb
|
281
|
+
- test/active_documentum/types/dm_user_test.rb
|
282
|
+
- test/active_documentum_test.rb
|
283
|
+
- test/test_helper.rb
|
253
284
|
has_rdoc: true
|
254
|
-
|
255
|
-
summary: Active Documentum
|
256
|
-
default_executable:
|
257
|
-
bindir: bin
|
285
|
+
homepage: http://github.com/vertis/active_documentum
|
258
286
|
licenses: []
|
259
287
|
|
260
|
-
|
261
|
-
|
288
|
+
post_install_message:
|
289
|
+
rdoc_options:
|
290
|
+
- --charset=UTF-8
|
291
|
+
require_paths:
|
292
|
+
- lib
|
293
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
262
294
|
requirements:
|
263
|
-
- -
|
295
|
+
- - ">="
|
264
296
|
- !ruby/object:Gem::Version
|
297
|
+
segments:
|
298
|
+
- 0
|
265
299
|
version: "0"
|
266
|
-
|
267
|
-
version:
|
300
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
301
|
requirements:
|
269
|
-
- -
|
302
|
+
- - ">="
|
270
303
|
- !ruby/object:Gem::Version
|
304
|
+
segments:
|
305
|
+
- 0
|
271
306
|
version: "0"
|
272
|
-
|
273
|
-
|
307
|
+
requirements: []
|
308
|
+
|
309
|
+
rubyforge_project:
|
310
|
+
rubygems_version: 1.3.6
|
311
|
+
signing_key:
|
274
312
|
specification_version: 3
|
313
|
+
summary: Active Documentum
|
275
314
|
test_files:
|
276
|
-
- test/active_documentum_test.rb
|
277
|
-
- test/test_helper.rb
|
278
315
|
- test/active_documentum/access_control_client_test.rb
|
279
316
|
- test/active_documentum/docbase_config_test.rb
|
280
317
|
- test/active_documentum/object_client_test.rb
|
@@ -283,16 +320,5 @@ test_files:
|
|
283
320
|
- test/active_documentum/search_client_test.rb
|
284
321
|
- test/active_documentum/types/dm_group_test.rb
|
285
322
|
- test/active_documentum/types/dm_user_test.rb
|
286
|
-
|
287
|
-
|
288
|
-
description:
|
289
|
-
email: luke.a.chadwick@gmail.com
|
290
|
-
authors:
|
291
|
-
- Luke Chadwick
|
292
|
-
extra_rdoc_files:
|
293
|
-
- LICENSE
|
294
|
-
- README.rdoc
|
295
|
-
requirements: []
|
296
|
-
|
297
|
-
rubyforge_project:
|
298
|
-
autorequire:
|
323
|
+
- test/active_documentum_test.rb
|
324
|
+
- test/test_helper.rb
|