Business Classes for Fast Object-Oriented Access to Content
In conjunction with the web server controls mentioned above, the HNFSDK provides a set of business classes as follows. These classes allow you to access publications in the Hypermedia Data Store without relational or n-tier programming:
| |
· |
ReaderCollection. This class represents a collection of readers that are valid either for a Topic or a Publication. It represents reader security for a given topic that comes from the source document or the document management profile. You cannot create instances of this class. Instead you get instances of ReaderCollection thru instances of Topic or Publication. This class is essential when implementing a secure application.
|
| |
· |
MetaInfo. This class represents metadata information about a Topic or Publication. MetaInfo can be used for display purposes, or to enrich the application’s capabilities, for example to create customized views, categorize documents, etc. You cannot create instances of this class. Instead you get instances of MetaInfo thru instances of MetaInfoCollection.
|
| |
· |
MetaInfoCollection. This class represents a collection of MetaInfo objects. Each Publication and Topic may have null or multiple metadata originating from the source document, document profile, or content within the document. Use this collection to access all metadata information of a Topic or Publication using their public property MetaInfos.
|
| |
· |
Publication. This class provides a set of properties and methods that encapsulate the functionality required to manage publications. Publications are the containers for Topic and MetaInfo class instances. You cannot create instances of this class directly. Instead you get instances of MetaInfo thru instances of the PublicationCollection class or the Topic class.
|
| |
· |
PublicationCollection. This class represents a collection of Publication objects. These objects are used internally by the Topic class as a static member to maintain references to Publication objects shared by multiple Topic instances instead of keeping Publication separate objects per Topic instance. For example multiple Topics may be in the same Publication. The same Publication object will be referenced by the static PublicationCollection instance of each Topic. You can create instances of this class as a gateway to Publication instances.
|
| |
· |
Search. This class provides the functionality required to create Hyper.Net Object Oriented Searches (HOOS). The HOOS creates a custom XML document that contains the results of searching the Hypermedia Data Store database. Using HOOS, you are able to search the database without knowledge of the SQL data model, and without database programming. Searches are built by an object-oriented set of static structures found in the Hyper.Net.Framework.Common.dll assembly, introduced later in this How-To.
|
| |
· |
Topic. This class provides a set of properties and methods that encapsulate the functionality required to manage Topics within publications. You cannot create instances of this class, but instead you can receive references of instances of this class through the TopicCollection class. When implemented, there is a specific method of access to Topics via TopicCollection class that is important, and we’ll discuss this later in this How-To.
|
| |
· |
TopicCollection. This class represents a collection of Topic objects. Topics are the primary data element displayed in web applications built with Hyper.Net. Because this collection is the gateway to the Topic class, and therefore to other classes within the Business Object Model of the Framework, it is one of the main classes used in the Framework as well as in this How-To. The most common method used with Hyper.Net web/windows application deployments using the HNFSDK is to declare an instance of this class as a static member of any container web/windows application class. This in turn automatically implements a caching system that eliminates round trips to the database, boosting the performance of your applications. Later on in this How-To you’ll learn how to use it.
|