Draft entry in server side -- delete draft entry
2016-08-29 14:48:11 0 举报
服务器端草稿条目删除功能允许用户在需要时彻底移除不再需要的草稿。这个功能通常用于内容管理系统,如博客、论坛或在线文档编辑器,用户可以在其中创建新的帖子、评论或文档,并在发布之前保存为草稿。然而,有时用户可能会改变主意,或者发现草稿中的信息有误,这时他们就可以调用这个”删除草稿”的功能,将草稿从服务器上彻底删除,以释放存储空间并保持数据的整洁性。此外,这个功能通常也会提供一个安全确认步骤,以防止用户误删重要的草稿。
作者其他创作
大纲/内容
is Public?
Is PPC user
Bad
is Author?
Get access list
End
Expand all layout
Y
N
Update entity
Save file to server
No credential
NO
Start
Layout exists?
NO credential
Start -- delete
YES
Load the real entites base on the relationship type
Get one users layouts
Share one layout
Update home layout to cache
Save data to file
Check parameters
Invalid user
Audit service record file log
Return
Exist attachments?
Loop done?
Loop layouts
is PPC user?
No layout
Update layout Cache
Is the control a MDL text box?
Add new home layout to cache
In access list?
Load the latest entry which has same adhoc field and this entry deposit to entity
Does the default value depend on other control's value'?
Compliance credential?
Create new file and set parent entry ID to new note ID
Delete note body from file system if there is no other entry point to this note body
Update attributes of entity in audit log
Retrieve the latest value from MDL
Parameter invalid
Get all layouts
Remove this draft note from configuration data
Create note request
Load entity detail
Get layout from cache
Update layout
User valid?
Create a new note and save to server
Add layout to list
Is the title is \"'entity type name' + Detail\"?
Create layout
Get the new note ID
Audit service record entry log
Find the latest audit log of this entity
Update entity request inlcude all standard data and adhoc data
Update layout file
Get one layout
Save to entity audit log
Delete attachment from file system if there is no other entry point to this attachment
Is the control an entity control?
Expand result
Update new home layout
Good
Get one layout configuration
Does the saving action inlcue 'Create a relationship...'?
Load all draft notes
Delete one draft note
Is public?
Send all data to Audit service
Create a new note with files
Select one draft note
Create new home layout
0 条评论
下一页