|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.notes.java.api.data.NotesData
com.ibm.notes.java.api.data.NotesPageData
public class NotesPageData
Class that contains data that would be associated with a Notes page.
| Field Summary |
|---|
| Fields inherited from class com.ibm.notes.java.api.data.NotesData |
|---|
baseUrl, ENCODE_ERR, NOTES_COMMAND_SEPARATOR, NOTES_PARAMETER_SEPARATOR, NOTES_PATH_SEPARATOR, NOTES_PROTOCOL, NULL_ERR |
| Constructor Summary | |
|---|---|
NotesPageData(NotesDatabaseData database,
String page)
Constructs a NotesPageData object from a NotesDatabaseData object and a page. |
|
NotesPageData(String url)
Constructs a NotesPageData object from a Notes URL. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines whether two NotesPageData objects are equals to each other. |
NotesDatabaseData |
getDatabaseData()
|
String |
getName()
Gets the page name. |
String |
getOpenUrl()
Gets the encoded Notes URL to open the NotesData object. |
String |
getUnid()
Gets the page unid. |
Document |
open(Session session)
Opens the lotus.domino.Document that represents this page using the given session. |
protected void |
setBaseUrl()
Constructs the Notes URL of the data object from the given information. |
| Methods inherited from class com.ibm.notes.java.api.data.NotesData |
|---|
encode, getBaseUrl, getParser, removeCommandAndParams |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotesPageData(String url)
throws NotesException
url - the Notes URL to construct the object from
NotesException - thrown when the NotesPageData object cannot be constructed from the parameters
public NotesPageData(NotesDatabaseData database,
String page)
throws NotesException
database - the database containing the pagepage - the page inside the database
NotesException - thrown when the NotesPageData object cannot be constructed from the parameters| Method Detail |
|---|
public String getOpenUrl()
NotesData
getOpenUrl in class NotesData
protected void setBaseUrl()
throws UnsupportedEncodingException
NotesData
setBaseUrl in class NotesDataUnsupportedEncodingException - thrown when the URL cannot be encodedpublic String getName()
public String getUnid()
public boolean equals(Object obj)
equals in class Objectobj - object to test for equality
public Document open(Session session)
throws NotesException
session - the session to use to get the document
NotesException - thrown when the document cannot be returnedpublic NotesDatabaseData getDatabaseData()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||