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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.util.Observable
      extended byorg.mitre.cvw.CVWObject
          extended byorg.mitre.cvw.CVWContainer
              extended byorg.mitre.cvw.CVWRoom
All Implemented Interfaces:
ObjectValues, java.io.Serializable

public class CVWRoom
extends CVWContainer

This class represents a room on the CVW server.

Version:

Field Summary
(package private)  CVWObjNum floor
           
 
Fields inherited from class org.mitre.cvw.CVWContainer
contents
 
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 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
CVWRoom()
          Constructor
CVWRoom(java.lang.String flr)
          Constructor
 
Method Summary
 ObjectOwnerPanel get3rdPanel(FolderDialog diag, java.lang.String perms)
          Returns an instance of the ObjectOwnerPanel which will be the third tab in a get info dialog box.
 CVWFloor getFloor()
           
 java.lang.String has3rdPanel()
          Returns the title of the third tabbed panel in the get info dialog box, "e;Access"e;.
 void moveTo()
          Move the user to this room.
 java.lang.String paramString()
          Returns a string representing the state of this component.
 void requestAdmitUserCommand(MCPCommand mcp)
          Process a request from another user for the current user to come to this locked room.
 void requestAdmitUserResult(MCPCommand mcp)
          Process result of this user requesting another user's presense in this room.
 void revokeAdmitKey(java.lang.String key, java.lang.String when)
          Processes a key to this room being automatically revoked from the CVW server because it has expired.
 void startInfoDialog(int metaDataType)
          Opens this room get info dialog box to the appropriate panel showing.
 void startOpen()
          Opens this room with the Access panel open, who can enter the room.
 void updateACL(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 updateACLResult(java.lang.String err, java.lang.String aclList)
          Processes the results of the setting the the acl of the object.
 
Methods inherited from class org.mitre.cvw.CVWContainer
getContents, setContents
 
Methods inherited from class org.mitre.cvw.CVWObject
autoOpenObject, buildObjNumStrVector, changed, checkQuota, confirmDelete, convertBooleanToIntString, create, deleteResultError, displayError, doDropTake, 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, initObjectTypes, isCached, isShortcut, moveObject, moveObject, moveResult, newCommand, newObjNumString, objectCopy, objectCopyResult, objectCreate, objectCreate, objectCreateError, objectCreateResult, objectModify, objectModify, prepTextForServer, setCached, setMetaDataType, setName, setOwners, setRawDetailName, setValues, setValues, showDeleteDialog, startDeleteDialog, startInfoDialog, toString, updateDetailInfo, updateOwners, updateOwnersResult
 
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

floor

transient CVWObjNum floor
Constructor Detail

CVWRoom

public CVWRoom()
Constructor


CVWRoom

public CVWRoom(java.lang.String flr)
Constructor

Method Detail

getFloor

public CVWFloor getFloor()

moveTo

public void moveTo()
Move the user to this room.


updateACL

public void updateACL(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. Invoked when the user changes the access to this object which are users who are allowed in the room. 9/5/97
MCP send cvw-access-set-acl


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

Overrides:
updateACLResult in class CVWObject

has3rdPanel

public java.lang.String has3rdPanel()
Returns the title of the third tabbed panel in the get info dialog box, "e;Access"e;.

Overrides:
has3rdPanel in class CVWObject

get3rdPanel

public ObjectOwnerPanel get3rdPanel(FolderDialog diag,
                                    java.lang.String perms)
Returns an instance of the ObjectOwnerPanel which will be the third tab in a get info dialog box. This is the panel where the users who are allowed in this room are displayed.

Overrides:
get3rdPanel in class CVWObject

startOpen

public void startOpen()
Opens this room with the Access panel open, who can enter the room.

Overrides:
startOpen in class CVWObject

startInfoDialog

public void startInfoDialog(int metaDataType)
Opens this room get info dialog box to the appropriate panel showing.
MCP send cvw-object-info-request
MCP send cvw-access-get-acl

Overrides:
startInfoDialog in class CVWObject

requestAdmitUserCommand

public void requestAdmitUserCommand(MCPCommand mcp)
Process a request from another user for the current user to come to this locked room. User has a choice to either accept and go now, accept and go later, or decline.
MCP receive cvw-access-admit-request


requestAdmitUserResult

public void requestAdmitUserResult(MCPCommand mcp)
Process result of this user requesting another user's presense in this room.
MCP receive cvw-access-admit-request-result


revokeAdmitKey

public void revokeAdmitKey(java.lang.String key,
                           java.lang.String when)
Processes a key to this room being automatically revoked from the CVW server because it has expired.


paramString

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

Overrides:
paramString in class CVWObject