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

Quick Search    Search Deep

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

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

public class CVWGroup
extends CVWContainer

This class represents the Group object on the CVW server.

Version:
1.0

Field Summary
(package private)  java.lang.String ownerName
           
(package private)  boolean systemAllUsers
           
 
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
(package private) CVWGroup()
          Constructor
 
Method Summary
 void autoOpenObject()
          Upon creating an object, open it for the user automatically
 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.
 java.util.Vector getContents()
          If this is the "All Users" system group, return an empty vector, else call the superclass method.
 java.lang.String getDetailName()
          Returns the detail name of the group which is the ownerName.
 java.lang.String getRawDetailName()
          Returns the raw detail name of the group which is the ownerName.
 void groupPage(int cvwCmd)
          Invokes the CVWGroupCommDialog for private communication to this group
 java.lang.String has3rdPanel()
          Returns the title of the third tabbed panel in the get info dialog box, "e;Members"e;.
 void open(java.lang.String perms, java.lang.String fullPath)
          Opens the group for either editing or viewing depending on the perms sent in.
 void returnToGroupMgr()
          Returns this group to the group manager.
 void returnToGroupMgr(javax.swing.JFrame frame)
          Returns this group to the group manager.
 void setRawDetailName(java.lang.String detailName)
          Sets the raw detail name of the group
 void startInfoDialog(int type)
          Starts the process of opening a get info dialog box.
 void startOpen()
           
 void updateMembers(java.util.Vector u, java.util.Vector g)
          Changes the members list of the group by sending an MCP to the CVW server.
 void updateMembersResult(java.lang.String err, int type, java.lang.String memList, java.lang.String invalidList, java.lang.String errList)
          Processes the results from changing the members list on the CVW server.
 
Methods inherited from class org.mitre.cvw.CVWContainer
setContents
 
Methods inherited from class org.mitre.cvw.CVWObject
buildObjNumStrVector, changed, checkQuota, confirmDelete, convertBooleanToIntString, create, deleteResultError, displayError, doDropTake, getBaseName, getBaseType, getCreatedDateForDisplay, getDateForDetailDisplay, getDateForDisplay, getFederatedName, getIcon, getImage, getInfo, getMetaDataType, getModifiedBy, getModifiedByName, getModifiedDateForDisplay, getName, getObjectCreateMCP, getObjectFrame, getObjectModifyMCP, getObjectPanel, getObjectPanel, getObjectTypes, getObjectTypeStrings, getObjNum, getObjNumStr, getOwnerName, getOwners, getStringFromType, getStringFromType, getTopLocation, getType, getTypeFromString, handleShortcutError, initObjectTypes, isCached, isShortcut, moveObject, moveObject, moveResult, newCommand, newObjNumString, objectCopy, objectCopyResult, objectCreate, objectCreate, objectCreateError, objectCreateResult, objectModify, objectModify, paramString, prepTextForServer, setCached, setMetaDataType, setName, setOwners, setValues, setValues, showDeleteDialog, startDeleteDialog, startInfoDialog, toString, updateACLResult, 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

ownerName

java.lang.String ownerName

systemAllUsers

boolean systemAllUsers
Constructor Detail

CVWGroup

CVWGroup()
Constructor

Method Detail

open

public void open(java.lang.String perms,
                 java.lang.String fullPath)
Opens the group for either editing or viewing depending on the perms sent in.


getDetailName

public java.lang.String getDetailName()
Returns the detail name of the group which is the ownerName.

Overrides:
getDetailName in class CVWObject

getRawDetailName

public java.lang.String getRawDetailName()
Returns the raw detail name of the group which is the ownerName.

Overrides:
getRawDetailName in class CVWObject

setRawDetailName

public void setRawDetailName(java.lang.String detailName)
Sets the raw detail name of the group

Overrides:
setRawDetailName in class CVWObject

getContents

public java.util.Vector getContents()
If this is the "All Users" system group, return an empty vector, else call the superclass method.

Overrides:
getContents in class CVWContainer

has3rdPanel

public java.lang.String has3rdPanel()
Returns the title of the third tabbed panel in the get info dialog box, "e;Members"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 members of this group are displayed.

Overrides:
get3rdPanel in class CVWObject

updateMembers

public void updateMembers(java.util.Vector u,
                          java.util.Vector g)
Changes the members list of the group by sending an MCP to the CVW server.


updateMembersResult

public void updateMembersResult(java.lang.String err,
                                int type,
                                java.lang.String memList,
                                java.lang.String invalidList,
                                java.lang.String errList)
Processes the results from changing the members list on the CVW server. 9/5/97 dage --
MCP receive cvw-group-add-member-result
MCP receive cvw-group-del-member-result


startOpen

public void startOpen()
Overrides:
startOpen in class CVWObject

autoOpenObject

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

Overrides:
autoOpenObject in class CVWObject

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

Overrides:
startInfoDialog in class CVWObject

groupPage

public void groupPage(int cvwCmd)
Invokes the CVWGroupCommDialog for private communication to this group


returnToGroupMgr

public void returnToGroupMgr()
Returns this group to the group manager.


returnToGroupMgr

public void returnToGroupMgr(javax.swing.JFrame frame)
Returns this group to the group manager.