public interface BusinessEditorManagerInterface
Modifier and Type | Method and Description |
---|---|
void |
commit()
Call commit() to save the changes of the current pending logical
operation you are performing.
|
BusinessObject |
createBusinessObject(BusinessObject parent,
java.lang.String name)
Creates a BusinessObject.
|
BusinessObject |
createBusinessObject(BusinessObject parent,
java.lang.String name,
CustomObjectInfo descriptor)
Creates a BusinessObject.Throws JboException if a BusinessObject for the name already exists.
|
BusinessObject |
createBusinessObject(java.lang.String name)
Creates a BusinessObject.
|
BusinessObject |
createBusinessObject(java.lang.String name,
CustomObjectInfo descriptor)
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)
Finds the existing BusinessObject for the given name.
|
GlobalFunction |
findGlobalFunction(java.lang.String name,
java.lang.String... paramTypes)
Retrieves the global function with the given name.
|
java.util.Collection<GlobalFunction> |
findGlobalFunctions(java.lang.String name)
Retrieves all global functions with the name.
|
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.
|
void |
release()
Releases the application module instance.
|
void |
rollback()
Discard any changes since last commit.
|
java.util.Collection<BusinessObject> getBusinessObjects()
BusinessObject.isCustomizable()
to identify if a business object is customizable.BusinessObject findBusinessObject(java.lang.String name)
name
- name of object to look forBusinessObject createBusinessObject(java.lang.String name)
name
- name of the BusinessObjectBusinessObject createBusinessObject(java.lang.String name, CustomObjectInfo descriptor)
name
- name of the BusinessObjectdescriptor
- an instance of CustomObjectDescriptorBusinessObject createBusinessObject(BusinessObject parent, java.lang.String name)
parent
- parent of the BusinessObjectname
- name of the BusinessObjectBusinessObject createBusinessObject(BusinessObject parent, java.lang.String name, CustomObjectInfo descriptor)
parent
- parent of the BusinessObjectname
- name of the BusinessObjectdescriptor
- an instance of CustomObjectDescriptorvoid deleteBusinessObject(BusinessObject bo)
bo
- the business object to be deleted.java.util.Collection<GlobalFunction> getGlobalFunctions()
GlobalFunction findGlobalFunction(java.lang.String name, java.lang.String... paramTypes)
name
- name of the global function to be returnedparamTypes
- parameters types for the functionjava.util.Collection<GlobalFunction> findGlobalFunctions(java.lang.String name)
name
- name of the global functions to be returnedGlobalFunction createGlobalFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
name
- name of the global functionreturnType
- return typebody
- the function bodyvoid deleteGlobalFunction(GlobalFunction function)
function
- the global function to be deleted.void commit()
void rollback()
void release()