Updated templates and fixed typos.

Renamed classes
This commit is contained in:
jvelilla
2016-01-08 20:26:34 -03:00
parent 0ca336d467
commit 0cf6e59a76
18 changed files with 97 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ note
revision: "$Revision$"
deferred class
CMS_TEMPORAL_USER_STORAGE_I
CMS_TEMP_USER_STORAGE_I
inherit
SHARED_LOGGER
@@ -57,7 +57,7 @@ feature -- Access: Users
password: Result /= Void implies (Result.hashed_password /= Void and Result.password = Void)
end
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMPORAL_USER]
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMP_USER]
-- List of recent `a_count' temporal users with an offset of `lower'.
deferred
end
@@ -71,7 +71,7 @@ feature -- Access: Users
feature -- New Temp User
new_user_from_temporal_user (a_user: CMS_TEMPORAL_USER)
new_user_from_temporal_user (a_user: CMS_TEMP_USER)
-- new user from temporal user `a_user'
require
no_id: not a_user.has_id
@@ -83,14 +83,14 @@ feature -- New Temp User
deferred
end
new_temp_user (a_user: CMS_TEMPORAL_USER)
new_temp_user (a_user: CMS_TEMP_USER)
-- New temp user `a_user'.
require
no_id: not a_user.has_id
deferred
end
delete_user (a_user: CMS_USER)
delete_user (a_user: CMS_TEMP_USER)
-- Delete user `a_user'.
require
has_id: a_user.has_id

View File

@@ -1,14 +1,14 @@
note
description: "Summary description for {CMS_TEMPORAL_USER_STORAGE_NULL}."
description: "Summary description for {CMS_TEMP_USER_STORAGE_NULL}."
date: "$Date$"
revision: "$Revision$"
class
CMS_TEMPORAL_USER_STORAGE_NULL
CMS_TEMP_USER_STORAGE_NULL
inherit
CMS_TEMPORAL_USER_STORAGE_I
CMS_TEMP_USER_STORAGE_I
feature -- Error handler
@@ -46,10 +46,10 @@ feature -- Access: Users
do
end
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMPORAL_USER]
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMP_USER]
-- List of recent `a_count' temporal users with an offset of `lower'.
do
create {ARRAYED_LIST[CMS_TEMPORAL_USER]} Result.make (0)
create {ARRAYED_LIST[CMS_TEMP_USER]} Result.make (0)
end
token_by_user_id (a_id: like {CMS_USER}.id): detachable STRING
@@ -59,7 +59,7 @@ feature -- Access: Users
feature -- Temp Users
new_user_from_temporal_user (a_user: CMS_TEMPORAL_USER)
new_user_from_temporal_user (a_user: CMS_TEMP_USER)
-- <Precursor>
do
end
@@ -70,12 +70,12 @@ feature -- Temp Users
do
end
new_temp_user (a_user: CMS_TEMPORAL_USER)
new_temp_user (a_user: CMS_TEMP_USER)
-- <Precursor>
do
end
delete_user (a_user: CMS_USER)
delete_user (a_user: CMS_TEMP_USER)
-- <Precursor>
do
end

View File

@@ -1,13 +1,13 @@
note
description: "Summary description for {CMS_TEMPORAL_USER_STORAGE_SQL}."
description: "Summary description for {CMS_TEMP_USER_STORAGE_SQL}."
date: "$Date$"
revision: "$Revision$"
class
CMS_TEMPORAL_USER_STORAGE_SQL
CMS_TEMP_USER_STORAGE_SQL
inherit
CMS_TEMPORAL_USER_STORAGE_I
CMS_TEMP_USER_STORAGE_I
CMS_PROXY_STORAGE_SQL
@@ -113,12 +113,12 @@ feature -- Access User
sql_finalize
end
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMPORAL_USER]
recent_users (a_lower: INTEGER; a_count: INTEGER): LIST [CMS_TEMP_USER]
-- <Precursor>
local
l_parameters: STRING_TABLE [detachable ANY]
do
create {ARRAYED_LIST [CMS_TEMPORAL_USER]} Result.make (0)
create {ARRAYED_LIST [CMS_TEMP_USER]} Result.make (0)
error_handler.reset
write_information_log (generator + ".recent_users")
@@ -162,7 +162,7 @@ feature -- Access User
feature {NONE} -- Implementation: User
fetch_user: detachable CMS_TEMPORAL_USER
fetch_user: detachable CMS_TEMP_USER
local
l_id: INTEGER_64
l_name: detachable READABLE_STRING_32
@@ -204,7 +204,7 @@ feature {NONE} -- Implementation: User
feature -- New Temp User
new_user_from_temporal_user (a_user: CMS_TEMPORAL_USER)
new_user_from_temporal_user (a_user: CMS_TEMP_USER)
-- <Precursor>
local
l_parameters: STRING_TABLE [detachable ANY]
@@ -242,7 +242,7 @@ feature -- New Temp User
end
end
new_temp_user (a_user: CMS_TEMPORAL_USER)
new_temp_user (a_user: CMS_TEMP_USER)
-- Add a new temp_user `a_user'.
local
l_parameters: STRING_TABLE [detachable ANY]
@@ -301,7 +301,7 @@ feature -- Remove Activation
sql_finalize
end
delete_user (a_user: CMS_USER)
delete_user (a_user: CMS_TEMP_USER)
-- Delete user `a_user'.
local
l_parameters: STRING_TABLE [detachable ANY]