Calling Media Object 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, List, and Delete. This code sample shows code that is generated by the Create Media Object Call Wizard:

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. For more information, see Creating Business Services that Call Media Object Operations.