Metadata Visibility - same id, different views
Original Publication Date: 2001-Aug-01
Included in the Prior Art Database: 2003-Jun-20
Metadata Visibility same id, different views Disclosed is a mechanism for dynamically filtering information differently in different contexts, based on metadata. Metadata is used in this context to refer to business data separated out from the business logic. There are times in an application when the appearance of a list of options changes based on the context in which the options are displayed. A simple mechanism needs to be created to contain the context information and then to apply that information to filter the options. This invention addresses this problem by modeling the information in metadata and providing methods to filter the elements that are not appropriate for the given context. The metadata is modeled as a collection of lists of elements. Each element has properties that describe different aspects of that element. Among these properties is a value that identifies the "visibility" of the element in different contexts. Requesting the elements from the metadata list accesses the collection of elements. This collection can be filtered against a context value by providing the context information in the request. When the list is filtered, those elements that are not appropriate for the given context are not returned. By filtering the elements in the list, the list changes based on the context in which it is used.