|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.notes.java.api.data.NotesAgentData
public class NotesAgentData
Class that contains data that would be associated with a Notes agent.
| Constructor Summary | |
|---|---|
NotesAgentData(NotesDatabaseData database,
String name)
Constructs a NotesAgentData object. |
|
| Method Summary | |
|---|---|
Object |
addItem(String name,
Object value)
Adds an item and its associated value to the items that could be used to compose a document the agent will run on. |
boolean |
equals(Object obj)
Determines whether two NotesAgentData objects are equal. |
NotesDatabaseData |
getDatabaseData()
Gets the data of the database containing the agent. |
Map |
getItems()
Gets the map of items to values for the document the agent will use. |
String |
getName()
Gets the unencoded name of the agent |
Object |
removeItem(String name)
Removes the item and its associated value from the items used to compose the document. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotesAgentData(NotesDatabaseData database,
String name)
throws NotesException
database - the data of the database containing the agentname - the unencoded name of the agent
NotesException - thrown when the NotesAgentData object cannot be constructed| Method Detail |
|---|
public NotesDatabaseData getDatabaseData()
public String getName()
public Object addItem(String name,
Object value)
name - name of the item on the document you would like to setvalue - the value to set the item to
public Object removeItem(String name)
name - the name of the item to remove
public Map getItems()
public boolean equals(Object obj)
equals in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||