Class: CmisServer::AtomPub::EntriesController
Instance Method Summary
collapse
#set_repository
#raw_post_body, #render_standard_error, #request_entry_parser
#check_auth, #context
Instance Method Details
#destroy ⇒ Object
17
18
19
|
# File 'app/controllers/cmis_server/atom_pub/entries_controller.rb', line 17
def destroy
end
|
#show ⇒ Object
7
8
9
10
|
# File 'app/controllers/cmis_server/atom_pub/entries_controller.rb', line 7
def show
@object=object_service.get_object(id, with_object: true, filter: filter)
render 'cmis_server/atom_pub/entries/object_entry', formats: :atom_entry
end
|
#update ⇒ Object
12
13
14
15
|
# File 'app/controllers/cmis_server/atom_pub/entries_controller.rb', line 12
def update
@object=object_service.update_properties(id, request_entry_parser.object_properties, with_object: true)
render 'cmis_server/atom_pub/entries/object_entry', formats: :atom_entry, status: 200
end
|