|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.cms.bookmark.Bookmark
The Bookmark class provides a representation of a Bookmark
within the Blackboard application. Bookmarks are links to existing
files or folder in the Content System. Bookmarks can be organized into
a folder heirarchy (by using setFolderInd()).
Bookmark bm = new Bookmark();
bm.setFolderInd(false);
bm.setTitle(strbookmarkName);
bm.setUserId(userId);
bm.setParentId(parentId);
bm.setFileEntryPath(p_entry.getName());
BookmarkManager bmManager = new BookmarkManager();
bmManager.save(bm);
| Field Summary | |
static blackboard.persist.DataType |
DATA_TYPE
Object data type constant used in brokering loaders and persisters |
| Fields inherited from class blackboard.data.BbObject |
_bbAttributes |
| Constructor Summary | |
Bookmark()
Creates an instance of Bookmark with default property values. |
|
| Method Summary | |
blackboard.persist.DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getFileEntryPath()
Returns the file path for item for the Bookmark |
boolean |
getFolderInd()
Returns the folder indicator flag for the Bookmark. |
blackboard.persist.Id |
getParentId()
Returns the parent Id for the Bookmark . |
java.lang.String |
getTitle()
Returns the title for the Bookmark. |
blackboard.persist.Id |
getUserId()
Returns the user Id for the Bookmark. |
void |
setFileEntryPath(java.lang.String path)
Sets the file path for item for the Bookmark |
void |
setFolderInd(boolean val)
Sets the folder indicator flag for this Bookmark. |
void |
setParentId(blackboard.persist.Id id)
Sets the parent Id for the Bookmark. |
void |
setTitle(java.lang.String str)
Sets the title for the Bookmark. |
void |
setUserId(blackboard.persist.Id id)
Sets the user Id for the Bookmark. |
| Methods inherited from class blackboard.data.BbObject |
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final blackboard.persist.DataType DATA_TYPE
| Constructor Detail |
public Bookmark()
Bookmark with default property values.
| Method Detail |
public java.lang.String getFileEntryPath()
Bookmark
String representing the file path for the Bookmark.public void setFileEntryPath(java.lang.String path)
Bookmark
path - a String representing the file path for the Bookmark.public java.lang.String getTitle()
Bookmark.
String representing the title for the Bookmark.public void setTitle(java.lang.String str)
Bookmark.
str - a String representing the title for the Bookmark.public boolean getFolderInd()
Bookmark. This flag determines whether or not the Bookmark is a folder.
Bookmark
public void setFolderInd(boolean val)
Bookmark. This flag determines whether or not the Bookmark is a folder.
val - true if this Bookmark is a folder (to hold other Bookmarks), false otherwise.public blackboard.persist.Id getParentId()
Id for the Bookmark .
Id for the Bookmark.public void setParentId(blackboard.persist.Id id)
Id for the Bookmark.
id - a parent Id for the Bookmark.public blackboard.persist.Id getUserId()
Id for the Bookmark. This user Id represents the owner of the Bookmark.
Id for the Bookmark.public void setUserId(blackboard.persist.Id id)
Id for the Bookmark. This user Id represents the owner of the Bookmark.
id - the user Id for the Bookmark.public blackboard.persist.DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
DataType for this object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||