Class ecm.model.Bookmark


Extends ecm.model.VideoAnnotation.
Represents a single bookmark. Each bookmark is associated with a content item.
Defined in: <ecm\model\Bookmark.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Constructs a bookmark.
Fields borrowed from class ecm.model.VideoAnnotation:
contentItem, TYPE
Fields borrowed from class ecm.model.Item:
attributes, dataObject, deleted, entryTemplateId, locked, lockedUser, mimetype, parent, privileges, repository, resultSet
Fields borrowed from class ecm.model._ModelObject:
categorization, id, isRecurring, name, nameFilter, pane, status, type, userId

Method Summary

Method Attributes Method Name and Description
 
 
 
Gets the bookmark text.
 
Gets a DOM string containing the bookmark text with characters escaped for HTML and line feeds replaced with <br> tags.
 
 
setBookmarkName(bookmarkName)
 
setBookmarkText(bookmarkText)
Sets the bookmark text.
 
setBookmarkTime(bookmarkTime)
Methods borrowed from class ecm.model.VideoAnnotation:
deleteThis, getDateAdded, getDisplayValue, getItemVersion, getOriginatorDisplayName, getOriginatorId, getOriginatorShortName, isDeletable, isEditable, isMine, save
Methods borrowed from class ecm.model.Item:
containsValue, getAttributeFormat, getAttributeType, getAttrLabel, getContentClass, getItemValue, getMimeClass, getModifyDate, getModifyUser, getPath, getStateClass, getUserInfo, getValue, getValues, hasAttribute, hasPrivilege, isAttributeReadOnly, isContentTiff, isDeclareRecordEntryTemplate, isDocumentEntryTemplate, isEntryTemplate, isFolder, isFolderEntryTemplate, isSystemProperty, retrieveAttributes, setValue, setValues
Methods borrowed from class ecm.model._ModelObject:
destroy, getSortCriteria, onChange, own, refresh, toString

Constructor Detail

ecm.model.Bookmark()

Constructs a bookmark.

Method Detail

constructor()


getBookmarkName()


getBookmarkText()

Gets the bookmark text. The bookmark text is not escaped for HTML. Call getBookmarkTextNode() to get a DOM string containing the bookmark text for display purposes.

getBookmarkTextNode()

Gets a DOM string containing the bookmark text with characters escaped for HTML and line feeds replaced with <br> tags.

getBookmarkTime()


setBookmarkName(bookmarkName)

Parameters:
bookmarkName

setBookmarkText(bookmarkText)

Sets the bookmark text.
Parameters:
bookmarkText
Bookmark text to save

setBookmarkTime(bookmarkTime)

Parameters:
bookmarkTime