|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindoo.remote.api.notes.LotusScriptProgram
public class LotusScriptProgram
This class is a container for the LotusScript code that can be fed into the
method IRemoteNotesUITools.executeLotusScriptInUI(LotusScriptProgram, boolean, boolean, Map)
in order to execute a piece of LotusScript code as a temporary Notes agent
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_METHODS_DECLARATIONS
Use this method to define the Declarations section via addMethod(String, String) |
static java.lang.String |
DEFAULT_METHODS_INITIALIZE
Use this method to define the Initialize section via addMethod(String, String) |
static java.lang.String |
DEFAULT_METHODS_OPTIONS
Use this method to define the Options section via addMethod(String, String) |
static java.lang.String |
DEFAULT_METHODS_TERMINATE
Use this method to define the Terminate section via addMethod(String, String) |
Constructor Summary | |
---|---|
LotusScriptProgram()
|
Method Summary | |
---|---|
void |
addMethod(java.lang.String methodName,
java.lang.String methodContent)
Adds a method to the LotusScript program. |
java.lang.String |
getCode(java.lang.String methodName)
Returns the code for the specified method |
java.util.Iterator<java.lang.String> |
getMethods()
Returns an Iterator of the defined method names |
java.lang.String |
toString()
The method concatenates all declared methods and their code to one big string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_METHODS_OPTIONS
addMethod(String, String)
public static final java.lang.String DEFAULT_METHODS_DECLARATIONS
addMethod(String, String)
public static final java.lang.String DEFAULT_METHODS_INITIALIZE
addMethod(String, String)
public static final java.lang.String DEFAULT_METHODS_TERMINATE
addMethod(String, String)
Constructor Detail |
---|
public LotusScriptProgram()
Method Detail |
---|
public void addMethod(java.lang.String methodName, java.lang.String methodContent)
methodName
- method namemethodContent
- method code including the sub/function definitionpublic java.util.Iterator<java.lang.String> getMethods()
Iterator
of the defined method names
public java.lang.String getCode(java.lang.String methodName)
methodName
- method name
null
if not foundpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |