Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.flex.runtime.util.service
Class ServiceEnabler

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.event.BCModelerAdapter
      extended by oracle.apps.fnd.applcore.flex.runtime.util.service.ServiceEnabler
All Implemented Interfaces:
java.util.EventListener, BCModelerListener, ModelerListener

public class ServiceEnabler
extends BCModelerAdapter

A class that enables service in business component objects.


Constructor Summary
ServiceEnabler()
           
 
Method Summary
 void enableService(oracle.jbo.server.ViewDefImpl viewDef)
          Enables service by writing service related information to the view definition.
 void enableService(oracle.jbo.server.ViewDefImpl viewDef, java.util.List<java.lang.String> viewDefImports)
          Enables service by writing service related information to the view definition.
 XsdCollection getUpdatedObjects()
          Gets the list of the objects updated since the last modelerFinished call.
 void modelerFinished(ModelerEvent me)
          Invoked after the modeler has finished building the model.
 void modelerStarting(ModelerEvent me)
          Invoked when the modeler is about start building the model.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.event.BCModelerAdapter
listenerExceptionThrown, modelerActionPerformed, modelerInterrupted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceEnabler

public ServiceEnabler()
Method Detail

modelerStarting

public void modelerStarting(ModelerEvent me)
Description copied from interface: ModelerListener
Invoked when the modeler is about start building the model.

Specified by:
modelerStarting in interface ModelerListener
Overrides:
modelerStarting in class BCModelerAdapter
Parameters:
me - the modeler event.

modelerFinished

public void modelerFinished(ModelerEvent me)
Description copied from interface: ModelerListener
Invoked after the modeler has finished building the model.

Specified by:
modelerFinished in interface ModelerListener
Overrides:
modelerFinished in class BCModelerAdapter
Parameters:
me - the modeler event

getUpdatedObjects

public XsdCollection getUpdatedObjects()
Gets the list of the objects updated since the last modelerFinished call.

Returns:
the list of the objects updated

enableService

public void enableService(oracle.jbo.server.ViewDefImpl viewDef)
Enables service by writing service related information to the view definition. The namespace is derived from the view definition full name: the namespace will be constructed from the package name up to the last ".view.". If the package name does not contain ".view.", then the whole package is used. For example, for a view definition name like "oracle.apps.x.y.view.MyVO", "oracle.apps.x.y" will be used to construct the namespace. For a view definition name like "oracle.apps.x.y.ViewObj", "oracle.apps.x.y" will be used to construct the namespace.

Parameters:
viewDef - the view definition to be service-enabled.
Throws:
java.lang.NullPointerException - if the given view definition is null

enableService

public void enableService(oracle.jbo.server.ViewDefImpl viewDef,
                          java.util.List<java.lang.String> viewDefImports)
Enables service by writing service related information to the view definition. The service definition will import service definitions of the given view definition list.

Parameters:
viewDef - the view definition to be service-enabled
viewDefImports - the list of full names of view definitions that need to be imported in the service definition for the first argument

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.