+

WO2000077698A2 - Procede et article manufacture pour isolation de donnees dans un programme informatique - Google Patents

Procede et article manufacture pour isolation de donnees dans un programme informatique Download PDF

Info

Publication number
WO2000077698A2
WO2000077698A2 PCT/US2000/012351 US0012351W WO0077698A2 WO 2000077698 A2 WO2000077698 A2 WO 2000077698A2 US 0012351 W US0012351 W US 0012351W WO 0077698 A2 WO0077698 A2 WO 0077698A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
component
computer program
business
user
Prior art date
Application number
PCT/US2000/012351
Other languages
English (en)
Other versions
WO2000077698A3 (fr
Inventor
Richard E. Balon
Asif Malik
Jeffrey M. Wargin
Michael A. Jackowski
Richard C. Kennedy
Eduardo Navickas
Original Assignee
Accenture Llp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accenture Llp filed Critical Accenture Llp
Priority to AU78230/00A priority Critical patent/AU7823000A/en
Publication of WO2000077698A2 publication Critical patent/WO2000077698A2/fr
Publication of WO2000077698A3 publication Critical patent/WO2000077698A3/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99944Object-oriented database structure

Definitions

  • the present invention relates to isolating data in a computer program and more particularly to compartmentalizing a computer program for preventing unauthorized access to data by isolating the same.
  • FIG. 1 A representative hardware environment is depicted in prior art Figure 1 , which illustrates a typical hardware configuration of a workstation having a central processing unit 110, such as a microprocessor, and a number of other units interconnected via a system bus 112.
  • the workstation shown in Figure 1 includes a Random Access Memory (RAM) 114, Read
  • ROM Read Only Memory
  • I O adapter 118 for connecting peripheral devices such as disk storage units 120 to the bus 112
  • a user interface adapter 122 for connecting a keyboard 124, a mouse 126, a speaker 128, a microphone 132, and/or other user interface devices such as a touch screen (not shown) to the bus 112
  • communication adapter 134 for connecting the workstation to a communication network (e.g., a data processing network) and a display adapter 136 for connecting the bus 112 to a display device 138.
  • the workstation typically has resident thereon an operating system such as the Microsoft Windows NT or Windows/95 Operating System (OS), the IBM OS/2 operating system, the MAC OS, or UNIX operating system.
  • OS Microsoft Windows NT or Windows/95 Operating System
  • MAC OS MAC OS
  • UNIX operating system UNIX operating system
  • OOP Object oriented programming
  • OOP is a process of developing computer software using objects, including the steps of analyzing the problem, designing the system, and constructing the program.
  • An object is a software package that contains both data and a collection of related structures and procedures. Since it contains both data and a collection of structures and procedures, it can be visualized as a self-sufficient component that does not require other additional structures, procedures or data to perform its specific task.
  • OOP therefore, views a computer program as a collection of largely autonomous components, called objects, each of which is responsible for a specific task. This concept of packaging data, structures, and procedures together in one component or module is called encapsulation.
  • OOP components are reusable software modules which present an interface that conforms to an object model and which are accessed at run-time through a component integration architecture.
  • a component integration architecture is a set of architecture mechanisms which allow software modules in different process spaces to utilize each others capabilities or functions. This is generally done by assuming a common component object model on which to build the architecture. It is worthwhile to differentiate between an object and a class of objects at this point.
  • An object is a single instance of the class of objects, which is often just called a class.
  • a class of objects can be viewed as a blueprint, from which many objects can be formed.
  • OOP allows the programmer to create an object that is a part of another object.
  • the object representing a piston engine is said to have a composition-relationship with the object representing a piston.
  • a piston engine comprises a piston, valves and many other components; the fact that a piston is an element of a piston engine can be logically and semantically represented in OOP by two objects.
  • OOP also allows creation of an object that "depends from” another object. If there are two objects, one representing a piston engine and the other representing a piston engine wherein the piston is made of ceramic, then the relationship between the two objects is not that of composition.
  • a ceramic piston engine does not make up a piston engine. Rather it is merely one kind of piston engine that has one more limitation than the piston engine; its piston is made of ceramic.
  • the object representing the ceramic piston engine is called a derived object, and it inherits all of the aspects of the object representing the piston engine and adds further limitation or detail to it.
  • the object representing the ceramic piston engine "depends from" the object representing the piston engine. The relationship between these objects is called inheritance.
  • the object or class representing the ceramic piston engine inherits all of the aspects of the objects representing the piston engine, it inherits the thermal characteristics of a standard piston defined in the piston engine class.
  • the ceramic piston engine object overrides these ceramic specific thermal characteristics, which are typically different from those associated with a metal piston. It skips over the original and uses new functions related to ceramic pistons.
  • Different kinds of piston engines have different characteristics, but may have the same underlying functions associated with it (e.g., how many pistons in the engine, ignition sequences, lubrication, etc.).
  • a programmer would call the same functions with the same names, but each type of piston engine may have different/overriding implementations of functions behind the same name. This ability to hide different implementations of a function behind the same name is called polymo ⁇ hism and it greatly simplifies communication among objects.
  • composition-relationship With the concepts of composition-relationship, encapsulation, inheritance and polymo ⁇ hism, an object can represent just about anything in the real world. In fact, the logical perception of the reality is the only limit on determining the kinds of things that can become objects in object- oriented software. Some typical categories are as follows:
  • Objects can represent physical objects, such as automobiles in a traffic-flow simulation, electrical components in a circuit-design program, countries in an economics model, or aircraft in an air-traffic-control system.
  • Objects can represent elements of the computer-user environment such as windows, menus or graphics objects.
  • An object can represent an inventory, such as a personnel file or a table of the latitudes and longitudes of cities.
  • An object can represent user-defined data types such as time, angles, and complex numbers, or points on the plane.
  • OOP allows the software developer to design and implement a computer program that is a model of some aspects of reality, whether that reality is a physical entity, a process, a system, or a composition of matter. Since the object can represent anything, the software developer can create an object which can be used as a component in a larger software project in the future.
  • OOP enables software developers to build objects out of other, previously built objects.
  • a computer program for developing a component based software package.
  • the program includes a data component that stores, retrieves and manipulates data utilizing a plurality of functions.
  • an adapter component that transmits and receives data to/from the data component.
  • a business component is included that serves as a data cache and includes logic for manipulating the data.
  • a controller component is also included which is adapted to handle events generated by a user utilizing the business component to cache data and the adapter component to ultimately persist data to a data repository.
  • Prior Art Figure 1 is a schematic diagram of the present invention.
  • Figure 2A is block diagram of one embodiment of the present invention.
  • Figure 2B is a flowchart showing how components generally operate in accordance with one embodiment of the present invention.
  • Figure 2C is a flowchart showing how the UI Controller operates in accordance with one embodiment of the present invention.
  • FIG. 2D is a flowchart showing the interactions between the CCA, the CCI, and the Server Component in accordance with one embodiment of the present invention.
  • Figure 3 shows the life cycle of a typical User Interface and the standard methods that are part of the Window Processing Framework.
  • Figure 4 is an illustration showing how different languages are repainted and recompiled.
  • Figure 5 is a block diagram of an Architecture Object.
  • Figure 6 is an illustration showing the physical layout of CodeDecode tables according to one embodiment of the present invention.
  • Figure 7 is a logic diagram according to one embodiment of the present invention.
  • Figure 8 is a block diagram of the security framework and its components.
  • Figure 9 is an illustration showing the relationships between the security element and other elements.
  • C++ is an OOP language that offers a fast, machine-executable code.
  • C++ is suitable for both commercial-application and systems-programming projects.
  • C++ appears to be the most popular choice among many OOP programmers, but there is a host of other OOP languages, such as Smalltalk, Common Lisp Object System (CLOS), and Eiffel. Additionally, OOP capabilities are being added to more traditional popular computer programming languages such as Pascal.
  • Encapsulation enforces data abstraction through the organization of data into small, independent objects that can communicate with each other. Encapsulation protects the data in an object from accidental damage, but allows other objects to interact with that data by calling the object's member functions and structures.
  • Subclassing and inheritance make it possible to extend and modify objects through deriving new kinds of objects from the standard classes available in the system. Thus, new capabilities are created without having to start from scratch.
  • Polymo ⁇ hism and multiple inheritance make it possible for different programmers to mix and match characteristics of many different classes and create specialized objects that can still work with related objects in predictable ways.
  • Class libraries are very flexible. As programs grow more complex, more programmers are forced to adopt basic solutions to basic problems over and over again.
  • a relatively new extension of the class library concept is to have a framework of class libraries. This framework is more complex and consists of significant collections of collaborating classes that capture both the small scale patterns and major mechanisms that implement the common requirements and design in a specific application domain. They were first developed to free application programmers from the chores involved in displaying menus, windows, dialog boxes, and other standard user interface elements for personal computers.
  • Frameworks also represent a change in the way programmers think about the interaction between the code they write and code written by others.
  • the programmer called libraries provided by the operating system to perform certain tasks, but basically the program executed down the page from start to finish, and the programmer was solely responsible for the flow of control. This was appropriate for printing out paychecks, calculating a mathematical table, or solving other problems with a program that executed in just one way.
  • event loop programs require programmers to write a lot of code that should not need to be written separately for every application.
  • the concept of an application framework carries the event loop concept further. Instead of dealing with all the nuts and bolts of constructing basic menus, windows, and dialog boxes and then making these things all work together, programmers using application frameworks start with working application code and basic user interface elements in place. Subsequently, they build from there by replacing some of the generic capabilities of the framework with the specific capabilities of the intended application.
  • Application frameworks reduce the total amount of code that a programmer has to write from scratch.
  • the framework is really a generic application that displays windows, supports copy and paste, and so on, the programmer can also relinquish control to a greater degree than event loop programs permit.
  • the framework code takes care of almost all event handling and flow of control, and the programmer's code is called only when the framework needs it (e.g., to create or manipulate a proprietary data structure).
  • a programmer writing a framework program not only relinquishes control to the user (as is also true for event loop programs), but also relinquishes the detailed flow of control within the program to the framework. This approach allows the creation of more complex systems that work together in interesting ways, as opposed to isolated programs, having custom code, being created over and over again for similar problems.
  • a framework basically is a collection of cooperating classes that make up a reusable design solution for a given problem domain. It typically includes objects that provide default behavior (e.g., for menus and windows), and programmers use it by inheriting some of that default behavior and overriding other behavior so that the framework calls application code at the appropriate times.
  • default behavior e.g., for menus and windows
  • Class libraries are essentially collections of behaviors that you can call when you want those individual behaviors in your program.
  • a framework provides not only behavior but also the protocol or set of rules that govern the ways in which behaviors can be combined, including rules for what a programmer is supposed to provide versus what the framework provides.
  • • Call versus override With a class library, the code the programmer instantiates objects and calls their member functions. It's possible to instantiate and call objects in the same way with a framework (i.e., to treat the framework as a class library), but to take full advantage of a framework's reusable design, a programmer typically writes code that overrides and is called by the framework.
  • the framework manages the flow of control among its objects. Writing a program involves dividing responsibilities among the various pieces of software that are called by the framework rather than specifying how the different pieces should work together. • Implementation versus design. With class libraries, programmers reuse only implementations, whereas with frameworks, they reuse design.
  • a framework embodies the way a family of related programs or pieces of software work. It represents a generic design solution that can be adapted to a variety of specific problems in a given domain. For example, a single framework can embody the way a user interface works, even though two different user interfaces created with the same framework might solve quite different interface problems.
  • a preferred embodiment of the invention utilizes HyperText Markup Language (HTML) to implement documents on the Internet together with a general-pu ⁇ ose secure communication protocol for a transport medium between the client and the Newco.
  • HTTP or other protocols could be readily substituted for HTML without undue experimentation.
  • Information on these products is available in T. Berners-Lee, D. Connoly, "RFC 1866: Hypertext Markup Language - 2.0" (Nov. 1995); and R. Fielding, H, Frystyk, T. Berners-Lee, J. Gettys and J.C.
  • HTML Hypertext Transfer Protocol ⁇ HTTP/1.1 : HTTP Working Group Internet Draft
  • HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of domains. HTML has been in use by the World-Wide Web global information initiative since 1990.
  • HTML is an application of ISO Standard 8879; 1986 Information Processing Text and Office Systems; Standard Generalized Markup Language (SGML).
  • SGML Standard Generalized Markup Language
  • HTML has been the dominant technology used in development of Web-based solutions.
  • HTML has proven to be inadequate in the following areas:
  • Sun Microsystem's Java language solves many of the client-side problems by: • Improving performance on the client side;
  • UI User Interface
  • Custom “widgets” e.g., real-time stock tickers, animated icons, etc.
  • client-side performance is improved.
  • Java supports the notion of client-side validation, offloading appropriate processing onto the client for improved performance.
  • Dynamic, real-time Web pages can be created. Using the above-mentioned custom UI components, dynamic Web pages can also be created.
  • Sun's Java language has emerged as an industry-recognized language for "programming the Internet.”
  • Sun defines Java as: "a simple, object-oriented, distributed, inte ⁇ reted, robust, secure, architecture-neutral, portable, high-performance, multithreaded, dynamic, buzzword- compliant, general-pu ⁇ ose programming language.
  • Java supports programming for the Internet in the form of platform-independent Java applets.”
  • Java applets are small, specialized applications that comply with Sun's Java Application Programming Interface (API) allowing developers to add "interactive content” to Web documents (e.g., simple animations, page adornments, basic games, etc.). Applets execute within a Java-compatible browser (e.g.,
  • ActiveX Technologies to give developers and Web designers wherewithal to build dynamic content for the Internet and personal computers.
  • ActiveX includes tools for developing animation, 3-D virtual reality, video and other multimedia content.
  • the tools use Internet standards, work on multiple platforms, and are being supported by over 100 companies.
  • the group's building blocks are called ActiveX Controls, small, fast components that enable developers to embed parts of software in hypertext markup language (HTML) pages.
  • ActiveX Controls work with a variety of programming languages including Microsoft Visual C++, Borland Delphi, Microsoft Visual Basic programming system and, in the future, Microsoft's development tool for Java, code named "Jakarta.”
  • ActiveX Technologies also includes ActiveX Server Framework, allowing developers to create server applications.
  • ActiveX could be substituted for JAVA without undue experimentation to practice the invention.
  • One embodiment of the present invention is a server based framework utilizing component based architecture.
  • one embodiment of the present invention includes an Architecture Object 200, an Application Object 202, a User Interface Form 204, a User Interface Controller 206, a Client Component Adapter 208, a COM Component Interface 210, and a
  • step 230 data is stored in an object of the component.
  • step 232 functions which manipulate the object are encapsulated with the object data.
  • step 234 the stored object data can be manipulated by other components utilizing the functions of step 232.
  • the Architecture Object 200 provides an easy-to-use object model that masks the complexity of the architecture on the client.
  • the Architecture Object 200 provides purely technical services and does not contain any business logic or functional code. It is used on the client as the single point of access to all architecture services.
  • the Architecture Object 200 is supplemented by a set of global functions contained in standard VB modules
  • the Architecture Object 200 is responsible for providing all client architecture services (i.e., codes table access, error logging, etc.), and a single point of entry for architecture services.
  • the Architecture Object 200 is also responsible for allowing the architecture to exist as an autonomous unit, thus allowing internal changes to be made to the architecture with minimal impact to application.
  • the Architecture Object 200 provides a code manager, client profile, text manager, ID manager, registry manager, log manager, error manager, and a security manager.
  • the codes manager reads codes from a local database on the client, marshals the codes into objects, and makes them available to the application.
  • the client profile provides information about the current logged-in user.
  • the text manager provides various text manipulation services such as search and replace.
  • the ID manager generates unique IDs and timestamps.
  • the registry manager encapsulates access to the system registry.
  • the log manager writes error or informational messages to the message log.
  • the error manager provides an easy way to save and re-raise an error.
  • the security manager determines whether or not the current user is authorized to perform certain actions.
  • the Application Object 202 has a method to initiate each business operation in the application. It uses late binding to instantiate target UI controllers in order to provide autonomy between windows. This allows different controllers to use the Application Object 202 without statically linking to each and every UI controller in the application.
  • the Application Object 202 When opening a UI controller, the Application Object 202 calls the architecture initialization, class initialization, and form initialization member functions.
  • the Application Object 202 keeps a list of every active window, so that it can shut down the application in the event of an error. When a window closes, it tells the Application Object 202 , and is removed from the Application Object's 202 list of active windows.
  • the Application Object 202 is responsible for instantiating each UI Controller 206, passing data / business context to the target UI Controller 206, and invoking standard services such as initialize controller, initializing Form and Initialize Architecture.
  • the Application Object 202 also keeps track of which windows are active so that it can coordinate the shutdown process.
  • the UI form's 204 primary responsibility is to forward important events to its controller 206. It remains mostly unintelligent and contains as little logic as possible. Most event handlers on the form simply delegate the work by calling methods on the form's controller 206.
  • the UI form 204 never enables or disables its own controls, but ask its controller 206 to do it instead.
  • Logic is included on the UI form 204 only when it involves very simple field masking or minor visual details.
  • the UI form 204 presents an easy-to-use, graphical interface to the user and informs its controller 206 of important user actions.
  • the UI form 204 may also provide basic data validation (e.g., data type validation) through input masking.
  • the UI form is responsible for intelligently resizing itself, launching context-sensitive help, and unload itself.
  • Every UI Controller 206 includes a set of standard methods for initialization, enabling and disabling controls on its UI form 204, validating data on the form, getting data from the UI form 204, and unloading the UI form 204.
  • UI Controllers 206 contain the majority of logic to manipulate Business Objects 207 and manage the appearance of its UI form 204. If its form is not read-only, the UI Controller 206 also tracks whether or not data on the UI form 204 has changed, so as to avoid unnecessary database writes when the user decides to save. In addition, controllers of auxiliary windows (like the File-Save dialog box in Microsoft Word), keep track of their calling UI controller 206 so that they can notify it when they are ready to close.
  • auxiliary windows like the File-Save dialog box in Microsoft Word
  • FIG. 2C is a flowchart showing how the UI Controller operates in one embodiment of the present invention.
  • step 236 data is entered in a UI form by a user.
  • step 238, the UI controller inte ⁇ rets the data entered into the UI form.
  • step 240 the UI controller places the appropriate data into a Business Object to be utilized and retrieved later.
  • a UI Controller 206 defines a Logical Unit of Work (LUW). If an LUW involves more than one UI Controller 206, the LUW is implemented as a separate object.
  • LEOW Logical Unit of Work
  • the UI Controller 206 is responsible for handling events generated by the user interacting with the UI form 204 and providing complex field validation and cross field validation within a Logical Unit of Work.
  • the UI Controller 206 also contains the logic to interact with business objects 207, and creates new business objects 207 when necessary.
  • the UI Controller 206 interacts with Client Component Adapters 208 to add, retrieve, modify, or delete business objects 207, and handles all client-side errors.
  • the Business Object's (BO) 207 primary functionality is to act as a data holder, allowing data to be shared across User Interface Controllers 206 using an object-based programming model.
  • BOs 207 perform validation on their attributes as they are being set to maintain the integrity of the information they contain. BOs 207 also expose methods other than accessors to manipulate their data, such as methods to change the life cycle state of a BO 207 or to derive the value of a calculated attribute.
  • a BO 207 will have its own table in the database and its own window for viewing or editing operations.
  • Business Objects 207 contain information about a single business entity and maintain the integrity of that information.
  • the BO 207 encapsulates business rules that pertain to that single business entity and maintains relationships with other business objects (e.g., an insurance claim contains a collection of supplements).
  • the BO 207 provides additional properties relating to the status of the information it contains (such as whether that information has changed or not), provides validation of new data when necessary, and calculates attributes that are derived from other attributes (such as Full Name, which is derived from First Name, Middle Initial, and Last Name).
  • Client Component Adapters (CCAs) 208 are responsible for retrieving, adding, updating, and deleting business objects in the database.
  • CCAs 208 hide the storage format and location of data from the UI controller 206. The UI controller 206 does not care about where or how objects are stored, since this is taken care of by the CCA 208.
  • the CCA 208 marshals data contained in recordsets returned by the server into business objects 207.
  • CCAs 208 masks all remote requests from UI Controller 206 to a specific component, and act as a "hook" for services such as data compression, and data encryption.
  • a COM Component Interface (CCI) 210 is a "contract" for services provided by a component. By “implementing” an interface (CCI) 210, a component is promising to provide all the services defined by the CCI 20.
  • the CCI 210 is not a physical entity (which is why it is depicted with a dotted line). It's only reason for existence is to define the way a component appears to other objects. It includes the signatures or headers of all the public properties or methods that a component will provide.
  • a server component To implement a CCI 210, a server component exposes a set of specially named methods, one for each method defined on the interface. These methods should do nothing except delegate the request to a private method on the component which will do the real work.
  • the CCI 210 defines a set of related services provided by a component. The CCI allows any component to "hide” behind the interface to perform the services defined by the interface by "implementing" the interface.
  • Server components 222 are course grained and transaction oriented. They are designed for maximum efficiency.
  • Server Components 222 encapsulate all access to the database, and define business transaction boundaries. In addition, Server Components 222 are responsible for ensuring that business rules are honored during data access operations.
  • a Server Component 222 performs data access operations on behalf of CCAs 208 or other components and participates in transactions spanning server components 222 by communicating with other server components 222 .
  • the Server Component 222 is accessible by multiple front end personalities (e.g., Active Server Pages), and contains business logic designed to maintain the integrity of data in the database.
  • FIG. 2D is a flowchart showing the interactions between the CCA, the CCI, and the Server Component in accordance with one embodiment of the present invention.
  • a request is made to place client created data on the server database.
  • the data is transferred to the server component 222 utilizing a CCI 210.
  • the server component 222 stores the data in the server database.
  • Business rules can be categorized into the following sections: Relationships, Calculations, and Business Events. Relationships between Business Objects
  • Business Objects 207 are responsible for knowing other business objects 207 with which they are associated.
  • Relationships between BOs 207 are built by the CCA 208 during the marshaling process. For example, when a CCA 208 builds an insurance claim BO 207, it will also build the collection of supplements if necessary.
  • Another example of a calculated attribute is the display date of a repeating task.
  • a new display date When a task with a repeat rule is completed, a new display date must be determined. This display date is calculated based on the date the task was completed, and the frequency of repetition defined by the repeat rule. Putting the logic to compute the new display date into the Task BO 207 ensures that it is coded only once.
  • Completion of a task is a major event in the system.
  • the system first ensures that the performer completing the task is added to the claim. Then, after the task is marked complete in the database, it is checked to see if the task has a repeat rule. If so, another task is created and added to the database. Finally, the event component is notified, because the Task Engine may need to react to the task completion.
  • the controller 206 calls the Performer Component to see if the performer completing the task has been added to the claim. If the performer has not been added to the claim, then the controller 206 calls the performer component again to add them.
  • the controller 206 calls the Task Component to mark the task complete in the database. If the task has a repeat rule, the controller 206 computes the date the task is to be redisplayed and calls the Task Component again to add a new task. Lastly, the controller 206 calls the Event Component to notify the Task Engine of the task completion.
  • the controller 206 is responsible for actions such as enabling or disabling controls on its form, requesting authorization from the security component, or making calls to the CCA 208.
  • Controllers 206 and components 222 must ask the security component if the current user is authorized to execute certain business operations in the system. The security component will answer yes or no according to some predefined security logic.
  • the Default Window Framework provides default window processing for each window contained within the system. This default processing aides the developer in developing robust, maintainable UIs, standardizes common processes (such as form initialization) and facilitates smooth integration with architecture services.
  • Figure 3 shows the life cycle of a typical User Interface and the standard methods that are part of the Window Processing Framework 300.
  • the Window Processing Framework 300 encompasses the following:
  • Window Initialization Processing 302 After creating a controller 206 for the desired window, the App object 202 calls a set of standard initialization functions on the controller 206 before the form 204 is displayed to the user. Standardizing these functions makes the UIs more homogeneous throughout the application, while promoting good functional decomposition.
  • Window Save Processing 304 Any time a user updates any form text or adds an item to a ListBox, the UI Controller 206 marks the form as "dirty". This allows the UI controller 206 to determine whether data has changed when the form closes and prompt the user to commit or lose their changes.
  • Window Control State Management 306 Enabling and disabling controls and menu options is a very complex part of building a UI. The logic that modifies the state of controls is encapsulated in a single place for maintainability.
  • Window Data Validation 308 Whenever data changes on a form, validation rules can be broken. The controller is able to detect those changes, validate the data, and prompt the user to correct invalid entries.
  • Window Shutdown Processing 310 The Window Shutdown framework provides a clear termination path for each UI in the event of an error. This reduces the chance of memory leaks, and General Protection failures.
  • Standardizing the window processing increases the homogeneity of the application. This ensures that all windows within the application behave in a consistent manner for the end users, making the application easier to use. It also shortens the learning curve for developers and increases maintainability, since all windows are coded in a consistent manner.
  • Layered Architecture Because several architecture modules provide standardized processing to each application window, the core logic can be changed for every system window by simply making modifications to a single procedure.
  • the App Object 202 creates the target window's controller 206 and calls a series of methods on the controller 206 to initialize it. The calling of these methods, ArchlnitClass, InitClass, InitForm, and ShowForm, is illustrated below. ArchlnitClass, InitClass, InitForm, and ShowForm, is illustrated below. ArchlnitClass
  • the main pu ⁇ ose of the ArchlnitClass function is to tell the target controller 206 who is calling it.
  • the App Object 202 "does the introductions" by passing the target controller 206 a reference to itself and a reference to the calling controller 206. In addition, it serves as a hook into the controller 206 for adding architecture functionality in the future.
  • This function provides a way for the App Object 202 to give the target controller 206 any data it needs to do its processing. It is at this point that the target controller 206 can determine what "mode" it is in. Typical form modes include, add mode, edit mode, and view mode. If the window is in add mode, it creates a new BO 207 of the appropriate type in this method.
  • the InitForm procedure of each controller 206 coordinates any initialization of the form 204 before it is displayed. Because initialization is often a multi-step process, InitForm creates the window and then delegates the majority of the initialization logic to helper methods that each have a single purpose, in order to follow the rules of good functional decomposition. For example, the logic to determine a form's 204 state based on user actions and relevant security restrictions and move to that state is encapsulated in the DetermineFormState method.
  • PopulateForm PopulateForm is a pnvate method responsible for filling the form with data dunng initialization.
  • PopulateForm is used to fill combo boxes on a form 204, get the details of an object for an editing window, or display objects that have already been selected by the user, as in the following example.
  • the ShowForm method simply centers and displays the newly initialized form 204.
  • Form mode indicates the reason the form 204 has been invoked. Often, forms 204 are used for more than one pu ⁇ ose. A common example is the use of the same form to view, add, and edit a particular type of object, such as a task or a claim. In this case, the form's modes would include View, Add, and Update.
  • the modes of a form 204 are also used to comply with security restrictions based on the current user's access level.
  • Task Library is a window that limits access to task templates based on the current user's role. It might have a Librarian mode and a Non-Librarian mode to reflect the fact that a non-librarian user cannot be allowed to edit task templates. In this way, modes help to enforce the requirement that certain controls on the form 204 remain disabled unless the user has a certain access level.
  • a form 204 it is not always necessary for a form 204 to have a mode; a form might be so simple that it would have only one mode - the default mode. In this case, even though it is not immediately necessary, it may be beneficial to make the form "mode-aware" so that it can be easily extended should the need arise.
  • a form 204 will have a number of different states for each mode, where a state is a unique combination of enabled/disabled, visible/invisible controls. When a form 204 moves to a different state, at least one control is enabled or disabled or modified in some way.
  • a key difference between form mode and form state is that mode is determined when the controller 206 is initialized and remains constant until the controller 206 terminates. State is determined when the window initializes, but is constantly being reevaluated in response to user actions.
  • the event handler calls the DetermineFormState method on the controller 206.
  • the DetermineFormState method on the controller 206 forces this separation between setting the state of controls and setting their values.
  • DetermineFormState is the only method that modifies the state of any of the controls on the form 204. Because control state requirements are so complex and vary so widely, this is the only restriction made by the architecture framework.
  • clues for determining the new state of the form 204. For complex forms, it is helpful to decompose the DetermineFormState function into a number of helper functions, each handling a group of related controls on the form or moving the form 204 to a different state.
  • Example The Edit/ Add/View Task Window has three modes: Edit, Add, and View.
  • Add mode everything on the form is editable. Some details will stay disabled when in Edit mode, since they should be set only once when the task is added.
  • the repeat rule may be edited. Enabling editing of the repeat rule always disables the manual editing of the task's due and display dates. In View mode, only the Category combo box and Private checkbox are enabled. 1 Edit/Add/View Task Form Private Sub txtName_Change ( ) myController .DetermineFormState End Sub
  • Window data validation is the process by which data on the window is examined for errors, inconsistencies, and proper formatting. It is important, for the sake of consistency, to implement this process similarly or identically in all windows of the application.
  • Input masking is the first line of defense. It involves screening the data (usually character by character) as it is entered, to prevent the user from even entering invalid data. Input masking may be done programmatically or via a special masked text box, however the logic is always located on the form, and is invoked whenever a masked field changes.
  • Single-field range checking determines the validity of the value of one field on the form by comparing it with a set of valid values.
  • Single-field range checking may be done via a combo box, spin button, or programmatically on the form, and is invoked whenever the range-checked field changes.
  • Cross-field validation compares the values of two or more fields to determine if a validation rule is met or broken, and occurs just before saving (or searching). Cross-field validation may be done on the Controller 206 or the Business Object 207, however it is preferable to place the logic on the Business Object 207 when the validation logic can be shared by multiple Controllers 206. Invalid data is caught and rejected as early as possible during the input process. Input masking and range checking provide the first line of defense, followed by cross-field validation when the window saves (or searches).
  • Single-Field Validation All single-field validation is accomplished via some sort of input masking.
  • Masks that are attached to textboxes are used to validate the type or format of data being entered.
  • Combo boxes and spin buttons may also be used to limit the user to valid choices. If neither of these are sufficient, a small amount of logic may be placed on the form's event handler to perform the masking functionality, such as keeping a value below a certain threshold or keeping apostrophes out of a textbox.
  • the form calls the IsFormData Valid on the controller to perform cross-field validation (e.g., verifying that a start date is less than an end date). If the business object 207 contains validation rules, the controller 206 may call a method on the business object 207 to make sure those rules are not violated.
  • invalid data If invalid data is detected by the controller 206, it will notify the user with a message box and, if possible, the indicate which field or fields are in error. Under no circumstances will the window perform validation when the user is trying to cancel.
  • Window "Save Processing” involves tracking changes to data on a form 204 and responding to save and cancel events initiated by the user.
  • Each window within the CBAM application contains a field within its corresponding control object known as the dirty flag.
  • the dirty flag is set to True whenever an end user modifies data within the window. This field is interrogated by the UI Controller 206 to determine when a user should be prompted on Cancel or if a remote procedure should be invoked upon window close.
  • the application shell provides standard processing for each window containing an OK or Save button.
  • the default Save processing is implemented within the UI Controller 206 as follows:
  • the UI Controller is Notified that the OK button has been clicked. Then the controller 206 checks its Dirty Flag. If flag is dirty, the controller 206 calls the InterrogateForm method to retrieve data from the form 204 and calls a server component 222 to store the business object 207 in the database. If the Dirty Flag is not set, then no save is necessary. The window is then closed. Canceling
  • the UI Controller 206 When the user cancels a window, the UI Controller 206 immediately examines the Dirty Flag. If the flag is set to true, the user is prompted that their changes will be lost if they decide to close the window.
  • the user can elect to continue to close the window and lose their changes or decide not to close and continue working.
  • the scope of the shutdown is as small as possible. If an error occurs in a controller 206 that does not affect the rest of the application, only that window is shut down. If an error occurs that threatens the entire application, there is a way to quickly close every open window in the application.
  • the window shutdown strategy is able to accommodate both types of shutdowns.
  • the architecture tracks which windows are open. Whenever the App Object 202 creates a controller 206, it calls its RegCTLR function to add the controller 206 to a collection of open controllers. Likewise, whenever a window closes, it tells the App Object 202 that it is closing by calling the App Object's 202 UnRegCTLR function, and the App Object 202 removes the closing controller 206 from its collection. In the case of an error, the App Object 202 loops through its collection of open controllers, telling each controller to "quiesce" or shutdown immediately.
  • the GeneralErrorHandler is a method in MArch.bas that acts as the point of entry into the architecture's error handling mechanism. A component or a controller will call the GeneralErrorHandler when they encounter any type of unexpected or unknown error. The general error handler will return a value indicating what the component or controller should do:
  • nResumeCode GeneralErrorHandler ( obj App . obj Arch . AsMsgStruct , cmControl ler , _ cmClassName , cmMethodName ) Select Case CSt (nResumeCode ) Case cmErrorResume Resume Case cmErrorResumeNext
  • the GeneralErrorHandler keeps a collection of controllers that are in the process of shutting down. If it is called twice in a row by the same controller 206, it is able to detect and short-circuit the loop. When the controller 206 finally does terminate, it calls the UnRegisterError function to let the GeneralErrorHandler know that it has shut down and removed from the collection of controllers. Shutdown Process
  • the controller 206 in error may try to execute the statement that caused the error, proceed as if nothing happened, exit the current function, call its Quiesce function to shut itself down, or call the Shutdown method on the App Object 202 to shut the entire application down.
  • Controllers 206 that manage search windows have a public method named Find ⁇ Noun>s where ⁇ Noun> is the type of object being searched for. This method is called in the event handler for the Find Now button.
  • Any controller 206 that manages an edit window has a public method called Save that saves changes the user makes to the data on the form 204. This method is called by the event handlers for both the Save and OK buttons (when/if the OK button needs to save changes before closing).
  • a VB window is closed by the user in several ways: via the control-box in upper left corner, the X button in upper right corner, or the Close button.
  • the form closes the only method that will always be called, regardless of the way in which the close was initiated, is the form's 204 QueryUnload event handler.
  • the VB statement, Unload Me appears in the Close button's event handler to manually initiate the unloading process.
  • the Close button mimics the functionality of the control box and the X button, so that the closing process is handled the same way every time, regardless of how the user triggered the close.
  • the OK button's event handler also executes the Unload Me statement, but calls the Save method on the controller first to save any pending changes.
  • Business Objects 207 are responsible for containing data, maintaining the integrity of that data, and exposing functions that make the data easy to manipulate. Whenever logic pertains to a single BO 207 it is a candidate to be placed on that BO. This ensures that it will not be coded once for each controller 206 that needs it. Following are some standard examples of business object logic.
  • the "state" of a business object 207 is the set of all its attributes. Life cycle state refers only to a single attribute (or a small group of attributes) that determine where the BO 207 is in its life cycle. For example, the life cycle states of a Task are Open, Completed, Cleared, or Error. Business objectives usually involve moving a BO toward its final state (i.e., Completed for a Task, Closed for a Supplement, etc.).
  • BOs provide a mechanism to ensure that they do not violate life cycle restrictions when they move from state to state.
  • a BO 207 has a method to move to each one of its different life cycle states. Rather than simply exposing a public variable containing the life cycle state of the task, the BO exposes methods, such as Task.Clear(), Task.Complete(), and Task.MarkInError(), that move the task a new state. This approach prevents the task from containing an invalid value for life cycle state, and makes it obvious what the life cycle states of a task are.
  • Methods such as Task.Clear(), Task.Complete(), and Task.MarkInError()
  • a BO 207 acts as a container for a group of other BOs. This happens when performing operations involving multiple BOs. For example, to close, a claim ensures that it has no open supplements or tasks. There might be a method on the claim BO - CanClose() - that evaluates the business rules restricting the closing of a claim and return true or false. Another situation might involve retrieving the open tasks for a claim. The claim can loop through its collection of tasks, asking each task if it is open and, if so, adding it to a temporary collection which is returned to the caller.
  • CanClose HasOpenTasks ( ) And HasOpenSupplements ( ) End Function
  • HasOpenTasks True ' loop through all my tasks and exit if I find one that is open
  • HasOpenTasks False End Function Public Function HasOpenSupplements () As Boolean
  • HasOpenSupplements True
  • a BO 207 When a BO 207 is added or updated, it sends all of its attributes down to a server component 222 to write to the database. Instead of explicitly referring to each attribute in the parameter list of the functions on the CCA 208 and server component 222 , all the attributes are sent in a single variant array. This array is also known as a structure.
  • Each editable BO 207 has a method named AsStruct that takes the object's member variables and puts them in a variant array.
  • the CCA 208 calls this method on a BO 207 before it sends the
  • BO 207 down to the server component 222 to be added or updated.
  • the reason that this is necessary is that, although object references can be passed by value over the network, the objects themselves cannot. Only basic data types like Integer and String can be sent by value to a server component 222 .
  • a VB enumeration is used to name the slots of the structure, so that the server component 222 can use a symbolic name to access elements in the array instead of an index.
  • FromStruct method does exactly the opposite of the AsStruct method and initializes the BO 207 from a variant array.
  • the size of the structure passed as a parameter to FromStruct is checked to increase the certainty that it is a valid structure.
  • the AsStruct method stores the primary key of the referenced BO 207.
  • the Task structure contains a Performerld, not the performer BO 207 that is referenced by the task.
  • the FromStruct method encounters the Performerld in the task structure, it instantiates a new performer BO and fills in the ID, leaving the rest of the performer BO empty.
  • Cloning is a way to implement this kind of functionality by encapsulating the copying process in the BO 207 itself. Controllers 206 that need to make tentative changes to a business object 207 simply ask the original BO 207 for a clone and make changes to the clone. If the user decides to save the changes, the controller 206 ask the original BO to update itself from the changes made to the clone.
  • Each BO 207 has a Clone method to return a shallow copy of itself.
  • a shallow copy is a copy that doesn't include copies of the other objects that the BO 207 refers to, but only a copy of a reference to those objects. For example, to clone a task, it does not give the clone a brand new claim object; it gives the clone a new reference to the existing claim object. Collections are the only exception to this rule - they are always copied completely since they contain references to other BOs.
  • Each BO 207 also has an UpdateFromClone method to allow it "merge” a clone back in to itself by changing its attributes to match the changes made to the clone.
  • ErrorHandler Err. Raise Err. Number
  • BOs 207 occasionally are filled only half-full for performance reasons This is done for que ⁇ es involving multiple tables that return large data sets. Using half-baked BOs 207 can be an error prone process, so it is essential that the half-bakmg of BOs are carefully managed and contained
  • Search windows are the only windows that half-bake BOs 207 Generally, half-baking only is a problem when a detail window expecting a fully-baked BO receives a half-baked BO from a search window
  • Detail windows refresh the BOs 207 they are passed by the search windows, regardless of whether or not they were already fully-baked. This addresses the problems associated with passing half-baked BOs and also helps ensure that the BO 207 is up-to-date.
  • This approach requires another type of method (besides Get, Add, Update, and Delete) on the CCA 208: a Refresh method. This method is very similar to a Get method (in fact, it calls the same method on the server component) but is unique because it refreshes the data in objects that are already created
  • the detail window's controller 206 calls the approp ⁇ ate CCA 208 passing the BO 207 to be refreshed, and may assume that, when control returns from the CCA 208, the
  • BO 207 will be up-to-date and fully-baked.
  • first window is the only window that ever opens the second, it is necessary for the second window to refresh the BO 207 passed by the first window if it knows that the BO 207 is baked fully enough to be used.
  • CCAs 208 are responsible for transforming data from row and columns in a recordset to business objects 207, and for executing calls to server components 222 on behalf of controllers 206.
  • the CCA 208 marshals the data returned by the component into business objects 207 that are used by the UI Controller 206
  • CCAs 208 call GetRows on the recordset to get a copy of its data in a va ⁇ ant array in order to release the recordset as soon as possible.
  • the logic to refresh BOs 207 is very similar to the logic to create them in the first place.
  • a "refresh” method is very similar to a “get” method, but must use BOs 207 that already exist when carrying out the marshalling process.
  • Controllers 206 are responsible for creating and populating new BOs 207. To add a BO 207 to the database, the controller 206 must call the CCA 208, passing the business object 207 to be added. The CCA 208 calls the AsStruct method on the BO 207, and pass the BO structure down to the component to be saved. It then updates the BO 207 with the ID and timestamp generated by the server. Note the method on the CCA 208 just updates the BO 207.
  • the update process is very similar to the add process. The only difference is that the server component only returns a timestamp, since the BO already has an ID.
  • TimeStamp lTimeStamp Exit Sub ErrorHandler :
  • delete methods take a business object 207 as a parameter and do not have a return value.
  • the delete method does not modify the object 207 it is deleting since that object will soon be discarded.
  • Server components 222 have two pu ⁇ oses: enforcing business rules and carrying out data access operations They are designed to avoid duplicating logic between functions
  • Each server component 222 encapsulates a single database table or a set of closely related database tables As much as possible, server components 222 select or modify data from a single table. A component occasionally selects from a table that is "owned” or encapsulated by another component in order to use a join (for efficiency reasons). A server component 222 often collaborates with other server components to complete a business transaction. Portioning Logic between Multiple Classes
  • the component becomes very large, it is split into more than one class When this occurs, it is divided into two classes - one for business rules and one for data access
  • the business rules class implements the component's interface and utilizes the data access class to modify data as needed
  • Every function or subroutine has a user defined 'On Error GoTo' statement.
  • the first line in each procedure is: On Error GoTo E ⁇ orHandler.
  • a line near the end of the procedure is given a label "ErrorHandler”.
  • the E ⁇ orHandler label is preceded by a Exit Sub or Exit Function statement to avoid executing the error handling code when there is no error.
  • Errors are handled differently based on the module's level within the application (i.e., user interface modules are responsible for displaying error messages to the user).
  • All modules take advantage of technical architecture to log messages. Client modules that already have a reference to the architecture call the Log Manager object directly. Because server modules do not usually have a reference to the architecture, they use the LogMessage() global function complied into each server component.
  • Any errors that are raised within a server component 222 are handled by the calling UI controller 206. This ensures that the user is appropriately notified of the error and that business errors are not translated to unhandled fatal errors.
  • the error handler for each service module contains a Case statement to check for all anticipated errors. If the error is not a recoverable error, the logic to handle it is first tell MTS about the error by calling GetObjectContext.SetAbort(). Next, the global LogMessage() function is called to log the short description intended for level one support personnel. Then the LogMessage() function is called a second time to log the detailed description of the error for upper level support personnel. Finally, the error is re-raised, so that the calling function will know the operation failed.
  • a default Case condition is coded to handle any unexpected errors. This logs the VB generated error then raises it.
  • a code sample is provided below:
  • Private Const cmErrReassignTask "Could not reassign task.” ' logic to reassign a task
  • nResumeCode GeneralErrorHandler (vMsg, cmServer, cmClassName, cmMethodName )
  • the user interface controllers 206 handle any e ⁇ ors generated and passed up from the lower levels of the application. UI modules are responsible for handling whatever errors might be raised by server components 222 by displaying a message box to the user. Any error generated in the UI's is also displayed to the user in a dialog box. Any error initiated on the client is logged using the LogMessage() procedure. Errors initiated on the server will already have been logged and therefore do not need to be logged again.
  • the controller may resume on the statement that triggered the error, resume on the next statement, call its Quiesce function to shut itself down, or call a Shutdown method on the application object to shutdown the entire application.
  • controllers handle all e ⁇ ors.
  • a code sample of a controller error handler is provided below:
  • nResumeCode GeneralErrorHandler (vMsg, cmController, cmClassName, cmMethodName)
  • the CBAM application is constructed so that it can be localized for different languages and countries with a minimum effort or conversion.
  • the CBAM architecture provides support for certain localization features:
  • the CBAM application has an infrastructure to support multiple languages.
  • the architecture acts as a centralized literals repository via its Codes Table Approach.
  • the Codes Tables have localization in mind. Each row in the codes table contains an associated language identifier. Via the language identifier, any given code can support values of any language.
  • FIG. 4 illustrates how different languages are repainted and recompiled. For example, both a English UI 404, and a
  • French UI 406 are easily accommodated. This entails minimal effort because both UIs share the same core code base 402. Updates to the UIs are merely be a superficial change.
  • Generic graphics are used and overcrowding is avoided to create a user interface which is easy to localize.
  • Language localization settings affect the way dates are displayed on UI's (user interfaces).
  • the default system display format is different for different Language/Countries. For Example: English (United States) displays “mm/dd/yy” (e.g., "05/16/98") English (United Kingdom) displays “dd/mm/yy” (e.g., "16/01/98").
  • the present inventions UI's employ a number of third-party date controls including Sheridan Calendar Widgets (from Sheridan Software) which allow developers to set predefined input masks for dates (via the controls' Property Pages; the property in this case is "Mask").
  • the default setting is preferably accepted (the default setting for Mask is "0 - System Default"; it is set at design time). Accepting the default system settings eliminates the need to code for multiple locales (with some possible exceptions), does not interfere with intrinsic Visual Basic functions such as DateAdd, and allows dates to be formatted as strings for use in SQL.
  • test program illustrated below shows how a date using the English (United Kingdom) default system date format is reformatted to a user-defined format (in this case, a stnng constant for use with DB2 SQL statements):
  • Const cmDB2DateAndTime "mm-dd-yyyy-h.mm. ss"
  • the CBAM architecture exposes interface methods on the RegistryService object to access locale specific values which are set from the control panel.
  • the architecture exposes an API from the RegistryService object which allows access to all of the information available in the control panel. Shown below is the signature of the API:
  • the Logical Unit of Work (LUW) pattern enables separation of concern between UI Controllers 206 and business logic.
  • a server component 222 is called to execute a transaction that will save the user's changes to the database. Because of this, it can be said that the window defines the boundary of the transaction, since the transaction is committed when the window closes.
  • the LUW pattern is useful when database transactions span windows. For example, a user begins editing data on one window and then, without saving, opens another window and begins editing data on that window, the save process involves multiple windows. Neither window controller 206 can manage the saving process, since data from both windows must be saved as an part of an indivisible unit of work. Instead, a LUW object is introduced to manage the saving process.
  • the LUW acts as a sort of "shopping bag". When a controller 206 modifies a business object 207, it puts it in the bag to be paid for (saved) later. It might give the bag to another controller 206 to finish the shopping (modify more objects), and then to a third controller who pays (asks the LUW to initiate the save).
  • Controllers 206 may have different levels of LUW "awareness":
  • Requires New always creates a new LUW; Requires: requires an LUW, and creates a new LUW only if one is not passed by the calling controller;
  • Requires Existing requires an LUW, but does not create a new LUW if one is not passed by the calling controller. Raises an error if no LUW is passed;
  • Controllers 206 that always require a new LUW create that LUW in their ArchlnitClass function during initialization. They may choose whether or not to involve other windows in their LUW.
  • controller 206 that owns the LUW passes a reference to that LUW when it calls the App Object 202 to open the second window. Controllers 206 that require an LUW or require an existing LUW accept the
  • LUWs contain all the necessary logic to persist their "contents" - the modified BOs 207. They handle calling methods on the CCA 208 and updating the BOs 207 with new IDs and/or timestamps.
  • Figure 5 depicts the current properties on the Arch Object 200.
  • This method on the Arch Object returns a variant structure to pass along a remote message.
  • CodesMan 500 The following are APIs located on the interface of the Arch Object 200 named CodesMan 500:
  • This API is used to fill listboxes or comboboxes with values from a list of CodeDecodes. Returns a collection for subsequent lookups to Code objects used to fill controls.
  • FilterCodesO Returns a collection of code/decodes that are filtered using their effective and expiration dates based on which nCodeStatus is passed from the fillcontrol method.
  • GetCategoryCodesQ Returns a collection of CCode objects given a valid category
  • nCategory The integer based constant which classified these CodeDecodes from others
  • nCategory The integer based constant which classified these CodeDecodes from others sCode A string indicating the Code attribute of the CodeDecode object
  • GetResourceStringQ Returns a stnng from the resource file given a specific stnng ID.
  • IStringId The id associated with the string in the resource file
  • Remove ValidCodesQ Removes all valid codes from the passed in assigned codes collection, which is used to see which codes are assigned and not valid.
  • IdMan 504 The following are APIs located on the interface of the Arch Object 200 named IdMan 504: GetGUID(); GetSequenceID();
  • GetRegValue() GetServerDSN(); GetSettingO; GetTimerLogLevel(); GetTimerLogPath(); and GetUseLocalCodes().
  • GetHelpPath GetSettmg (cmRegHelpPathKey)
  • LPSTRToVBStringQ Extracts a VB string from a buffer containing a null terminated string.
  • LogMan 508 The following are APIs located on the interface of the Arch Object 200 named LogMan 508:
  • This function will determine where the message should be logged, if at all, based on its severity and the vMsg's log level.
  • vMsg the standard architecture message
  • lSeverity the severity of the message
  • sClassName the name of the class logging the message
  • sMethodName the name of the method logging the message
  • sVersion the version of the binary file (EXE or DLL) that contains the method logging message
  • lErrorNum the number of the current error sText .
  • an optional parameter containing the text of the message If omitted, the text will be looked up in a string file or the generic VB error description will be used
  • vMsg the standard architecture message msgToLog a parameter containing the text of the message.
  • ErrMan 510 The following are APIs located on the interface of the Arch Object 200 named ErrMan 510:
  • HandleE ⁇ or() RaiseOriginalO; ResetE ⁇ or(); and Update().
  • nCompType Contains tier information (Client or Server) sClassName Class which raised the error sMethodName- Method which raised the error
  • This method is used to reset attributes.
  • This method is used to update attributes to the values of VBs global Error object.
  • SecurityMan The following APIs are located on the interface of the Arch Object 200 named SecurityMan 514.
  • This API references business rules for Claim security checking and returns a boolean if rules are met.
  • IBasicOp a basic operation the current user is wishing to perform d e Delete)
  • vContextData a variant array holding relevant business objects or other information.
  • IsOperAuthorized EvalClaimRules (cmView, vContextData) And _ EvalClaimRules (cmEdit, vContextData)
  • IBasicOp a basic operation the current user is wishing to perform d e Delete)
  • vContextData a variant array holding relevant business objects or other information
  • IsOperAuthorized EvalFileNoteRules (cmDelete, vContextData) EvalFormsCorrRules Q
  • This API references business rules for Forms and Con * security checking and returns a boolean if rules are met.
  • IBasicOp a basic operation the current user is wishing to perform (i.e. Delete)
  • IsOperAuthorized EvalFormsCorrRules (cmEdit) And _
  • This API references business rules for Event Processor security checking and returns a boolean if rules are met.
  • IBasicOp- a basic operation the current user is wishing to perform (I e. Delete)
  • IBasicOp a basic operation the current user is wishing to perform d e Delete
  • IsOperAuthorized EvalRunApplicationRules (cmExecute)
  • This API references business rules for Event Processor security checking and returns a boolean if rules are met.
  • IBasicOp a basic operation the current user is wishing to perform (1 e. Delete)
  • IsOperAuthorized EvalRunEventProcRules (cmExecute)
  • IBasicOp a basic operation the current user is wishing to perform (1 e Delete)
  • This API references business rules for Task Template security checking and returns a boolean if rules are met.
  • IBasicOp a basic operation the current user is wishing to perform (1 e. Delete) vContextData. a variant array holding relevant business objects or other information
  • IsOperAuthorized EvalUserProflleRules (cmView, vContextData) And _ EvalUserProfileRules (cmAdd, vContextData) And _ EvalUserProflleRules (cmEdit , vContextData) And _ EvalUserProfileRules (cmDelete, vContextData)
  • This API references business rules and returns a boolean determining whether the user has security privileges to perform a certain operation.
  • vMsg Public Function IsOperAuthorized (vMsg, as variant, nOperation as cmOperations, vContext As Variant)
  • vMsg the standard architecture message nOperation an enumeration containing name of operation to be checked
  • vContext a variant array holding relevant business objects or other information.
  • OverrideUser Re-initializes for a different user.
  • CodeDecodes are stored locally on the client workstation in a local DBMS. On Application startup, a procedure to ensure the local tables are in sync with the central DBMS is performed.
  • the present invention's Code Decode Infrastructure 600 Approach outlines the method of physically modeling codes tables.
  • the model allows codes to be extended with no impact to the physical data model and/or application and architecture.
  • Figure 6 shows the physical layout of
  • CodeDecode tables according to one embodiment of the present invention.
  • the physical model of the CodeDecode infrastructure 600 does the following: Supports relational functionality between CodeDecode objects;
  • Benefits of this model are extensibility and maintainability. This model allows for the modifications of code categories without any impact to the DBMS or the Application Architecture code. This model also requires fewer tables to maintain. In addition, only one method is necessary to access CodeDecodes.
  • T_Category A text descnption of the category (e.g., Application Task Types, Claim).
  • C_Code (pk): A brief code identifier (up to ten characters; the current maximum length being used is five characters)
  • N_Lang_ID (pk): A value indicating the local language setting (as defined in a given machine's Regional Settings). For example, the value for English (United States) is stored as 0409. Use of this setting allows for the storage and selection of text code descriptions based on the language chosen
  • T_Short_Desc An abbreviated textual description of C Code
  • T_Long_Desc A full-length textual description of C Code — what the user will actually see (e.g., Close Supplement - Recovery, File Note, Workers Compensation)
  • Codes have support for multiple languages.
  • the key to this feature is storing a language identifier along with each CodeDecode value.
  • This Language field makes up a part of the compound key of the Code_Decode table.
  • Each Code API lookup includes a system level call to retrieve the Language system variable. This value is used as part of the call to retrieve the values given the co ⁇ ect language.
  • a link to the Language system environment variable to the language keys is stored on each CodeDecode. This value is modified at any time by the user simply by editing the regional settings User Interface available in the Microsoft Windows Control Panel folder.
  • Handling Time Sensitive Codes becomes an issue when filling controls with a list of values.
  • One objective is to only allow the user to view and select appropriate entries.
  • the challenge lies in being able to expire Codes without adversely affecting the application. To achieve this, consideration is given to how each UI will decide which values are appropriate to show to the user given its current mode.
  • Set colStates objArch. CodesMan. FillControl(frmCu ⁇ entForm. cboStates, cmCatStates, cmLongDecode, cmValidCodes)
  • View Mode the user is typically viewing results of historical data without direct ability to edit. Editing selected historical data launches another UI. Given this the controls are filled with valid and expired codes, or in other words, non-pending codes.
  • Set colStates objArch. CodesMan. FillControl(frmCu ⁇ entFo ⁇ n. cboStates, cmCatStates, cmLongDecode, cmNonPendingCodes)
  • Edit Mode changes are allowed to valid codes but also expired codes are displayed if already assigned to the entity.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un programme informatique permettant de développer un progiciel à composantes. Ce programme comprend une composante données servant à stocker, à retirer et à manipuler les données en utilisant une pluralité de fonctions. L'invention concerne également une composante adaptateur qui transmet et reçoit des données vers/d'une composante données. Le programme comprend une composante entreprise servant de mémoire cache pour les données et comprenant une logique destinée à la manipulation des données. Le programme comprend en outre une composante commande, adaptée pour gérer les événements générés par un utilisateur utilisant, d'une part, la composante entreprise pour mettre en mémoire cache les données et, d'autre part, la composante adaptateur pour conserver en dernier lieu les données dans un dépôt de données.
PCT/US2000/012351 1999-05-04 2000-05-04 Procede et article manufacture pour isolation de donnees dans un programme informatique WO2000077698A2 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU78230/00A AU7823000A (en) 1999-05-04 2000-05-04 Method and article of manufacture for isolating data within computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/305,816 US6574636B1 (en) 1999-05-04 1999-05-04 Method and article of manufacture for isolating data within a computer program
US09/305,816 1999-05-04

Publications (2)

Publication Number Publication Date
WO2000077698A2 true WO2000077698A2 (fr) 2000-12-21
WO2000077698A3 WO2000077698A3 (fr) 2002-08-15

Family

ID=23182476

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/012351 WO2000077698A2 (fr) 1999-05-04 2000-05-04 Procede et article manufacture pour isolation de donnees dans un programme informatique

Country Status (3)

Country Link
US (1) US6574636B1 (fr)
AU (1) AU7823000A (fr)
WO (1) WO2000077698A2 (fr)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7979382B2 (en) 1999-05-04 2011-07-12 Accenture Global Services Limited Component based information linking during claim processing
US7013284B2 (en) * 1999-05-04 2006-03-14 Accenture Llp Component based interface to handle tasks during claim processing
US7617240B2 (en) 1999-05-04 2009-11-10 Accenture Llp Component based task handling during claim processing
EP1109104A1 (fr) * 1999-12-14 2001-06-20 Sun Microsystems, Inc. Suppression des cadres de données inutilisés
EP2306260B1 (fr) * 2000-09-21 2014-02-26 BlackBerry Limited Système et procédé de signature par code
US7320019B2 (en) * 2000-11-30 2008-01-15 At&T Delaware Intellectual Property, Inc. Method and apparatus for automatically checking e-mail addresses in outgoing e-mail communications
US7197505B2 (en) * 2000-12-22 2007-03-27 Star Bridge Systems, Inc. Multi-dimensional recursive wavefront behavioral synthesis
US7882103B2 (en) * 2002-03-28 2011-02-01 Teradata Us, Inc. Using point-in-time views to provide varying levels of data freshness
US6850247B1 (en) * 2002-01-06 2005-02-01 Apple Computer, Inc. Method and apparatus for image acquisition, organization, manipulation, and publication
US7289132B1 (en) 2003-12-19 2007-10-30 Apple Inc. Method and apparatus for image acquisition, organization, manipulation, and publication
US20040111510A1 (en) * 2002-12-06 2004-06-10 Shahid Shoaib Method of dynamically switching message logging schemes to improve system performance
EP1599819A1 (fr) * 2003-02-28 2005-11-30 Sap Ag Procede et application logicielle destines au traitement de documents electroniques
US7165237B2 (en) * 2003-03-20 2007-01-16 Microsoft Corporation Data store for arbitrary data types with type safe storage and retrieval
US8126742B2 (en) * 2003-05-09 2012-02-28 Accenture Global Services Limited Automated assignment of insurable events
US8010893B2 (en) * 2003-09-26 2011-08-30 West Services, Inc. Electronic document with selectively editable fields and methods for same
US20050177799A1 (en) * 2004-02-05 2005-08-11 Knight Juliet F. Method of associating an icon with a temporary profile
US7603381B2 (en) * 2004-09-30 2009-10-13 Microsoft Corporation Contextual action publishing
US7222200B2 (en) * 2004-10-14 2007-05-22 Dell Products L.P. Method for synchronizing processors in SMI following a memory hot plug event
US8024658B1 (en) * 2005-01-09 2011-09-20 Apple Inc. Application for designing photo albums
US8340289B2 (en) 2005-09-29 2012-12-25 Research In Motion Limited System and method for providing an indication of randomness quality of random number data generated by a random data service
US7933786B2 (en) 2005-11-01 2011-04-26 Accenture Global Services Limited Collaborative intelligent task processor for insurance claims
US7702658B2 (en) * 2006-01-27 2010-04-20 International Business Machines Corporation Method for optimistic locking using SQL select, update, delete, and insert statements
US20080126988A1 (en) * 2006-11-24 2008-05-29 Jayprakash Mudaliar Application management tool
US8478769B2 (en) 2008-02-22 2013-07-02 Accenture Global Services Limited Conversational question generation system adapted for an insurance claim processing system
US8515786B2 (en) 2008-02-22 2013-08-20 Accenture Global Services Gmbh Rule generation system adapted for an insurance claim processing system
US20090319991A1 (en) * 2008-06-20 2009-12-24 Microsoft Corporation Managed code type equivalence

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5191522A (en) 1990-01-18 1993-03-02 Itt Corporation Integrated group insurance information processing and reporting system based upon an enterprise-wide data structure
JPH0625984B2 (ja) 1990-02-20 1994-04-06 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン マルチプロセツサ・システム
US5655085A (en) 1992-08-17 1997-08-05 The Ryan Evalulife Systems, Inc. Computer system for automated comparing of universal life insurance policies based on selectable criteria
US5950169A (en) 1993-05-19 1999-09-07 Ccc Information Services, Inc. System and method for managing insurance claim processing
US5560005A (en) 1994-02-25 1996-09-24 Actamed Corp. Methods and systems for object-based relational distributed databases
US5768506A (en) 1994-09-30 1998-06-16 Hewlett-Packard Co. Method and apparatus for distributed workflow building blocks of process definition, initialization and execution
US5836011A (en) 1995-01-20 1998-11-10 International Business Machines Corporation Implementation of teams and roles within a people oriented work environment
US5671360A (en) 1995-01-20 1997-09-23 International Business Machines Corporation Project management tool implementing authority for a people oriented work environment tool
US5758351A (en) 1995-03-01 1998-05-26 Sterling Software, Inc. System and method for the creation and use of surrogate information system objects
US5592611A (en) * 1995-03-14 1997-01-07 Network Integrity, Inc. Stand-in computer server
US5664109A (en) 1995-06-07 1997-09-02 E-Systems, Inc. Method for extracting pre-defined data items from medical service records generated by health care providers
US6003007A (en) 1996-03-28 1999-12-14 Dirienzo; Andrew L. Attachment integrated claims system and operating method therefor
US6038590A (en) * 1996-07-01 2000-03-14 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server state machine in an interprise computing framework system
JP3898782B2 (ja) 1996-08-23 2007-03-28 オリンパス株式会社 情報記録再生装置
EP0841612A3 (fr) * 1996-11-08 2003-05-28 International Business Machines Corporation Structure pour le développement de logiciel
US5826239A (en) 1996-12-17 1998-10-20 Hewlett-Packard Company Distributed workflow resource management system and method
US5956687A (en) 1997-04-04 1999-09-21 Wamsley; Vaughn A. Personal injury claim management system
US6182274B1 (en) * 1997-05-01 2001-01-30 International Business Machines Corporation Reusing code in object-oriented program development
US6023578A (en) 1997-05-09 2000-02-08 International Business Macines Corporation Systems, methods and computer program products for generating an object oriented application for an object oriented environment
US5987247A (en) 1997-05-09 1999-11-16 International Business Machines Corporation Systems, methods and computer program products for building frameworks in an object oriented environment
US6158044A (en) 1997-05-21 2000-12-05 Epropose, Inc. Proposal based architecture system
US6061665A (en) * 1997-06-06 2000-05-09 Verifone, Inc. System, method and article of manufacture for dynamic negotiation of a network payment framework
EP0897149B1 (fr) * 1997-08-14 2005-10-05 International Business Machines Corporation Structure pour l'intégration financière des applications commerciales
US6070152A (en) * 1997-08-14 2000-05-30 International Business Machines Corporation Framework for business applications providing financial integration
US6163781A (en) 1997-09-11 2000-12-19 Physician Weblink Technology Services, Inc. Object-to-relational data converter mapping attributes to object instance into relational tables
US5946694A (en) * 1997-09-29 1999-08-31 International Business Machines Corporation Apparatus and method for transparent application of service to business objects
US6131155A (en) 1997-11-07 2000-10-10 Pmc Sierra Ltd. Programmer-visible uncached load/store unit having burst capability
US6078890A (en) 1998-06-01 2000-06-20 Ford Global Technologies, Inc. Method and system for automated health care rate renewal and quality assessment
US20030009357A1 (en) 1999-05-04 2003-01-09 Robert H. Pish Component based organizing of projects and members of an organization during claim processing

Also Published As

Publication number Publication date
US6574636B1 (en) 2003-06-03
WO2000077698A3 (fr) 2002-08-15
AU7823000A (en) 2001-01-02

Similar Documents

Publication Publication Date Title
US6574636B1 (en) Method and article of manufacture for isolating data within a computer program
EP2336961B1 (fr) Procédé et article manufacturé pour la gestion de tâches basées sur composant pendant le traitement de réclamations
US10068190B2 (en) Component based interface to handle tasks during claim processing
US7979382B2 (en) Component based information linking during claim processing
US20030009357A1 (en) Component based organizing of projects and members of an organization during claim processing
US20030154172A1 (en) Negotiation facilitation during claim processing
US5644764A (en) Method for supporting object modeling in a repository
US7607130B2 (en) Workflow as data-transition driven, scriptable state machines
US7577934B2 (en) Framework for modeling and providing runtime behavior for business software applications
US7730446B2 (en) Software business process model
US7359863B1 (en) Condition component framework for reinsurance
US5758348A (en) Method for generically manipulating properties of objects in an object oriented repository
EP1688624A1 (fr) Dispositif d'aspiration multifonction a fort debit de type a reflux
US20030093425A1 (en) System, method, and computer program product for accessing batch job service requests
WO2005026986A2 (fr) Objets d'interrogation
CA2380197C (fr) Cadres objets pour reassurance
Lingat et al. Rubis: an extended relational system managing events Part I: specification
CA2891769A1 (fr) Cadres objets pour reassurance

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载