Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.7.0)

E36215-01

oracle.adf.businesseditor.objects
Class BusinessEditorManager

java.lang.Object
  extended by oracle.adf.businesseditor.objects.BusinessEditorManager

public class BusinessEditorManager
extends java.lang.Object

A logical container for the business objects.


Constructor Summary
BusinessEditorManager()
          Initializes a BusinessEditorManager object.
 
Method Summary
 void commit()
          Commit any pending changes.
 BusinessObject createBusinessObject(BusinessObject parent, java.lang.String name)
          Creates a BusinessObject.
 BusinessObject createBusinessObject(java.lang.String name)
          Creates a BusinessObject.
 GlobalFunction createGlobalFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
          Creates a global function.
 void deleteBusinessObject(BusinessObject bo)
          Deletes a business object.
 void deleteGlobalFunction(GlobalFunction function)
          Deletes a global function.
 BusinessObject findBusinessObject(java.lang.String name)
          Find the existing BusinessObject for the given name.
 GlobalFunction findGlobalFunction(java.lang.String name)
          Retrieves the global function with the name.
 java.util.Collection<BusinessObject> getBusinessObjects()
          Returns buiness objects.
 java.util.Collection<GlobalFunction> getGlobalFunctions()
          Returns global functions.
protected  BusinessEditorManagerImpl getImpl()
          For internal framework use only.
 void release()
          Releases the application module instance.
 void rollback()
          Rollback any uncommited changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessEditorManager

public BusinessEditorManager()
Initializes a BusinessEditorManager object.

Throws:
Method Detail

getBusinessObjects

public java.util.Collection<BusinessObject> getBusinessObjects()
Returns buiness objects.

Returns:
collection of business objects

findBusinessObject

public BusinessObject findBusinessObject(java.lang.String name)
Find the existing BusinessObject for the given name. If no BusinessObject exists for the name, null is returned.

Parameters:
name -
Returns:
BusinessObject

createBusinessObject

public BusinessObject createBusinessObject(java.lang.String name)
Creates a BusinessObject.

Parameters:
name - name of the BusinessObject
Returns:
BusinessObject
Throws:
oracle.jbo.JboException - if a BusinessObject for the name already exists

createBusinessObject

public BusinessObject createBusinessObject(BusinessObject parent,
                                           java.lang.String name)
Creates a BusinessObject.

Parameters:
parent - parent of the BusinessObject
name - name of the BusinessObject
Returns:
BusinessObject
Throws:
oracle.jbo.JboException - if a BusinessObject for the name already exists

deleteBusinessObject

public void deleteBusinessObject(BusinessObject bo)
Deletes a business object.

Parameters:
bo - the business object to be deleted.

getGlobalFunctions

public java.util.Collection<GlobalFunction> getGlobalFunctions()
Returns global functions.

Returns:
collection of global functions

findGlobalFunction

public GlobalFunction findGlobalFunction(java.lang.String name)
Retrieves the global function with the name. If no global function is found for the given name, null is returned.

Parameters:
name - name of the global function to be returned
Returns:
global function

createGlobalFunction

public GlobalFunction createGlobalFunction(java.lang.String name,
                                           java.lang.String returnType,
                                           java.lang.String body)
Creates a global function.

Parameters:
name - name of the global function
returnType - return type
body - the function body
Returns:

deleteGlobalFunction

public void deleteGlobalFunction(GlobalFunction function)
Deletes a global function.

Parameters:
function - the global function to be deleted.

commit

public void commit()
Commit any pending changes.

Throws:

rollback

public void rollback()
Rollback any uncommited changes.

Throws:

release

public void release()
Releases the application module instance.


getImpl

protected BusinessEditorManagerImpl getImpl()
For internal framework use only.

For internal use only. Application developers should not use this

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.7.0)

E36215-01

Copyright © 1997, 2013, Oracle. All rights reserved.