Understanding Media Object Operations
Many of the rules for business services that call Media Object operations are the same as the rules for business services that call business functions and call database operations, but some exceptions and differences exist. The exceptions and differences are discussed in this chapter for each of the different types of operations.
You can create business services that call Media Object operations. You use the business service foundation Create Media Object Call Wizard to create these business service methods. Media Object operations include Insert, Select, and Delete. This code sample shows code that is generated by the Create Media Object Call Wizard:
//calls method which then executes jdbj call to the table selected. messages = insertMediaObject(context, connection, internalVO);
The wizard creates a generic method. You modify the signature of the method and complete the code for the objects that will be accessed for mapping to and from the Media Object operation call. The wizard creates InputVOType as a placeholder in the signature for the internal value object class name that you provide. The wizard generates unique code for each type of Media Object operation.