public interface GlobalFunction
| Modifier and Type | Method and Description |
|---|---|
FunctionParameter |
addParameter(java.lang.String name,
java.lang.String type)
Adds a parameter to this function.
|
void |
deleteParameter(java.lang.String name)
Deletes a parameter from this function.
|
java.lang.String |
getBody()
Returns the body of this global function.
|
java.lang.String |
getDescription()
Returns the description of the function.
|
java.lang.String |
getExample()
Returns the example of this global function.
|
java.lang.String |
getId()
Returns the id of this global function.
|
java.lang.String |
getName()
Returns the name of this function.
|
java.util.Collection<FunctionParameter> |
getParameters()
Returns a collection of parameters for this function.
|
boolean |
getPrivileged()
Returns if this global function is preivileged.
|
java.lang.String |
getReturnType()
Returns the return type of this global function.
|
void |
setBody(java.lang.String body)
Sets the body of this global function.
|
void |
setDescription(java.lang.String text)
Sets the description of the function.
|
void |
setExample(java.lang.String example)
Sets the example of this global function.
|
void |
setName(java.lang.String name)
Sets the name of this function.
|
void |
setPrivileged(boolean privileged)
Sets if this global function is privileged
|
void |
setReturnType(java.lang.String returnType)
Sets the return type of this global function.
|
java.lang.String getName()
void setName(java.lang.String name)
name - name of this functionvoid setReturnType(java.lang.String returnType)
returnType - return type of this global functionjava.lang.String getReturnType()
void setExample(java.lang.String example)
example - example of this global functionjava.lang.String getExample()
void setBody(java.lang.String body)
body - body of this global functionjava.lang.String getBody()
void setPrivileged(boolean privileged)
privileged - if this global function is privilegedboolean getPrivileged()
void setDescription(java.lang.String text)
text - description of the functionjava.lang.String getDescription()
java.lang.String getId()
BusinessEditorManager.commit() is called.java.util.Collection<FunctionParameter> getParameters()
FunctionParameter addParameter(java.lang.String name, java.lang.String type)
name - name of the parametertype - type of the parametervoid deleteParameter(java.lang.String name)
name - name of the parameter to be deletedoracle.jbo.JboException - if no parameter exists in this function with the given name