Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Implementing org.kuali.rice.kns.bo.GlobalBusinessObject
Anchor
global_business_object
global_business_object

...

Global business objects must implement the org.kuali.rice.kns.bo.GlobalBusinessObject interface. Let's take a tour of the methods we must implement:

...

First, we have to create a class that extends org.kuali.rice.kns.bo.GlobalBusinessObjectDetailBase. This class doesn't have much - just a document number, which acts as a foreign key to the global business object. The detail class can then have whatever methods it needs, typically getter/setter properties for the attributes that the user needs to enter. We also must create a database table to hold records of each type of detail business object and we have to set up the OJB mappings for the detail table.

...