public final class BusinessObjectImpl extends BusinessEditorObjectImpl implements BusinessObject
| Modifier | Constructor and Description |
|---|---|
protected |
BusinessObjectImpl(BusinessEditorManagerImpl manager, BusinessObject parent, java.lang.String name) |
protected |
BusinessObjectImpl(BusinessEditorManagerImpl manager, java.lang.String name, java.lang.String fullName) |
| Modifier and Type | Method and Description |
|---|---|
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(BusinessObjectTriggerType 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.lang.String |
getChildCollectionName()
Return the internal name of the child object records set.
|
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.adf.businesseditor.model.views.NewCustomObjectImpl |
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() |
void |
publishRESTWebService()
Publish REST web service for the custom object
|
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 |
setChildCollectionName(java.lang.String childCollectionName)
Set the name of the child object records set
|
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.
|
getBusinessEditor, getBusinessEditorLogic, getBusinessEditorManager, getBusinessEditorViewLogic, getDescription, getName, getObjectKey, getProperty, setDescription, setName, setPropertycanPopulateChildren, containsProperty, ensureVerified, getContainer, getLocalizedString, getPropertyNoLoad, initialize, isLoaded, isNew, isNotVerified, populateChildren, postCommit, preCommit, readObject, removeProperty, setDirty, setNew, setNotExist, setPropertyNoLoad, setVerified, valuesDiffer, writeObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, setDescriptionprotected BusinessObjectImpl(BusinessEditorManagerImpl manager, BusinessObject parent, java.lang.String name)
protected BusinessObjectImpl(BusinessEditorManagerImpl manager, java.lang.String name, java.lang.String fullName)
public java.util.Collection<Attribute> getAttributes()
BusinessObjectgetAttributes in interface BusinessObjectpublic java.util.Collection<StandardAttribute> getStandardAttributes()
BusinessObjectgetStandardAttributes in interface BusinessObjectpublic java.util.Collection<CustomAttribute> getCustomAttributes()
BusinessObjectgetCustomAttributes in interface BusinessObjectpublic AttributeImpl findAttribute(java.lang.String name)
BusinessObjectfindAttribute in interface BusinessObjectname - name of the attribute.public CustomAttribute createAttribute(java.lang.String name, AttributeType attrType)
BusinessObjectcreateAttribute in interface BusinessObjectname - name of the attributeattrType - type of the attribute in AttributeTypepublic CustomAttributeImpl createAttribute(java.lang.String name, java.lang.String type)
BusinessObjectcreateAttribute in interface BusinessObjectname - name of the attributetype - type of the attribute in String. It ispublic void deleteAttribute(CustomAttribute attr)
BusinessObjectdeleteAttribute in interface BusinessObjectattr - custom attribute to be deletedpublic java.util.Collection<BusinessObjectValidator> getValidators()
BusinessObjectgetValidators in interface BusinessObjectpublic BusinessObjectValidatorImpl findValidator(java.lang.String name)
BusinessObjectfindValidator in interface BusinessObjectname - name of the validator.public BusinessObjectValidatorImpl createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
BusinessObjectcreateValidator in interface BusinessObjectname - name of the validatorruleDefinition - rule definition of the validatorerrorMessage - error message of the validatorpublic void deleteValidator(BusinessObjectValidator validator)
BusinessObjectdeleteValidator in interface BusinessObjectvalidator - name of the validatorpublic java.util.Collection<BusinessObjectTrigger> getTriggers()
BusinessObjectgetTriggers in interface BusinessObjectpublic BusinessObjectTriggerImpl findTrigger(java.lang.String name)
BusinessObjectfindTrigger in interface BusinessObjectname - name of the trigger.public BusinessObjectTriggerImpl createTrigger(BusinessObjectTriggerType triggerType, java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
BusinessObjectcreateTrigger in interface BusinessObjecttriggerType - type of the trigger.name - name of the trigger.triggerDefinition - trigger definition of the triggererrorMessage - error message of the triggerpublic void deleteTrigger(BusinessObjectTrigger trigger)
BusinessObjectdeleteTrigger in interface BusinessObjecttrigger - name of the triggerpublic java.util.Collection<BusinessObjectFunction> getFunctions()
BusinessObjectgetFunctions in interface BusinessObjectpublic BusinessObjectFunctionImpl findFunction(java.lang.String name)
BusinessObjectfindFunction in interface BusinessObjectname - name of the function.public BusinessObjectFunction createFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
BusinessObjectcreateFunction in interface BusinessObjectname - name of the function.returnType - return type of the functionbody - function body of the functionpublic void deleteFunction(BusinessObjectFunction function)
BusinessObjectdeleteFunction in interface BusinessObjectfunction - function to be deletedpublic void setDisplayLabel(java.lang.String text)
BusinessObjectsetDisplayLabel in interface BusinessObjecttext - display label of the objectpublic java.lang.String getDisplayLabel()
BusinessObjectgetDisplayLabel in interface BusinessObjectpublic void setDisplayNamePlural(java.lang.String value)
BusinessObjectsetDisplayNamePlural in interface BusinessObjectvalue - plural display label of the objectpublic java.lang.String getDisplayNamePlural()
BusinessObjectgetDisplayNamePlural in interface BusinessObjectpublic void setRecordNameLabel(java.lang.String value)
BusinessObjectsetRecordNameLabel in interface BusinessObjectvalue - record name label of the objectpublic java.lang.String getRecordNameLabel()
BusinessObjectgetRecordNameLabel in interface BusinessObjectpublic void setAutoNumberPattern(java.lang.String value)
BusinessObjectsetAutoNumberPattern in interface BusinessObjectvalue - auto number pattern of the objectpublic java.lang.String getAutoNumberPattern()
BusinessObjectgetAutoNumberPattern in interface BusinessObjectpublic java.lang.String getFullName()
BusinessObjectgetFullName in interface BusinessObjectpublic boolean isRemovable()
BusinessObjectisRemovable in interface BusinessObjectpublic void setChildCollectionName(java.lang.String childCollectionName)
BusinessObjectsetChildCollectionName in interface BusinessObjectchildCollectionName - the name of the child object records setpublic java.lang.String getChildCollectionName()
BusinessObjectgetChildCollectionName in interface BusinessObjectpublic void publishRESTWebService()
BusinessObjectpublishRESTWebService in interface BusinessObjectprotected void initFlowForNewObject()
initFlowForNewObject in class BusinessEditorBaseObjectImplprotected void initFlowForExistingObject()
initFlowForExistingObject in class BusinessEditorBaseObjectImplprotected void finishFlowForNewObject()
finishFlowForNewObject in class BusinessEditorBaseObjectImplprotected void finishFlowForExistingObject()
finishFlowForExistingObject in class BusinessEditorBaseObjectImplprotected void cancelFlowForNewObject()
cancelFlowForNewObject in class BusinessEditorBaseObjectImplprotected void cancelFlowForExistingObject()
cancelFlowForExistingObject in class BusinessEditorBaseObjectImplprotected oracle.adf.businesseditor.model.views.NewCustomObjectImpl getViewObjectBeingEdited()
getViewObjectBeingEdited in class BusinessEditorBaseObjectImplprotected boolean isPropertyUpdateable(java.lang.String property)
protected void setParent(BusinessObject parent)
protected BusinessObject getParent()
protected void checkLoadObject()
checkLoadObject in class BusinessEditorBaseObjectImplprotected void doCommit()
doCommit in class BusinessEditorBaseObjectImplprotected void doRollback()
doRollback in class BusinessEditorBaseObjectImplpublic ObjectGroupHelper getGroupHelper(ObjectType type)
getGroupHelper in interface ObjectGroupOwnergetGroupHelper in class BusinessEditorBaseObjectImplprotected 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