Cosmetic/comments.
This commit is contained in:
@@ -41,6 +41,7 @@ feature -- Access
|
|||||||
feature -- Persistence
|
feature -- Persistence
|
||||||
|
|
||||||
store (a_node: CMS_BLOG)
|
store (a_node: CMS_BLOG)
|
||||||
|
-- <Precursor>.
|
||||||
local
|
local
|
||||||
l_parameters: STRING_TABLE [detachable ANY]
|
l_parameters: STRING_TABLE [detachable ANY]
|
||||||
l_new_tags: detachable STRING_32
|
l_new_tags: detachable STRING_32
|
||||||
@@ -97,6 +98,7 @@ feature -- Persistence
|
|||||||
end
|
end
|
||||||
|
|
||||||
load (a_node: CMS_BLOG)
|
load (a_node: CMS_BLOG)
|
||||||
|
-- <Precursor>.
|
||||||
local
|
local
|
||||||
l_tags: READABLE_STRING_32
|
l_tags: READABLE_STRING_32
|
||||||
do
|
do
|
||||||
@@ -106,7 +108,10 @@ feature -- Persistence
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
node_data (a_node: CMS_NODE): detachable TUPLE [revision: INTEGER_64; tags: READABLE_STRING_32]
|
node_data (a_node: CMS_NODE): detachable TUPLE [revision: INTEGER_64; tags: READABLE_STRING_32]
|
||||||
|
-- Node extension data for node `a_node' as tuple.
|
||||||
local
|
local
|
||||||
l_parameters: STRING_TABLE [ANY]
|
l_parameters: STRING_TABLE [ANY]
|
||||||
l_rev: INTEGER_64
|
l_rev: INTEGER_64
|
||||||
|
|||||||
@@ -222,6 +222,7 @@ feature -- Access: Node
|
|||||||
end
|
end
|
||||||
|
|
||||||
node_revisions (a_node: CMS_NODE): LIST [CMS_NODE]
|
node_revisions (a_node: CMS_NODE): LIST [CMS_NODE]
|
||||||
|
-- List of revisions for node `a_node'.
|
||||||
do
|
do
|
||||||
Result := node_storage.node_revisions (a_node)
|
Result := node_storage.node_revisions (a_node)
|
||||||
Result := full_nodes (Result)
|
Result := full_nodes (Result)
|
||||||
|
|||||||
@@ -52,10 +52,12 @@ feature -- Persistence
|
|||||||
feature {NONE} -- Persistence implementation
|
feature {NONE} -- Persistence implementation
|
||||||
|
|
||||||
store (a_node: G)
|
store (a_node: G)
|
||||||
|
-- Store extension data from node `a_node'.
|
||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
load (a_node: G)
|
load (a_node: G)
|
||||||
|
-- Load extension data into node `a_node'.
|
||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ feature -- Access
|
|||||||
feature -- Persistence
|
feature -- Persistence
|
||||||
|
|
||||||
store (a_node: CMS_PAGE)
|
store (a_node: CMS_PAGE)
|
||||||
|
-- <Precursor>.
|
||||||
local
|
local
|
||||||
l_parameters: STRING_TABLE [ANY]
|
l_parameters: STRING_TABLE [ANY]
|
||||||
l_new_parent_id, l_previous_parent_id: INTEGER_64
|
l_new_parent_id, l_previous_parent_id: INTEGER_64
|
||||||
@@ -87,6 +88,7 @@ feature -- Persistence
|
|||||||
end
|
end
|
||||||
|
|
||||||
load (a_node: CMS_PAGE)
|
load (a_node: CMS_PAGE)
|
||||||
|
-- <Precursor>.
|
||||||
local
|
local
|
||||||
ct: CMS_PAGE_NODE_TYPE
|
ct: CMS_PAGE_NODE_TYPE
|
||||||
l_parent_id: INTEGER_64
|
l_parent_id: INTEGER_64
|
||||||
@@ -110,7 +112,10 @@ feature -- Persistence
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
node_data (a_node: CMS_NODE): detachable TUPLE [parent_id: INTEGER_64]
|
node_data (a_node: CMS_NODE): detachable TUPLE [parent_id: INTEGER_64]
|
||||||
|
-- Node extension data for node `a_node' as tuple.
|
||||||
local
|
local
|
||||||
l_parameters: STRING_TABLE [ANY]
|
l_parameters: STRING_TABLE [ANY]
|
||||||
n: INTEGER
|
n: INTEGER
|
||||||
|
|||||||
Reference in New Issue
Block a user