|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.edms.od.ODNote
A class representing an OnDemand note. For example:
ODNote note = new ODNote();(C) Copyright IBM Corp. 1993, 2002. All Rights Reserved
Field Summary | |
static int |
PRIVATE_GROUP
|
static int |
PRIVATE_USER
|
static int |
PUBLIC
|
Constructor Summary | |
ODNote()
Class constructor. |
Method Summary | |
char |
getColor()
Get the note color |
java.lang.String |
getDateTime()
Get the note creation date/time. |
java.lang.String |
getGroupName()
Get the note group name. |
int |
getOffsetX()
Get the offset of the note |
int |
getOffsetY()
Get the offset of the note |
int |
getPageNum()
Get the page number |
java.lang.String |
getText()
Get the note text. |
java.lang.String |
getUserId()
Get the note creator. |
boolean |
isOkToCopy()
Determine if this note can be copied to another server. |
boolean |
isPublic()
Check if note is public or not. |
void |
setGroupName(java.lang.String groupName)
Set the note group name. |
void |
setOkToCopy(boolean okToCopy)
Set whether or not this note can be copied to another server. |
void |
setPublic(boolean isPublic)
Set whether or not this note is public. |
void |
setText(java.lang.String text)
Set the note text. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int PUBLIC
public static final int PRIVATE_USER
public static final int PRIVATE_GROUP
Constructor Detail |
public ODNote()
Method Detail |
public boolean isPublic()
public void setPublic(boolean isPublic)
isPublic
- true/falsepublic boolean isOkToCopy()
public void setOkToCopy(boolean okToCopy)
okToCopy
- true/falsepublic int getPageNum()
public int getOffsetX()
public int getOffsetY()
public char getColor()
ODConstant.ColorWhite
,
ODConstant.ColorBlack
,
ODConstant.ColorRed
,
ODConstant.ColorBlue
,
ODConstant.ColorGreen
,
ODConstant.ColorYellow
,
ODConstant.ColorMagenta
,
ODConstant.ColorCyan
,
ODConstant.ColorGrey
public java.lang.String getUserId()
public java.lang.String getDateTime()
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- Set if note should be associated with an OnDemand group.public java.lang.String getText()
public void setText(java.lang.String text)
text
- The content of the note.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |