2016-10-19 03:11:36 +00:00
|
|
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
2014-09-09 23:42:20 +00:00
|
|
|
|
|
|
|
class ObjectManager
|
|
|
|
|
|
|
|
=begin
|
|
|
|
|
2014-11-06 23:37:05 +00:00
|
|
|
list all backend managed object
|
2014-09-09 23:42:20 +00:00
|
|
|
|
2016-05-19 08:20:38 +00:00
|
|
|
ObjectManager.list_objects
|
2014-09-09 23:42:20 +00:00
|
|
|
|
|
|
|
=end
|
|
|
|
|
2015-05-05 10:51:19 +00:00
|
|
|
def self.list_objects
|
2017-11-23 08:09:44 +00:00
|
|
|
%w[Ticket TicketArticle User Organization Group]
|
2014-11-06 23:37:05 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
=begin
|
|
|
|
|
|
|
|
list all frontend managed object
|
|
|
|
|
2016-05-19 08:20:38 +00:00
|
|
|
ObjectManager.list_frontend_objects
|
2014-11-06 23:37:05 +00:00
|
|
|
|
|
|
|
=end
|
|
|
|
|
2015-05-05 10:51:19 +00:00
|
|
|
def self.list_frontend_objects
|
2017-11-23 08:09:44 +00:00
|
|
|
%w[Ticket User Organization Group]
|
2015-01-04 12:49:04 +00:00
|
|
|
end
|
|
|
|
|
2015-04-27 14:15:29 +00:00
|
|
|
end
|