|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl oracle.adfinternal.businesseditor.objects.BusinessEditorObjectImpl oracle.adfinternal.businesseditor.objects.BusinessObjectImpl
public final class BusinessObjectImpl
For internal framework use only. A business object.
Constructor Summary | |
---|---|
protected |
BusinessObjectImpl(BusinessEditorManagerImpl manager,
BusinessObject parent,
java.lang.String name)
|
protected |
BusinessObjectImpl(BusinessEditorManagerImpl manager,
java.lang.String name,
java.lang.String fullName)
|
Method Summary | |
---|---|
protected void |
cancelFlowForExistingObject()
|
protected void |
cancelFlowForNewObject()
|
protected void |
checkLoadObject()
|
CustomAttribute |
createAttribute(java.lang.String name,
AttributeType attrType)
Create a custom attribute for the given name and type. |
CustomAttributeImpl |
createAttribute(java.lang.String name,
java.lang.String type)
Create a custom attribute for the given name and type. |
BusinessObjectFunction |
createFunction(java.lang.String name,
java.lang.String returnType,
java.lang.String body)
Create a function for this business object. |
BusinessObjectTriggerImpl |
createTrigger(oracle.jbo.server.TriggerType triggerType,
java.lang.String name,
java.lang.String triggerDefinition,
java.lang.String errorMessage)
Create a trigger for this business object. |
BusinessObjectValidatorImpl |
createValidator(java.lang.String name,
java.lang.String ruleDefinition,
java.lang.String errorMessage)
Create a validator for this business object. |
void |
deleteAttribute(CustomAttribute attr)
Delete a custom attribute. |
void |
deleteFunction(BusinessObjectFunction function)
Delete a function from this business object. |
void |
deleteTrigger(BusinessObjectTrigger trigger)
Delete a trigger from this business object. |
void |
deleteValidator(BusinessObjectValidator validator)
Delete a validator from this business object. |
protected void |
doCommit()
|
protected void |
doRollback()
|
AttributeImpl |
findAttribute(java.lang.String name)
Retrive the attribute of the given name. |
BusinessObjectFunctionImpl |
findFunction(java.lang.String name)
Retrive the function of the given name. |
BusinessObjectTriggerImpl |
findTrigger(java.lang.String name)
Retrieve the trigger of the given name. |
BusinessObjectValidatorImpl |
findValidator(java.lang.String name)
Retrive the validator of the given name. |
protected void |
finishFlowForExistingObject()
|
protected void |
finishFlowForNewObject()
|
java.util.Collection<Attribute> |
getAttributes()
Retrieve all attributes for this business object. |
java.lang.String |
getAutoNumberPattern()
Returns the auto number pattern of the object. |
java.util.Collection<CustomAttribute> |
getCustomAttributes()
Retrieve all custom attributes for this business object. |
java.lang.String |
getDisplayLabel()
Returns the display label of the object. |
java.lang.String |
getDisplayNamePlural()
Returns the plural display label of the object. |
java.lang.String |
getFullName()
Returns the full name of the object. |
java.util.Collection<BusinessObjectFunction> |
getFunctions()
Retrieve all functions for the business object. |
ObjectGroupHelper |
getGroupHelper(ObjectType type)
|
protected ObjectType |
getObjectType()
|
protected BusinessObject |
getParent()
|
java.lang.String |
getRecordNameLabel()
Returns the record name label of the object. |
java.util.Collection<StandardAttribute> |
getStandardAttributes()
Retrieve all standard attributes for this business object. |
java.util.Collection<BusinessObjectTrigger> |
getTriggers()
Retrieve all triggers for this business object. |
java.util.Collection<BusinessObjectValidator> |
getValidators()
Retrieve all validators for this business object. |
protected oracle.jbo.ViewObject |
getViewObjectBeingEdited()
|
protected void |
initFlowForExistingObject()
|
protected void |
initFlowForNewObject()
|
protected boolean |
isPropertyUpdateable(java.lang.String property)
|
boolean |
isRemovable()
Return if business object is removable. |
protected void |
populateAttributeTriggers()
|
protected void |
renameFunction(BusinessObjectFunctionImpl function,
java.lang.String oldName,
java.lang.String newName)
|
protected void |
renameTrigger(BusinessObjectTriggerImpl trigger,
java.lang.String oldName,
java.lang.String newName)
|
protected void |
renameValidator(BusinessObjectValidatorImpl validator,
java.lang.String oldName,
java.lang.String newName)
|
void |
setAutoNumberPattern(java.lang.String value)
Set the auto number pattern of the object. |
void |
setDisplayLabel(java.lang.String text)
Set the display label of the object. |
void |
setDisplayNamePlural(java.lang.String value)
Set the plural display label of the object. |
protected void |
setParent(BusinessObject parent)
|
void |
setRecordNameLabel(java.lang.String value)
Set the record name label of the object. |
Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorObjectImpl |
---|
getBusinessEditor, getBusinessEditorLogic, getBusinessEditorManager, getBusinessEditorViewLogic, getDescription, getName, getObjectKey, getProperty, setDescription, setName, setProperty |
Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl |
---|
canPopulateChildren, containsProperty, ensureVerified, getContainer, getLocalizedString, getPropertyNoLoad, initialize, isLoaded, isNew, isNotVerified, populateChildren, postCommit, preCommit, readObject, removeProperty, setDirty, setNew, setNotExist, setPropertyNoLoad, setVerified, valuesDiffer, writeObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adf.businesseditor.objects.BusinessObject |
---|
getDescription, getName, setDescription |
Constructor Detail |
---|
protected BusinessObjectImpl(BusinessEditorManagerImpl manager, BusinessObject parent, java.lang.String name)
protected BusinessObjectImpl(BusinessEditorManagerImpl manager, java.lang.String name, java.lang.String fullName)
Method Detail |
---|
public java.util.Collection<Attribute> getAttributes()
BusinessObject
getAttributes
in interface BusinessObject
public java.util.Collection<StandardAttribute> getStandardAttributes()
BusinessObject
getStandardAttributes
in interface BusinessObject
public java.util.Collection<CustomAttribute> getCustomAttributes()
BusinessObject
getCustomAttributes
in interface BusinessObject
public AttributeImpl findAttribute(java.lang.String name)
BusinessObject
findAttribute
in interface BusinessObject
name
- name of the attribute.
public CustomAttribute createAttribute(java.lang.String name, AttributeType attrType)
BusinessObject
createAttribute
in interface BusinessObject
name
- name of the attributeattrType
- type of the attribute in AttributeType
public CustomAttributeImpl createAttribute(java.lang.String name, java.lang.String type)
BusinessObject
createAttribute
in interface BusinessObject
name
- name of the attributetype
- type of the attribute in String. It is
public void deleteAttribute(CustomAttribute attr)
BusinessObject
deleteAttribute
in interface BusinessObject
attr
- custom attribute to be deletedpublic java.util.Collection<BusinessObjectValidator> getValidators()
BusinessObject
getValidators
in interface BusinessObject
public BusinessObjectValidatorImpl findValidator(java.lang.String name)
BusinessObject
findValidator
in interface BusinessObject
name
- name of the validator.
public BusinessObjectValidatorImpl createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
BusinessObject
createValidator
in interface BusinessObject
name
- name of the validatorruleDefinition
- rule definition of the validatorerrorMessage
- error message of the validator
public void deleteValidator(BusinessObjectValidator validator)
BusinessObject
deleteValidator
in interface BusinessObject
validator
- name of the validatorpublic java.util.Collection<BusinessObjectTrigger> getTriggers()
BusinessObject
getTriggers
in interface BusinessObject
public BusinessObjectTriggerImpl findTrigger(java.lang.String name)
BusinessObject
findTrigger
in interface BusinessObject
name
- name of the trigger.
public BusinessObjectTriggerImpl createTrigger(oracle.jbo.server.TriggerType triggerType, java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
BusinessObject
createTrigger
in interface BusinessObject
triggerType
- type of the trigger.name
- name of the trigger.triggerDefinition
- trigger definition of the triggererrorMessage
- error message of the trigger
public void deleteTrigger(BusinessObjectTrigger trigger)
BusinessObject
deleteTrigger
in interface BusinessObject
trigger
- name of the triggerpublic java.util.Collection<BusinessObjectFunction> getFunctions()
BusinessObject
getFunctions
in interface BusinessObject
public BusinessObjectFunctionImpl findFunction(java.lang.String name)
BusinessObject
findFunction
in interface BusinessObject
name
- name of the function.
public BusinessObjectFunction createFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
BusinessObject
createFunction
in interface BusinessObject
name
- name of the function.returnType
- return type of the functionbody
- function body of the function
public void deleteFunction(BusinessObjectFunction function)
BusinessObject
deleteFunction
in interface BusinessObject
function
- function to be deletedpublic void setDisplayLabel(java.lang.String text)
BusinessObject
setDisplayLabel
in interface BusinessObject
text
- display label of the objectpublic java.lang.String getDisplayLabel()
BusinessObject
getDisplayLabel
in interface BusinessObject
public void setDisplayNamePlural(java.lang.String value)
BusinessObject
setDisplayNamePlural
in interface BusinessObject
value
- plural display label of the objectpublic java.lang.String getDisplayNamePlural()
BusinessObject
getDisplayNamePlural
in interface BusinessObject
public void setRecordNameLabel(java.lang.String value)
BusinessObject
setRecordNameLabel
in interface BusinessObject
value
- record name label of the objectpublic java.lang.String getRecordNameLabel()
BusinessObject
getRecordNameLabel
in interface BusinessObject
public void setAutoNumberPattern(java.lang.String value)
BusinessObject
setAutoNumberPattern
in interface BusinessObject
value
- auto number pattern of the objectpublic java.lang.String getAutoNumberPattern()
BusinessObject
getAutoNumberPattern
in interface BusinessObject
public java.lang.String getFullName()
BusinessObject
getFullName
in interface BusinessObject
public boolean isRemovable()
BusinessObject
isRemovable
in interface BusinessObject
protected void initFlowForNewObject()
initFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void initFlowForExistingObject()
initFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected void finishFlowForNewObject()
finishFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void finishFlowForExistingObject()
finishFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected void cancelFlowForNewObject()
cancelFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void cancelFlowForExistingObject()
cancelFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected oracle.jbo.ViewObject getViewObjectBeingEdited()
getViewObjectBeingEdited
in class BusinessEditorBaseObjectImpl
protected boolean isPropertyUpdateable(java.lang.String property)
protected void setParent(BusinessObject parent)
protected BusinessObject getParent()
protected void checkLoadObject()
checkLoadObject
in class BusinessEditorBaseObjectImpl
protected void doCommit()
doCommit
in class BusinessEditorBaseObjectImpl
protected void doRollback()
doRollback
in class BusinessEditorBaseObjectImpl
public ObjectGroupHelper getGroupHelper(ObjectType type)
getGroupHelper
in interface ObjectGroupOwner
getGroupHelper
in class BusinessEditorBaseObjectImpl
protected void populateAttributeTriggers()
protected void renameFunction(BusinessObjectFunctionImpl function, java.lang.String oldName, java.lang.String newName)
protected void renameValidator(BusinessObjectValidatorImpl validator, java.lang.String oldName, java.lang.String newName)
protected void renameTrigger(BusinessObjectTriggerImpl trigger, java.lang.String oldName, java.lang.String newName)
protected ObjectType getObjectType()
getObjectType
in class BusinessEditorBaseObjectImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |