first classes for database storage. analogous to the blog example
This commit is contained in:
22
modules/file_upload/persistence/cms_file_upload_storage_i.e
Normal file
22
modules/file_upload/persistence/cms_file_upload_storage_i.e
Normal 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user