30CHAPTER 5. IMPLEMENTATION 5.3 StorageStorage classes provide persist dịch - 30CHAPTER 5. IMPLEMENTATION 5.3 StorageStorage classes provide persist Việt làm thế nào để nói

30CHAPTER 5. IMPLEMENTATION 5.3 Sto


30
CHAPTER 5. IMPLEMENTATION
5.3 Storage
Storage classes provide persistence to other parts of the framework. The storage classesoperate over a relational database, but completely shield the rest of the project from havingto manage the database.The persistence is exposed through implementations
MailHierarchicalClustererContext
and
MailTextAnalyzerContext
of context interfaces
IHierarchicalClustererContext
and
IMail-TextAnalyzerContext
. These implementations then access application objects described be-low.Database storage is separated into two levels:

The data level directly cooperates with the relational database, it executes SQL queriesfor inserting, updating, removing or listing items. Each type of item, such as clusteror mail data instance has its own interface inherited from
IRepositoryItem
. Dataobjects implementing this interface are then used for in-memory storage of the item’sproperties. Each type of item is managed by a central repository class inherited frombase class
DbRepository
. Note that class
DbRepository
has been taken from eM Client’sstorage layer. The repository takes care of all database interaction and manages a cacheof storage objects. Specialized abstract class serving as a base for repositories that areencapsulated by two key dictionary application level collection was implemented in
DbDoubleKeyRepository

The application level provides an abstraction layer from the database. Item applicationclasses encapsulate the data storage items and trigger modification operations in therepository. Collection classes implement standard platform operations for enumeration,addition and removal of items. Matrices that are used in
IHierarchicalClustererContext
are implemented as descendants of class
DoubleKeyDictionary
.
5.4 User interface
The user interface in the client has been implemented correspondingly tosection 4.7. Aclass
ControlSidebarBoxClusters
is a descendant of a control that supports embedding in thesidebar.The inherited class contains a datagrid control that displays the list of clusters and apanel that where information about the current cluster is displayed. These two controlschange their visibility on folder selection change and are visible only if the current folder isbeing clustered. Information in the detail panel are refreshed when either the user selects acluster from the list or when a mail is selected in the main area of eM Client.The user interface also allows to filter messages from cluster. When a user double clicksan item in the cluster list or clicks ”Filter cluster items” button in the detail panel, filteringis enabled in the messages area of the application and only messages from current clusterare visible.Integration with other user interface components of the client is implemented in severalmethods in the main form of the application -
formMain
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
30CHƯƠNG 5. THỰC HIỆN 5.3 líLưu trữ các lớp học cung cấp kiên trì đến các vùng khác của khuôn khổ. Classesoperate lưu trữ trên một cơ sở dữ liệu quan hệ, nhưng hoàn toàn shield phần còn lại của dự án từ thiếu quản lý cơ sở dữ liệu. Kiên trì tiếp xúc thông qua việc triển khaiMailHierarchicalClustererContext vàMailTextAnalyzerContext trong bối cảnh giao diệnIHierarchicalClustererContext vàIMail-TextAnalyzerContext . Những triển khai sau đó truy cập ứng dụng đối tượng miêu tả thấp. Cơ sở dữ liệu lưu trữ được tách ra thành hai cấp độ:•Cấp dữ liệu trực tiếp hợp tác với cơ sở dữ liệu quan hệ, nó thực hiện một SQL queriesfor chèn, Cập Nhật, loại bỏ hoặc danh sách mặt hàng. Mỗi loại mục, chẳng hạn như trường hợp dữ liệu thư clusteror có giao diện riêng của nó được thừa hưởng từIRepositoryItem . Dataobjects thực hiện các giao diện này sau đó được sử dụng cho lưu trữ trong bộ nhớ của item'sproperties. Mỗi loại mục được quản lý bởi một lớp frombase lớp thừa kế kho lưu trữ Trung ươngDbRepository . Lưu ý rằng lớpDbRepository đã được thực hiện từ eM Client'sstorage lớp. Kho sẽ chăm sóc của tất cả các tương tác cơ sở dữ liệu và quản lý các đối tượng lưu trữ cacheof. Chuyên ngành lớp trừu tượng, phục vụ như là một cơ sở cho kho areencapsulated đó bởi hai chìa khóa từ điển ứng dụng bộ sưu tập cấp được thực hiện trongDbDoubleKeyRepository •The application level provides an abstraction layer from the database. Item applicationclasses encapsulate the data storage items and trigger modification operations in therepository. Collection classes implement standard platform operations for enumeration,addition and removal of items. Matrices that are used inIHierarchicalClustererContext are implemented as descendants of classDoubleKeyDictionary .5.4 User interfaceThe user interface in the client has been implemented correspondingly tosection 4.7. AclassControlSidebarBoxClustersis a descendant of a control that supports embedding in thesidebar.The inherited class contains a datagrid control that displays the list of clusters and apanel that where information about the current cluster is displayed. These two controlschange their visibility on folder selection change and are visible only if the current folder isbeing clustered. Information in the detail panel are refreshed when either the user selects acluster from the list or when a mail is selected in the main area of eM Client.The user interface also allows to filter messages from cluster. When a user double clicksan item in the cluster list or clicks ”Filter cluster items” button in the detail panel, filteringis enabled in the messages area of the application and only messages from current clusterare visible.Integration with other user interface components of the client is implemented in severalmethods in the main form of the application -formMain
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!

30
CHƯƠNG 5. THỰC HIỆN
5.3 lưu trữ
các lớp lưu trữ cung cấp kiên trì đến các bộ phận khác trong khuôn khổ. Các classesoperate lưu trữ trong một cơ sở dữ liệu quan hệ, nhưng hoàn toàn che chắn cho phần còn lại của dự án từ havingto quản lý database.The kiên trì tiếp xúc thông qua việc triển khai
MailHierarchicalClustererContext

MailTextAnalyzerContext
của bối cảnh giao diện
IHierarchicalClustererContext

Imail-TextAnalyzerContext
. Những hiện thực sau đó truy cập vào đối tượng ứng dụng được mô tả be-low.Database lưu trữ được tách thành hai cấp độ:

Mức độ dữ liệu hợp tác trực tiếp với các cơ sở dữ liệu quan hệ, nó thực hiện SQL queriesfor chèn, cập nhật, loại bỏ hoặc niêm yết các mặt hàng. Mỗi loại mặt hàng, chẳng hạn như clusteror dụ dữ liệu mail có giao diện riêng của nó được thừa hưởng từ
IRepositoryItem
. DataObjects thực hiện giao diện này sau đó được sử dụng để lưu trữ trong bộ nhớ của item'sproperties. Mỗi loại mặt hàng được quản lý bởi một lớp frombase trung cấp kho thừa hưởng
DbRepository
. Lưu ý rằng lớp
DbRepository
đã được lấy từ lớp eM Client'sstorage. Các kho lưu trữ sẽ chăm sóc của tất cả các tương tác cơ sở dữ liệu và quản lý một đối tượng lưu trữ cacheof. Lớp trừu tượng chuyên phục vụ như một cơ sở cho các kho mà areencapsulated bởi hai bộ sưu tập từ điển mức độ ứng dụng quan trọng đã được thực hiện trong
DbDoubleKeyRepository

Mức độ ứng dụng cung cấp một lớp trừu tượng từ cơ sở dữ liệu. Mục applicationclasses đóng gói các mặt hàng lưu trữ dữ liệu và kích hoạt Modi fi cation hoạt động trong therepository. Các lớp học tập thực hiện các hoạt động nền tảng tiêu chuẩn cho điều tra, bổ sung và loại bỏ các mục. Ma trận được sử dụng trong
IHierarchicalClustererContext
được thực hiện như hậu duệ của lớp
DoubleKeyDictionary
.
Giao diện 5.4 tài
Các giao diện người dùng trong các khách hàng đã được thực hiện tương ứng tosection 4.7. Aclass
ControlSidebarBoxClusters
là hậu duệ của một điều khiển hỗ trợ nhúng trong thesidebar.The lớp kế thừa có chứa một điều khiển DataGrid để hiển thị danh sách các cụm và apanel mà trong đó thông tin về các cụm hiện tại được hiển thị. Hai controlschange tầm nhìn của họ về thay đổi lựa chọn thư mục và chỉ hiển thị nếu thư mục hiện tại isbeing nhóm. Thông tin trong bảng chi tiết được làm mới khi một trong hai người sử dụng chọn acluster từ danh sách hoặc khi một email được chọn trong khu vực chính của giao diện người dùng eM Client.The cũng cho phép những thông điệp fi lter từ cluster. Khi một người dùng mục clicksan đôi trong danh sách cụm hoặc nhấp chuột "mục cụm Filter" nút trong bảng điều khiển chi tiết, fi lteringis kích hoạt trong khu vực thông điệp của ứng dụng và những thông điệp từ visible.Integration clusterare hiện với các thành phần giao diện người dùng khác của khách hàng là thực hiện trong severalmethods trong các hình thức chính của ứng dụng -
formMain
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: