public class ScriptClassImpl extends java.lang.Object implements ScriptClass
BusinessEditorConstants.ObjectModeLOOKUP_CODE, LOOKUP_TYPE, SET_ID| Modifier | Constructor and Description |
|---|---|
protected |
ScriptClassImpl(BusinessEditorManagerImpl manager,
java.lang.String className) |
protected |
ScriptClassImpl(BusinessEditorManagerImpl manager,
java.lang.String className,
java.lang.String code) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(ObjectVisitor visitor)
A visitor pattern is implemented for business object to visit all components
of a business object.
|
void |
activate() |
protected void |
cancelFlow() |
protected void |
cancelFlowForExistingObject() |
protected void |
cancelFlowForNewObject() |
boolean |
canPopulateChildren() |
protected void |
checkLoadObject() |
protected void |
commitObject() |
protected boolean |
containsProperty(java.lang.String property) |
void |
deprecate() |
protected void |
doCommit() |
protected void |
doRollback() |
void |
ensureVerified() |
protected void |
finishFlow() |
protected void |
finishFlowForExistingObject() |
protected void |
finishFlowForNewObject() |
protected oracle.adf.businesseditor.model.BusinessEditorImpl |
getBusinessEditor() |
protected oracle.adf.businesseditor.model.BusinessEditorLogic |
getBusinessEditorLogic() |
protected BusinessEditorManagerImpl |
getBusinessEditorManager() |
java.lang.String |
getClassName()
Retrieve the full class name of the script class
|
protected oracle.adfinternal.businesseditor.objects.ObjectGroupOwner |
getContainer() |
protected java.util.Collection<oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl> |
getDependentObjects() |
java.lang.String |
getDescription() |
oracle.adfinternal.businesseditor.objects.ObjectGroupHelper |
getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type) |
protected java.lang.String |
getIsDeprecatedPropertyKey() |
protected java.lang.String |
getLocalizedString(java.lang.String key,
java.lang.Object... args) |
java.lang.String |
getName() |
protected java.lang.String |
getObjectKey() |
protected java.lang.String |
getObjectName() |
protected oracle.adfinternal.businesseditor.objects.ObjectType |
getObjectType() |
java.lang.Object |
getProperty(java.lang.String property) |
protected java.lang.Object |
getPropertyNoLoad(java.lang.String property) |
protected java.lang.Object |
getPropertyNoLoad(java.lang.String property,
java.lang.Object defaultValue) |
java.lang.String |
getScriptText()
Retrieve the script text of the script class
|
protected oracle.adf.businesseditor.model.views.NewGroovyClassViewImpl |
getViewObjectBeingEdited() |
protected void |
initFlow() |
protected void |
initFlowForExistingObject() |
protected void |
initFlowForNewObject() |
protected void |
initialize() |
boolean |
isCustomizable() |
boolean |
isDeprecated() |
protected boolean |
isDirty() |
protected boolean |
isLoaded() |
protected boolean |
isNew() |
protected boolean |
isNotVerified() |
protected boolean |
isPublished() |
void |
populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type) |
protected void |
postCommit() |
protected void |
preCommit() |
protected void |
readObject(oracle.jbo.Row row) |
protected void |
removeProperty(java.lang.String property) |
protected void |
setCustomizable(boolean customizable) |
void |
setDescription(java.lang.String text) |
protected void |
setDirty(boolean value) |
protected void |
setLoaded() |
protected void |
setName(java.lang.String name) |
protected void |
setNew() |
protected void |
setNotExist() |
protected void |
setProperty(java.lang.String property,
java.lang.Object value) |
protected void |
setPropertyNoLoad(java.lang.String property,
java.lang.Object value) |
protected void |
setPublished(boolean published) |
void |
setScriptText(java.lang.String scriptText)
Set the script text of the script class
|
protected void |
setVerified() |
protected boolean |
valuesDiffer(java.lang.Object oldValue,
java.lang.Object newValue) |
protected void |
writeObject(oracle.jbo.Row object) |
protected ScriptClassImpl(BusinessEditorManagerImpl manager, java.lang.String className)
protected ScriptClassImpl(BusinessEditorManagerImpl manager, java.lang.String className, java.lang.String code)
public java.lang.String getClassName()
ScriptClassgetClassName in interface ScriptClasspublic java.lang.String getScriptText()
ScriptClassgetScriptText in interface ScriptClasspublic void setScriptText(java.lang.String scriptText)
ScriptClasssetScriptText in interface ScriptClassscriptText - script textprotected void initFlowForNewObject()
protected void initFlowForExistingObject()
protected void finishFlowForNewObject()
protected void finishFlowForExistingObject()
protected void cancelFlowForNewObject()
protected void cancelFlowForExistingObject()
protected oracle.adf.businesseditor.model.views.NewGroovyClassViewImpl getViewObjectBeingEdited()
protected oracle.adfinternal.businesseditor.objects.ObjectType getObjectType()
protected void accept(ObjectVisitor visitor)
ObjectVisitor)
method which does the followings:
1. Call visitor.visit(this) to process the current object
2. Call accept for all its children so all children will be visitedvisitor - ObjectVisitor instanceprotected java.lang.String getObjectKey()
protected void readObject(oracle.jbo.Row row)
public java.lang.String getName()
public void setDescription(java.lang.String text)
public java.lang.String getDescription()
public java.lang.Object getProperty(java.lang.String property)
public void deprecate()
public void activate()
public boolean isDeprecated()
public boolean isCustomizable()
protected void setName(java.lang.String name)
protected BusinessEditorManagerImpl getBusinessEditorManager()
protected oracle.adf.businesseditor.model.BusinessEditorImpl getBusinessEditor()
protected oracle.adf.businesseditor.model.BusinessEditorLogic getBusinessEditorLogic()
protected void setProperty(java.lang.String property,
java.lang.Object value)
protected java.lang.String getIsDeprecatedPropertyKey()
protected void commitObject()
protected void cancelFlow()
protected void setCustomizable(boolean customizable)
protected boolean isPublished()
protected void setPublished(boolean published)
protected void writeObject(oracle.jbo.Row object)
public void populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type)
protected boolean valuesDiffer(java.lang.Object oldValue,
java.lang.Object newValue)
public void ensureVerified()
protected void checkLoadObject()
protected boolean isNew()
protected void setNew()
protected boolean isLoaded()
protected boolean isNotVerified()
protected void setNotExist()
protected void setVerified()
protected void setLoaded()
protected boolean isDirty()
protected void setDirty(boolean value)
protected final void initFlow()
protected void finishFlow()
protected void doCommit()
protected void doRollback()
protected java.lang.Object getPropertyNoLoad(java.lang.String property)
protected java.lang.Object getPropertyNoLoad(java.lang.String property,
java.lang.Object defaultValue)
protected void setPropertyNoLoad(java.lang.String property,
java.lang.Object value)
protected boolean containsProperty(java.lang.String property)
protected void removeProperty(java.lang.String property)
public oracle.adfinternal.businesseditor.objects.ObjectGroupHelper getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type)
public boolean canPopulateChildren()
protected void initialize()
protected void preCommit()
protected void postCommit()
protected oracle.adfinternal.businesseditor.objects.ObjectGroupOwner getContainer()
protected java.lang.String getLocalizedString(java.lang.String key,
java.lang.Object... args)
protected java.lang.String getObjectName()
protected java.util.Collection<oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl> getDependentObjects()