|
Content Manager OnDemand V8.5 WEK APIs |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.edms.od.ODNote
public class ODNote
A class representing an OnDemand note.
For example:
ODNote note = new ODNote();
(c) Copyright IBM Corp. 1993, 2003. All Rights Reserved
| Field Summary | |
|---|---|
static int |
PRIVATE_GROUP
|
static int |
PRIVATE_USER
|
static int |
PUBLIC
|
| Constructor Summary | |
|---|---|
ODNote()
Class constructor. |
|
ODNote(char type,
boolean isPublic,
boolean okToCopy,
boolean deleted,
int pageNumber,
int offsetX,
int offsetY,
char color,
int noteNumber,
long noteId,
java.lang.String userID,
java.lang.String dateTime,
java.lang.String groupName,
java.lang.String text)
|
|
| 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 |
isDeleted()
Determine if this note is deleted |
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()
public ODNote(char type,
boolean isPublic,
boolean okToCopy,
boolean deleted,
int pageNumber,
int offsetX,
int offsetY,
char color,
int noteNumber,
long noteId,
java.lang.String userID,
java.lang.String dateTime,
java.lang.String groupName,
java.lang.String text)
| Method Detail |
|---|
public boolean isPublic()
public void setPublic(boolean isPublic)
isPublic - true/falsepublic boolean isOkToCopy()
public void setOkToCopy(boolean okToCopy)
okToCopy - true/falsepublic boolean isDeleted()
public 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.ColorGreypublic 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.
|
CM OnDemand V8.5 WEK Java APIs | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||