first classes for database storage. analogous to the blog example

This commit is contained in:
fmurer
2015-12-30 00:07:45 +01:00
parent f439a791a9
commit 5e55a6f1f1
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
note
description: "Summary description for {CMS_FILE_UPLOAD_STORAGE_I}."
author: "fmurer"
date: "$Date$"
revision: "$Revision$"
deferred class
CMS_FILE_UPLOAD_STORAGE_I
feature -- Access
files_count: INTEGER_64
-- count of files
deferred
end
files:<3A>LIST [CMS_NODE]
-- List of files
deferred
end
end

View File

@@ -0,0 +1,19 @@
note
description: "Summary description for {CMS_FILE_UPLOAD_STORAGE_SQL}."
author: "fmurer"
date: "$Date$"
revision: "$Revision$"
class
CMS_FILE_UPLOAD_STORAGE_SQL
inherit
CMS_NODE_STORAGE_SQL
CMS_FILE_UPLOAD_STORAGE_I
create
make
end