Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw
Class CVWObject  view CVWObject download CVWObject.java

java.lang.Object
  extended byjava.util.Observable
      extended byorg.mitre.cvw.CVWObject
All Implemented Interfaces:
ObjectValues, java.io.Serializable
Direct Known Subclasses:
CVWAdminTool, CVWContainer, CVWDocument, CVWNote, CVWRoomKey, CVWURL, CVWUser, CVWWhiteboard

public class CVWObject
extends java.util.Observable
implements ObjectValues, java.io.Serializable

The base class for all CVW objects

Version:

Field Summary
static int ACCESS
           
static int ACL
           
(package private)  boolean cached
           
(package private)  java.util.Date createdOn
           
(package private)  java.lang.String desc
           
static int GETINFO
           
(package private)  java.lang.String icon
           
(package private)  CVWCoordinator jcvw
           
(package private)  CVWObjNum lastModifiedBy
           
(package private)  java.util.Date lastModifiedOn
           
(package private)  CVWObjNum location
           
static int MEMBERS
           
(package private)  int metaDataType
          This variable is set when the user does a "Information", "Permissions", "Members", or "Access" When the CVW server sends the cvw-object-detail MCP it will open the get info dialog to the correct tab.
 java.lang.String name
           
static java.util.Hashtable ObjectTypes
           
 CVWObjNum objNum
           
(package private)  CVWObjNum owner
           
(package private)  CVWObjNum[] owners
           
(package private)  boolean sessile
          If an object is sessile, it cannot be moved.
(package private)  java.lang.String type
           
(package private)  int typeValue
           
 
Fields inherited from class java.util.Observable
 
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
CVWObject()
          Constructor
CVWObject(int t)
          Constructor
CVWObject(java.lang.String t)
          Constructor
 
Method Summary
 void autoOpenObject()
          Upon creating an object, open it for the user automatically.
 java.util.Vector buildObjNumStrVector(java.util.Vector u, java.util.Vector g)
          Builds a new Vector of strings representing object numbers from two vectors, one of CVWUsers and the second of CVWGroups.
 void changed()
          Invoked when any instance var of this object is changed.
static boolean checkQuota()
          Checks the user quota before creating an object
 void confirmDelete(java.lang.String name, int finalTime)
          Either notifies the user that the object has been deleted or confirms the delete of the object with the user because the CVW server has okayed the user to delete the object (i.e.
 java.lang.String convertBooleanToIntString(boolean bool)
          Converts a boolean to the string needed by the CVW server 11/20/96
 void create()
          Opens a blank "Get Info"e; dialog box for the user to create an instance of this object on the CVW server.
 void deleteResultError(java.lang.String item, java.lang.String error)
          The CVW server denyed the user the ability to delete an object Hint: the item # and the object # will be different in the following situation: you are deleting a folder which has a note in it ..
 void displayError(java.lang.String message, java.lang.String title)
          Displays an error based on the frame which contains this object or the main window if no frame is found 6/13/00 - dage - can't believe we didnt set this up earlier someday remove all code that duplicates this
 void doDropTake(java.lang.String action)
          Processes a drop or a take on a CVW object by sending the appropriate command to the CVW server.
 ObjectOwnerPanel get3rdPanel(FolderDialog diag, java.lang.String perms)
          Returns the instance of the third tabbed panel in the get info dialog box, return null if no third panel.
 java.lang.String getBaseName()
          Returns the cvw base name: if the cvw object is a shortcut the default cvw name is: "SC to "; This will return the only part.
 java.lang.String getBaseType()
          Returns the cvw base type.
 java.lang.String getCreatedDateForDisplay()
          Returns the date this object was created as a string.
 java.lang.String getDateForDetailDisplay(java.util.Date d)
          Returns the desired string format of the date passed in.
 java.lang.String getDateForDisplay(java.util.Date d)
          Returns the desired string format of the date passed in.
 java.lang.String getDetailName()
          Returns the detail name for display.
 java.lang.String getFederatedName()
          Returns the server unique name of this object.
 java.lang.String getIcon()
          Returns the icon of object with ".gif" appended to it.
 java.awt.Image getImage()
          Returns the image of this object.
 void getInfo(java.lang.String desc, java.lang.String perms, java.lang.String owners)
          Opens the Get Info window for this object.
 int getMetaDataType()
          Gets the metaDataType value.
 CVWUser getModifiedBy()
          Returns the user who modified this object
 java.lang.String getModifiedByName()
          Returns the name of the user who modified this object, returns "---"" instead of ""Unknown"" 2/2/98 dage
 java.lang.String getModifiedDateForDisplay()
          Returns the date this object was modified as a string.
 java.lang.String getName()
          Returns the name of this object.
 java.lang.String getObjectCreateMCP(java.lang.String name, boolean sessile, java.lang.String desc)
          Returns a MCP string representing the values to be sent to the CVW server when creating an object
MCP send cvw-object-create
 javax.swing.JFrame getObjectFrame()
          Get the frame which contains this object.
 java.lang.String getObjectModifyMCP(java.lang.String newName, boolean newMove, java.lang.String newDesc)
          Builds the MCP parameter list for notifying the CVW server of any changes to the information for this object.
 ObjectPanel getObjectPanel(FolderDialog diag)
          Returns an instance of the object panel for generic objects, used when creating an object.
 ObjectPanel getObjectPanel(FolderDialog diag, java.lang.String perms)
          Returns the instance of the object panel for this viewing/editing this object
static java.util.Enumeration getObjectTypes()
          Returns the keys of object types as an Enumeration
static java.util.Enumeration getObjectTypeStrings()
          Returns the string values of object types as an Enumeration
 CVWObjNum getObjNum()
          Returns the object number.
 java.lang.String getObjNumStr()
          Returns the object number as a string.
 java.lang.String getOwnerName()
          Returns the name of the owner of this object, returns "---" instead of "Unknown" 2/2/98 dage
 java.util.Vector getOwners()
          Returns a vector of CVWObjects built from owners.
 java.lang.String getRawDetailName()
          Returns the actual detail name as defined by each subclass.
static java.lang.String getStringFromType(int i)
          Returns the CVW server string given the integer value dage
static java.lang.String getStringFromType(java.lang.Integer i)
          Returns the CVW server string given the Integer value dage
 CVWObject getTopLocation()
          Returns the CVWRoom or CVWUser that this object is located in.
 java.lang.String getType()
          Returns the type of object as known by the CVW server.
static int getTypeFromString(java.lang.String str)
          Returns the integer value given the CVW server string dage
 void handleShortcutError(java.lang.String item, java.lang.String shortcuts)
          User has asked to delete an object that has shortcuts, this will confirm to delete the original object and *ALL* shortcuts to it, regardless of who owns them, this will show the user all shortcuts and who owns them.
 java.lang.String has3rdPanel()
          Returns the title of the third tabbed panel in the get info dialog box, return null if no third panel.
static void initObjectTypes()
          this method is called the when the first obj is instantiated it maps the enumerated type to the CVW server string dage
 boolean isCached()
          Returns whether this object is in the cache or not
 boolean isShortcut()
          Returns whether this object is a shortcut.
 void moveObject(CVWObject toObj)
          Moves this object to another object.
 void moveObject(CVWObject toObj, javax.swing.JFrame frame)
          Moves this object to another object.
 void moveResult(java.lang.String error, java.lang.String msg, java.lang.String receiver, java.lang.String origin)
          Processes the results of an error.
static void newCommand(java.lang.String type)
          /** Starts the creation of a CVWObject
 java.lang.String newObjNumString(CVWObjNum[] oNums, java.util.Vector newV)
          Returns a list of object numbers which represent the new object numbers contained in the new vector exluding those that are in the old array.
 void objectCopy(java.lang.String type)
          Copy or create Shortcut of the object.
 void objectCopyResult(MCPCommand mcpCmd)
          Display the results of the object copy from the server.
 void objectCreate(java.lang.String param)
          Builds the MCP parameter list for creating the object on the CVW server.
 void objectCreate(java.lang.String name, boolean sessile, java.lang.String desc)
          Starts the process of building the MCP to be sent to the CVW server when the user creates a new object.
static void objectCreateError(MCPCommand mcpCmd)
          special case scenario talk to cvw server, it says yes talk to doc server, it creates new document talk to cvw server, now there is an error, need to delete the new document from the doc server with a token This is for create doc, copy doc, create wb from doc, create wb
 void objectCreateResult(MCPCommand mcpCmd)
          The results of creating an object on the CVW server.
 void objectModify(java.lang.String param)
          Sends the MCP to the CVW server
MCP send cvw-modify-metadata
 void objectModify(java.lang.String newName, boolean newMove, java.lang.String newDesc)
          Starts building the MCP for notifying the server of any change to the information of this object
 java.lang.String paramString()
          Returns a string representing the state of this component.
 java.lang.String prepTextForServer(java.lang.String oldStr)
          Returns a string which is preprocessed for the communications to the CVW server
 void setCached(boolean b)
          Sets whether this object is in the cache or not
 void setMetaDataType(int type)
          Sets the metaDataType variable when the user does a "Information", "Permissions", "Members", or "Access" so that when the CVW server sends the cvw-object-detail MCP it will open the get info dialog to the correct tab.
 void setName(java.lang.String newName)
          Changes the name of the object on the CVW server
MCP send cvw-modify-metadata
 void setOwners(java.lang.String owns)
          Sets the owners of the object.
 void setRawDetailName(java.lang.String detailName)
          Sets the detail name for this object
 void setValues(CVWObjNum oNum, java.lang.String n)
          Sets the basic values, the object number and the name of the object.
 void setValues(CVWObjNum oNum, java.lang.String n, java.lang.String i, CVWObjNum own, java.util.Date mdate, CVWObjNum mby, java.util.Date cdate, boolean sess)
          Sets the all the values of the object when received from the CVW server.
protected  void showDeleteDialog()
           
 void startDeleteDialog()
          Starts the process of deleting an object.
 void startInfoDialog()
          Starts the process of opening a get info dialog box.
 void startInfoDialog(int type)
          Starts the process of opening a get info dialog box.
 void startOpen()
           
 java.lang.String toString()
          Returns a string representation of this component and its values.
 void updateACLResult(java.lang.String err, java.lang.String aclList)
          Processes the results of the setting the the acl of the object.
 void updateDetailInfo(java.lang.String descr, java.lang.String perms, java.lang.String owns)
          Sets the detail information variables.
 void updateOwners(java.util.Vector u, java.util.Vector g)
          Sends the owner access list to the CVW server when the user has changed the permissions of this object.
 void updateOwnersResult(java.lang.String err, java.lang.String ownList)
          Processes the results of the setting the the owners of the object.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

icon

java.lang.String icon

objNum

public CVWObjNum objNum

type

java.lang.String type

typeValue

int typeValue

owner

CVWObjNum owner

createdOn

java.util.Date createdOn

lastModifiedOn

java.util.Date lastModifiedOn

lastModifiedBy

CVWObjNum lastModifiedBy

cached

boolean cached

location

transient CVWObjNum location

owners

transient CVWObjNum[] owners

desc

transient java.lang.String desc

jcvw

transient CVWCoordinator jcvw

sessile

boolean sessile
If an object is sessile, it cannot be moved.
true,(1 on the CVW server) means cant be moved
false, (0 on the CVW server) means can be moved.


metaDataType

int metaDataType
This variable is set when the user does a "Information", "Permissions", "Members", or "Access" When the CVW server sends the cvw-object-detail MCP it will open the get info dialog to the correct tab.

See Also:
setMetaDataType(int) 55 , getMetaDataType() 55

GETINFO

public static final int GETINFO
See Also:
Constant Field Values

ACCESS

public static final int ACCESS
See Also:
Constant Field Values

ACL

public static final int ACL
See Also:
Constant Field Values

MEMBERS

public static final int MEMBERS
See Also:
Constant Field Values

ObjectTypes

public static java.util.Hashtable ObjectTypes
Constructor Detail

CVWObject

public CVWObject()
Constructor


CVWObject

public CVWObject(int t)
Constructor


CVWObject

public CVWObject(java.lang.String t)
Constructor

Method Detail

initObjectTypes

public static void initObjectTypes()
this method is called the when the first obj is instantiated it maps the enumerated type to the CVW server string dage


getStringFromType

public static java.lang.String getStringFromType(int i)
Returns the CVW server string given the integer value dage


getStringFromType

public static java.lang.String getStringFromType(java.lang.Integer i)
Returns the CVW server string given the Integer value dage


getTypeFromString

public static int getTypeFromString(java.lang.String str)
Returns the integer value given the CVW server string dage


getObjectTypes

public static java.util.Enumeration getObjectTypes()
Returns the keys of object types as an Enumeration


getObjectTypeStrings

public static java.util.Enumeration getObjectTypeStrings()
Returns the string values of object types as an Enumeration


checkQuota

public static boolean checkQuota()
Checks the user quota before creating an object


newCommand

public static void newCommand(java.lang.String type)
/** Starts the creation of a CVWObject


isShortcut

public boolean isShortcut()
Returns whether this object is a shortcut.


setValues

public void setValues(CVWObjNum oNum,
                      java.lang.String n)
Sets the basic values, the object number and the name of the object.


setValues

public void setValues(CVWObjNum oNum,
                      java.lang.String n,
                      java.lang.String i,
                      CVWObjNum own,
                      java.util.Date mdate,
                      CVWObjNum mby,
                      java.util.Date cdate,
                      boolean sess)
Sets the all the values of the object when received from the CVW server. 3/2/98 - dage added
MCP receive cvw-object-info


setName

public void setName(java.lang.String newName)
Changes the name of the object on the CVW server
MCP send cvw-modify-metadata


getName

public java.lang.String getName()
Returns the name of this object.


getFederatedName

public java.lang.String getFederatedName()
Returns the server unique name of this object. This is just name for objects on the local server or name@serverid for remote objects/users. This resides on the generic object because it may get called on non-user objects (groups, etc). Although we currently only support a server field for users, it will probably expand to groups and other objects later.


getBaseName

public java.lang.String getBaseName()
Returns the cvw base name: if the cvw object is a shortcut the default cvw name is: "SC to "; This will return the only part.


getObjNum

public CVWObjNum getObjNum()
Returns the object number.


getObjNumStr

public java.lang.String getObjNumStr()
Returns the object number as a string.


getIcon

public java.lang.String getIcon()
Returns the icon of object with ".gif" appended to it.


getImage

public java.awt.Image getImage()
Returns the image of this object.


getType

public java.lang.String getType()
Returns the type of object as known by the CVW server.


getBaseType

public java.lang.String getBaseType()
Returns the cvw base type. If the cvw object is a shortcut the cvw server sends down the type as: "SC to ". This will return the only part.


isCached

public boolean isCached()
Returns whether this object is in the cache or not


setCached

public void setCached(boolean b)
Sets whether this object is in the cache or not


getDetailName

public java.lang.String getDetailName()
Returns the detail name for display. For most objects this is the description, subclasses should over ride it.


getRawDetailName

public java.lang.String getRawDetailName()
Returns the actual detail name as defined by each subclass.


setRawDetailName

public void setRawDetailName(java.lang.String detailName)
Sets the detail name for this object


getOwnerName

public java.lang.String getOwnerName()
Returns the name of the owner of this object, returns "---" instead of "Unknown" 2/2/98 dage


getModifiedByName

public java.lang.String getModifiedByName()
Returns the name of the user who modified this object, returns "---"" instead of ""Unknown"" 2/2/98 dage


getModifiedBy

public CVWUser getModifiedBy()
Returns the user who modified this object


getCreatedDateForDisplay

public java.lang.String getCreatedDateForDisplay()
Returns the date this object was created as a string.


getModifiedDateForDisplay

public java.lang.String getModifiedDateForDisplay()
Returns the date this object was modified as a string.


getDateForDisplay

public java.lang.String getDateForDisplay(java.util.Date d)
Returns the desired string format of the date passed in.


getDateForDetailDisplay

public java.lang.String getDateForDetailDisplay(java.util.Date d)
Returns the desired string format of the date passed in.


setOwners

public void setOwners(java.lang.String owns)
Sets the owners of the object. Owners has been defined as other users who have been given permission to edit this object.


getOwners

public java.util.Vector getOwners()
Returns a vector of CVWObjects built from owners. 8/28/97 dage


getTopLocation

public CVWObject getTopLocation()
Returns the CVWRoom or CVWUser that this object is located in. BTW, we don't cache the location of users (they move to much).


setMetaDataType

public void setMetaDataType(int type)
Sets the metaDataType variable when the user does a "Information", "Permissions", "Members", or "Access" so that when the CVW server sends the cvw-object-detail MCP it will open the get info dialog to the correct tab.
MCP send cvw-object-detail-request


getMetaDataType

public int getMetaDataType()
Gets the metaDataType value.


prepTextForServer

public java.lang.String prepTextForServer(java.lang.String oldStr)
Returns a string which is preprocessed for the communications to the CVW server


convertBooleanToIntString

public java.lang.String convertBooleanToIntString(boolean bool)
Converts a boolean to the string needed by the CVW server 11/20/96


getObjectModifyMCP

public java.lang.String getObjectModifyMCP(java.lang.String newName,
                                           boolean newMove,
                                           java.lang.String newDesc)
Builds the MCP parameter list for notifying the CVW server of any changes to the information for this object. Only those values which had changed in the "Get Info"e; dialog box


objectModify

public void objectModify(java.lang.String newName,
                         boolean newMove,
                         java.lang.String newDesc)
Starts building the MCP for notifying the server of any change to the information of this object


objectModify

public void objectModify(java.lang.String param)
Sends the MCP to the CVW server
MCP send cvw-modify-metadata


create

public void create()
Opens a blank "Get Info"e; dialog box for the user to create an instance of this object on the CVW server. When creating an object the use is only presented with the first tab, "Description"


getObjectCreateMCP

public java.lang.String getObjectCreateMCP(java.lang.String name,
                                           boolean sessile,
                                           java.lang.String desc)
Returns a MCP string representing the values to be sent to the CVW server when creating an object
MCP send cvw-object-create


objectCreate

public void objectCreate(java.lang.String name,
                         boolean sessile,
                         java.lang.String desc)
Starts the process of building the MCP to be sent to the CVW server when the user creates a new object.


objectCreate

public void objectCreate(java.lang.String param)
Builds the MCP parameter list for creating the object on the CVW server.
MCP send cvw-object-create


objectCreateResult

public void objectCreateResult(MCPCommand mcpCmd)
The results of creating an object on the CVW server. Display the success or failure of the create in the scrollback. Try to auto open the object.


objectCreateError

public static void objectCreateError(MCPCommand mcpCmd)
special case scenario talk to cvw server, it says yes talk to doc server, it creates new document talk to cvw server, now there is an error, need to delete the new document from the doc server with a token This is for create doc, copy doc, create wb from doc, create wb


autoOpenObject

public void autoOpenObject()
Upon creating an object, open it for the user automatically.


startOpen

public void startOpen()

startInfoDialog

public void startInfoDialog()
Starts the process of opening a get info dialog box. Sets the metaDataType to GETINFO.
MCP send cvw-object-detail-request


startInfoDialog

public void startInfoDialog(int type)
Starts the process of opening a get info dialog box. Sets the metaDataType so that when the CVW server sends MCP the correct tabbed panel will be in focus.
MCP send cvw-object-detail-request


getInfo

public void getInfo(java.lang.String desc,
                    java.lang.String perms,
                    java.lang.String owners)
Opens the Get Info window for this object. All objects have the Description and Permissions tabs. CVWGroups and CVWRooms have a third panel representing their members and users allowed in the room, respectively.
MCP receive cvw-object-detail


getObjectPanel

public ObjectPanel getObjectPanel(FolderDialog diag,
                                  java.lang.String perms)
Returns the instance of the object panel for this viewing/editing this object


getObjectPanel

public ObjectPanel getObjectPanel(FolderDialog diag)
Returns an instance of the object panel for generic objects, used when creating an object.


has3rdPanel

public java.lang.String has3rdPanel()
Returns the title of the third tabbed panel in the get info dialog box, return null if no third panel. Most CVWObject descendents do not have a third panel.


get3rdPanel

public ObjectOwnerPanel get3rdPanel(FolderDialog diag,
                                    java.lang.String perms)
Returns the instance of the third tabbed panel in the get info dialog box, return null if no third panel. Most CVWObject descendents do not have a third panel.


updateDetailInfo

public void updateDetailInfo(java.lang.String descr,
                             java.lang.String perms,
                             java.lang.String owns)
Sets the detail information variables. Currently not used.


newObjNumString

public java.lang.String newObjNumString(CVWObjNum[] oNums,
                                        java.util.Vector newV)
Returns a list of object numbers which represent the new object numbers contained in the new vector exluding those that are in the old array. This is to process contents or owners of an object. 5/30/98 dage


updateOwners

public void updateOwners(java.util.Vector u,
                         java.util.Vector g)
Sends the owner access list to the CVW server when the user has changed the permissions of this object.
MCP send cvw-access-set-owners 5/30/98


updateOwnersResult

public void updateOwnersResult(java.lang.String err,
                               java.lang.String ownList)
Processes the results of the setting the the owners of the object.
MCP receive cvw-access-set-owners-result


updateACLResult

public void updateACLResult(java.lang.String err,
                            java.lang.String aclList)
Processes the results of the setting the the acl of the object. This is currently only used by CVWRoom.
MCP receive cvw-access-set-acl-result


startDeleteDialog

public void startDeleteDialog()
Starts the process of deleting an object. The current mode of operation is Check CVW server to see if permission to delete the object, send cvw-object-delete with final = 0
start of process if not a document
if so, and not a document ask user if sure
if yes, then send cvw-object-delete with final = 1
end of process if not a document


start of process if a document
if so, check to see if the doc server can delete it
if yes, ask the user if sure
if yes, then send cvw-object-delete with final = 1
CVW server will send cvw-document-delete
try to delete on document server
return to CVW server whether the delete on the doc server happened
end of process if a document
MCP send cvw-object-delete


confirmDelete

public void confirmDelete(java.lang.String name,
                          int finalTime)
Either notifies the user that the object has been deleted or confirms the delete of the object with the user because the CVW server has okayed the user to delete the object (i.e. the suer has permissions)
MCP receive cvw-object-delete-result


showDeleteDialog

protected void showDeleteDialog()

deleteResultError

public void deleteResultError(java.lang.String item,
                              java.lang.String error)
The CVW server denyed the user the ability to delete an object Hint: the item # and the object # will be different in the following situation: you are deleting a folder which has a note in it .. you cannot delete the note. the object # is that of the folder, the item # is that of the note.
MCP receieve cvw-object-delete-result


handleShortcutError

public void handleShortcutError(java.lang.String item,
                                java.lang.String shortcuts)
User has asked to delete an object that has shortcuts, this will confirm to delete the original object and *ALL* shortcuts to it, regardless of who owns them, this will show the user all shortcuts and who owns them.
Hint: the item # and the object # will be different in the following situation: you are deleting a folder which has a note in it .. the note has a shortcut. the object # is that of the folder, the item # is that of the note.
MCP receieve cvw-object-delete-result


objectCopy

public void objectCopy(java.lang.String type)
Copy or create Shortcut of the object. User selected Copy or Shortcut from the object menu.


objectCopyResult

public void objectCopyResult(MCPCommand mcpCmd)
Display the results of the object copy from the server. 0 denotes no error, otherwise display the message from the server.
MCP receive cvw-object-copy-result


doDropTake

public void doDropTake(java.lang.String action)
Processes a drop or a take on a CVW object by sending the appropriate command to the CVW server.
MCP send cvw-move


moveObject

public void moveObject(CVWObject toObj)
Moves this object to another object.


moveObject

public void moveObject(CVWObject toObj,
                       javax.swing.JFrame frame)
Moves this object to another object.
MCP send cvw-move


moveResult

public void moveResult(java.lang.String error,
                       java.lang.String msg,
                       java.lang.String receiver,
                       java.lang.String origin)
Processes the results of an error.
MCP receive cvw-move-result


displayError

public void displayError(java.lang.String message,
                         java.lang.String title)
Displays an error based on the frame which contains this object or the main window if no frame is found 6/13/00 - dage - can't believe we didnt set this up earlier someday remove all code that duplicates this


getObjectFrame

public javax.swing.JFrame getObjectFrame()
Get the frame which contains this object.


buildObjNumStrVector

public java.util.Vector buildObjNumStrVector(java.util.Vector u,
                                             java.util.Vector g)
Builds a new Vector of strings representing object numbers from two vectors, one of CVWUsers and the second of CVWGroups. 9/5/97 NO ERROR CHECKING IS DONE!!!!


changed

public void changed()
Invoked when any instance var of this object is changed. 12/16/96 dage - calls the super class observer setChanged and notifyObservers


paramString

public java.lang.String paramString()
Returns a string representing the state of this component.


toString

public java.lang.String toString()
Returns a string representation of this component and its values.