java.lang.Object
java.util.Observable
org.mitre.cvw.CVWObject
org.mitre.cvw.CVWNote
- All Implemented Interfaces:
- ObjectValues, java.io.Serializable
- public class CVWNote
- extends CVWObject
This represents Notes on the CVW server, it is part of the CVWObject hierarchy.
- Version:
- 1.0
| Fields inherited from class org.mitre.cvw.CVWObject |
ACCESS, ACL, cached, createdOn, desc, GETINFO, icon, jcvw, lastModifiedBy, lastModifiedOn, location, MEMBERS, metaDataType, name, ObjectTypes, objNum, owner, owners, sessile, type, typeValue |
| Fields inherited from interface org.mitre.cvw.ObjectValues |
BALLOT, CHECKEDOUTDOC, CHECKOUT, CURRONLINEUSER, CURRUSER, DISCONNECTED, DOC, DOC_SC, DOCBUSY, DOCCHECKIN, DOCCOPY, DOCCREATE, DOCCREATEBACKGROUND, DOCCREATEDATE, DOCCREATOR, DOCCREATORONLY, DOCDELETE, DOCDESC, DOCEDITORS, DOCEXPORT, DOCINFO, DOCMIMETYPE, DOCOPEN, DOCSETDESC, DOCSTATUS, DOCTYPE, DOCUMENT, DROP, FLOOR, FOLDER, FOLDER_SC, FORM, FORMFOLDER, GETALLTYPES, GETCHECKEDDOCS, GETDOCTEXTS, GETDOCTEXTSCO, GETEXTDESC, GROUP, IMAGEMENU, NOTCHECKEDOUTDOC, NOTE, NOTE_SC, ONLINEUSER, PROXY, PROXYWIN, RECORDER, REMOTE, REMOTEUSER, REVERT, REVISION, ROOM, ROOMKEY, SETDOCATTRS, SETDOCNAME, STANDARD, TAKE, UNKNOWN, URL, URL_SC, USER, USERSTAT, WB, WHITEBOARD, WHITEBOARD_SC |
|
Constructor Summary |
(package private) |
CVWNote()
Constructor |
(package private) |
CVWNote(int type)
Constructor |
|
Method Summary |
void |
autoOpenObject()
Upon creating an object, open it for the user automatically |
void |
export(java.lang.String text)
Saves the text to a file external to CVW that the user chooses. |
void |
frameDismissed(java.awt.Frame f)
Process the closing of the NotePad, if the user pushed Save, send the
new text to the CVW server
MCP send cvw-modify-text |
boolean |
isShortcut()
Returns whether this object is a shortcut |
void |
open(java.lang.String text,
java.lang.String perms)
Opens up the Note for the user to view/edit. |
void |
startExport()
Requests the text of this note from CVW server to save to an external file. |
| Methods inherited from class org.mitre.cvw.CVWObject |
buildObjNumStrVector, changed, checkQuota, confirmDelete, convertBooleanToIntString, create, deleteResultError, displayError, doDropTake, get3rdPanel, getBaseName, getBaseType, getCreatedDateForDisplay, getDateForDetailDisplay, getDateForDisplay, getDetailName, getFederatedName, getIcon, getImage, getInfo, getMetaDataType, getModifiedBy, getModifiedByName, getModifiedDateForDisplay, getName, getObjectCreateMCP, getObjectFrame, getObjectModifyMCP, getObjectPanel, getObjectPanel, getObjectTypes, getObjectTypeStrings, getObjNum, getObjNumStr, getOwnerName, getOwners, getRawDetailName, getStringFromType, getStringFromType, getTopLocation, getType, getTypeFromString, handleShortcutError, has3rdPanel, initObjectTypes, isCached, moveObject, moveObject, moveResult, newCommand, newObjNumString, objectCopy, objectCopyResult, objectCreate, objectCreate, objectCreateError, objectCreateResult, objectModify, objectModify, paramString, prepTextForServer, setCached, setMetaDataType, setName, setOwners, setRawDetailName, setValues, setValues, showDeleteDialog, startDeleteDialog, startInfoDialog, startInfoDialog, startOpen, toString, updateACLResult, updateDetailInfo, updateOwners, updateOwnersResult |
noteText
java.lang.String noteText
CVWNote
CVWNote()
- Constructor
CVWNote
CVWNote(int type)
- Constructor
isShortcut
public boolean isShortcut()
- Returns whether this object is a shortcut
- Overrides:
isShortcut in class CVWObject
open
public void open(java.lang.String text,
java.lang.String perms)
- Opens up the Note for the user to view/edit.
frameDismissed
public void frameDismissed(java.awt.Frame f)
- Process the closing of the NotePad, if the user pushed Save, send the
new text to the CVW server
MCP send cvw-modify-text
autoOpenObject
public void autoOpenObject()
- Upon creating an object, open it for the user automatically
- Overrides:
autoOpenObject in class CVWObject
startExport
public void startExport()
- Requests the text of this note from CVW server to save to an external file.
MCP send cvw-object-export
export
public void export(java.lang.String text)
- Saves the text to a file external to CVW that the user chooses.