|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.notes.java.api.data.NotesData com.ibm.notes.java.api.data.NotesFramesetData
public class NotesFramesetData
Class that contains data that would be associated with a Notes frameset.
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 | |
---|---|
NotesFramesetData(NotesDatabaseData database,
String frameset)
Constructs a NotesFramesetData object from a NotesDatabaseData object and a frameset. |
|
NotesFramesetData(String url)
Constructs a NotesFramesetData object from an encoded Notes URL. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determines whether two NotesFramesetData objects are equal to each other. |
NotesDatabaseData |
getDatabaseData()
|
String |
getFramesetUnid()
Gets the frameset unid. |
String |
getName()
Gets the frameset name. |
String |
getOpenUrl()
Gets the encoded Notes URL to open the NotesData object. |
String |
getOpenUrl(NotesViewData viewToOpen)
Gets the Notes URL to open this frameset within a specified view. |
String |
getOpenUrl(String viewUnid)
Gets the Notes URL to open this frameset within a specified view. |
NotesViewData |
getViewData()
Constructs a NotesViewData object from this NotesFramesetData object. |
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 NotesFramesetData(String url) throws NotesException
url
- the encoded Notes URL
NotesException
- throw when the NotesFramesetData object cannot be constructed from the URLpublic NotesFramesetData(NotesDatabaseData database, String frameset) throws NotesException
database
- the database containing the framesetframeset
- the frameset in the database
NotesException
- thrown when the NotesFramesetData object could not be constructed from the parametersMethod Detail |
---|
protected void setBaseUrl() throws UnsupportedEncodingException
NotesData
setBaseUrl
in class NotesData
UnsupportedEncodingException
- thrown when the URL cannot be encodedpublic String getName()
public String getFramesetUnid()
public NotesViewData getViewData() throws NotesException
NotesException
- thrown when we cannot construct the NotesViewDatapublic boolean equals(Object obj)
equals
in class Object
obj
- the object to test for equality
public String getOpenUrl()
NotesData
getOpenUrl
in class NotesData
public String getOpenUrl(String viewUnid) throws NotesException
viewUNID
- view to open the frameset in (has to be an UNID)
NotesException
- thrown when the viewUnid is not a universal idpublic String getOpenUrl(NotesViewData viewToOpen) throws NotesException
viewToOpen
- the NotesViewData containing information about the view to open the frameset in
NotesException
- thrown when the viewUnid is not a universal idpublic NotesDatabaseData getDatabaseData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |