@Concealed public class BusinessEditorManagerImpl extends java.lang.Object implements BusinessEditorManagerInterface
BusinessEditorConstants.ObjectMode
Constructor and Description |
---|
BusinessEditorManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNewChildren(oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl child) |
boolean |
canPopulateChildren() |
void |
commit()
Call commit() to save the changes of the current pending logical
operation you are performing.
|
protected void |
commitNewObjects() |
oracle.adfinternal.businesseditor.objects.BusinessObjectImpl |
createBusinessObject(BusinessObject parent,
java.lang.String name)
Creates a BusinessObject.
|
oracle.adfinternal.businesseditor.objects.BusinessObjectImpl |
createBusinessObject(BusinessObject parent,
java.lang.String name,
CustomObjectInfo descriptor)
Creates a BusinessObject.Throws JboException if a BusinessObject for the name already exists.
|
oracle.adfinternal.businesseditor.objects.BusinessObjectImpl |
createBusinessObject(java.lang.String name)
Creates a BusinessObject.
|
oracle.adfinternal.businesseditor.objects.BusinessObjectImpl |
createBusinessObject(java.lang.String name,
CustomObjectInfo descriptor)
Creates a BusinessObject.
|
oracle.adfinternal.businesseditor.objects.GlobalFunctionImpl |
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.
|
protected void |
doCommit() |
protected void |
doRollback() |
void |
ensureVerified() |
BusinessObject |
findBusinessObject(java.lang.String name)
Finds the existing BusinessObject for the given name.
|
GlobalFunction |
findGlobalFunction(java.lang.String name,
java.lang.String... params)
Retrieves the global function with the given name.
|
java.util.Collection<GlobalFunction> |
findGlobalFunctions(java.lang.String name)
Retrieves all global functions with the name.
|
protected oracle.jbo.server.ApplicationModuleImpl |
getAM() |
oracle.adf.businesseditor.model.BusinessEditorImpl |
getBusinessEditor() |
protected oracle.adf.businesseditor.model.BusinessEditorLogic |
getBusinessEditorLogic() |
java.util.Collection<BusinessObject> |
getBusinessObjects()
Returns all customizable buiness objects, and the reference-only business objects that
contain attributes that can be used for the display and search attribute for dynamic
choice list.
|
java.util.Collection<GlobalFunction> |
getGlobalFunctions()
Returns global functions.
|
oracle.adfinternal.businesseditor.objects.ObjectGroupHelper |
getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type) |
protected LookupManagerImpl |
getLookupManager() |
protected boolean |
hasChild(BusinessObject parentBO) |
void |
populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type) |
void |
release()
Releases the application module instance.
|
protected void |
removeNewChildren(oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl child) |
void |
rollback()
Discard any changes since last commit.
|
void |
setAM(oracle.jbo.server.ApplicationModuleImpl am) |
void |
setNeedToReleaseAM(boolean needToReleaseAM) |
protected void |
updateGlobalFunctionId(java.lang.String oldId,
java.lang.String newId) |
public java.util.Collection<BusinessObject> getBusinessObjects()
BusinessEditorManagerInterface
BusinessObject.isCustomizable()
to identify if a business object is customizable.getBusinessObjects
in interface BusinessEditorManagerInterface
public BusinessObject findBusinessObject(java.lang.String name)
BusinessEditorManagerInterface
findBusinessObject
in interface BusinessEditorManagerInterface
name
- name of object to look forpublic oracle.adfinternal.businesseditor.objects.BusinessObjectImpl createBusinessObject(java.lang.String name)
BusinessEditorManagerInterface
createBusinessObject
in interface BusinessEditorManagerInterface
name
- name of the BusinessObjectpublic oracle.adfinternal.businesseditor.objects.BusinessObjectImpl createBusinessObject(java.lang.String name, CustomObjectInfo descriptor)
BusinessEditorManagerInterface
createBusinessObject
in interface BusinessEditorManagerInterface
name
- name of the BusinessObjectdescriptor
- an instance of CustomObjectDescriptorpublic oracle.adfinternal.businesseditor.objects.BusinessObjectImpl createBusinessObject(BusinessObject parent, java.lang.String name)
BusinessEditorManagerInterface
createBusinessObject
in interface BusinessEditorManagerInterface
parent
- parent of the BusinessObjectname
- name of the BusinessObjectpublic oracle.adfinternal.businesseditor.objects.BusinessObjectImpl createBusinessObject(BusinessObject parent, java.lang.String name, CustomObjectInfo descriptor)
BusinessEditorManagerInterface
createBusinessObject
in interface BusinessEditorManagerInterface
parent
- parent of the BusinessObjectname
- name of the BusinessObjectdescriptor
- an instance of CustomObjectDescriptorpublic void deleteBusinessObject(BusinessObject bo)
BusinessEditorManagerInterface
deleteBusinessObject
in interface BusinessEditorManagerInterface
bo
- the business object to be deleted.public java.util.Collection<GlobalFunction> getGlobalFunctions()
BusinessEditorManagerInterface
getGlobalFunctions
in interface BusinessEditorManagerInterface
public GlobalFunction findGlobalFunction(java.lang.String name, java.lang.String... params)
BusinessEditorManagerInterface
findGlobalFunction
in interface BusinessEditorManagerInterface
name
- name of the global function to be returnedparams
- parameters types for the functionpublic java.util.Collection<GlobalFunction> findGlobalFunctions(java.lang.String name)
BusinessEditorManagerInterface
findGlobalFunctions
in interface BusinessEditorManagerInterface
name
- name of the global functions to be returnedpublic oracle.adfinternal.businesseditor.objects.GlobalFunctionImpl createGlobalFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
BusinessEditorManagerInterface
createGlobalFunction
in interface BusinessEditorManagerInterface
name
- name of the global functionreturnType
- return typebody
- the function bodypublic void deleteGlobalFunction(GlobalFunction function)
BusinessEditorManagerInterface
deleteGlobalFunction
in interface BusinessEditorManagerInterface
function
- the global function to be deleted.public void commit()
BusinessEditorManagerInterface
commit
in interface BusinessEditorManagerInterface
public void rollback()
BusinessEditorManagerInterface
rollback
in interface BusinessEditorManagerInterface
public void release()
BusinessEditorManagerInterface
release
in interface BusinessEditorManagerInterface
public oracle.adf.businesseditor.model.BusinessEditorImpl getBusinessEditor()
public oracle.adfinternal.businesseditor.objects.ObjectGroupHelper getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type)
protected void updateGlobalFunctionId(java.lang.String oldId, java.lang.String newId)
protected oracle.adf.businesseditor.model.BusinessEditorLogic getBusinessEditorLogic()
protected LookupManagerImpl getLookupManager()
protected boolean hasChild(BusinessObject parentBO)
protected void doCommit()
protected void doRollback()
public boolean canPopulateChildren()
public void populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type)
public void ensureVerified()
public void setAM(oracle.jbo.server.ApplicationModuleImpl am)
public void setNeedToReleaseAM(boolean needToReleaseAM)
protected oracle.jbo.server.ApplicationModuleImpl getAM()
protected void commitNewObjects()
protected void addNewChildren(oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl child)
protected void removeNewChildren(oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl child)