Updated CMS node and blog to remove extension data.

Comments: minor update.

Updated CMS_NODE_STORAGE_I API.
Delete a node using a node as formal parameter instead of node id.
Clean code and update log information.

Added precondition to delete node to accept nodes with a valid a id.

Added missing assertions tag names.
This commit is contained in:
jvelilla
2015-09-15 08:54:43 -03:00
parent f9ecd4956f
commit ed614a662c
7 changed files with 78 additions and 27 deletions

View File

@@ -49,6 +49,13 @@ feature -- Persistence
end
end
delete_node (a_node: CMS_NODE)
-- remove node extensions.
require
a_node_accepted: is_accepted (a_node)
deferred
end
feature {NONE} -- Persistence implementation
store (a_node: G)