|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class CVWUser

java.lang.Objectjava.util.Observable
org.mitre.cvw.CVWObject
org.mitre.cvw.CVWUser
- All Implemented Interfaces:
- ObjectValues, java.io.Serializable
- Direct Known Subclasses:
- CVWProxy
- public class CVWUser
- extends CVWObject
This class represents the user on the CVW server.
- Version:
| Field Summary | |
private static CVWUser |
currentUser
|
(package private) java.lang.String |
email
|
(package private) java.lang.String |
empID
|
(package private) java.lang.String |
fullName
|
(package private) java.lang.String |
gender
|
(package private) java.lang.String |
office
|
(package private) java.lang.String |
phone
|
private int |
quota
|
private CVWServer |
server
|
(package private) static java.awt.Image |
unknownImage
|
| 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) |
CVWUser()
Constructor |
(package private) |
CVWUser(CVWServer serv)
Constructor |
(package private) |
CVWUser(int type)
Constructor |
(package private) |
CVWUser(java.lang.String type)
Constructor |
| Method Summary | |
static java.lang.String |
convIdleSecsToEnglish(int secs)
Converts seconds to the standard CVW way of displaying user idle time with the default level of high detail. |
static java.lang.String |
convIdleSecsToEnglish(int secs,
boolean detail)
Converts seconds to the standard CVW way of displaying user idle time detail depending on the boolean value passed in. |
private static void |
debug(java.lang.String message)
prints debugging lines if debugging is on |
void |
frameDismissed(java.awt.Frame f)
Process the closing of the UserDescDialog, if the user pushed Save, send the new info to the CVW server MCP send cvw-modify-metadata |
static CVWUser |
getCurrentUser()
|
java.lang.String |
getDetailName()
Returns the full name of the user in the following format Lastname Suffix, Prefix Firstname Middle. |
java.lang.String |
getEmail()
Returns the email address of the user. |
static java.lang.String |
getFedUserName()
|
java.lang.String |
getIcon()
Returns the gif image filename for this user. |
java.awt.Image |
getImage()
Returns the image of this object. |
void |
getInfo()
Opens the Information dialog box for this user. |
int |
getQuota()
Returns the quota of this user |
java.lang.String |
getRawDetailName()
Returns the full name of the user |
CVWServer |
getServer()
Get the server this user resides on |
static java.awt.Image |
getUnknownImage()
|
void |
objectModify(java.lang.String newFName,
java.lang.String newPhone,
java.lang.String newDesc,
java.lang.String newEmail,
java.lang.String newOffice,
java.lang.String newEmpID)
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. |
(package private) static void |
setCurrentUser(CVWUser user)
|
void |
setDetailInfo(java.lang.String fName)
Sets the full name associated with a user. |
void |
setDetailInfo(java.lang.String fName,
java.lang.String emp,
java.lang.String o,
java.lang.String ph,
java.lang.String d,
java.lang.String em,
java.lang.String g)
Sets the detail information associated with a user. |
void |
setEmail(java.lang.String e)
Sets the email address of the user |
void |
setQuota(java.lang.String num)
Sets the quota of this user |
void |
setRawDetailName(java.lang.String detailName)
Sets the raw detail name which is the full name of the user |
void |
setServer(CVWServer server)
Set the user's server |
void |
startInfoDialog(int type)
Starts opening the get info on user by requesting detail info. |
java.lang.String |
toString()
Returns a string representation of this component and its values. |
| 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 |
fullName
java.lang.String fullName
empID
java.lang.String empID
office
java.lang.String office
phone
java.lang.String phone
java.lang.String email
gender
java.lang.String gender
server
private CVWServer server
quota
private int quota
unknownImage
static java.awt.Image unknownImage
currentUser
private static CVWUser currentUser
| Constructor Detail |
CVWUser
CVWUser()
- Constructor
CVWUser
CVWUser(CVWServer serv)
- Constructor
CVWUser
CVWUser(int type)
- Constructor
CVWUser
CVWUser(java.lang.String type)
- Constructor
| Method Detail |
setCurrentUser
static void setCurrentUser(CVWUser user)
getCurrentUser
public static CVWUser getCurrentUser()
getFedUserName
public static java.lang.String getFedUserName()
getUnknownImage
public static java.awt.Image getUnknownImage()
convIdleSecsToEnglish
public static java.lang.String convIdleSecsToEnglish(int secs)
- Converts seconds to the standard CVW way of displaying user idle time with
the default level of high detail.
convIdleSecsToEnglish
public static java.lang.String convIdleSecsToEnglish(int secs, boolean detail)
- Converts seconds to the standard CVW way of displaying user idle time
detail depending on the boolean value passed in.
debug
private static void debug(java.lang.String message)
- prints debugging lines if debugging is on
setRawDetailName
public void setRawDetailName(java.lang.String detailName)
- Sets the raw detail name which is the full name of the user
- Overrides:
setRawDetailNamein classCVWObject
getRawDetailName
public java.lang.String getRawDetailName()
- Returns the full name of the user
- Overrides:
getRawDetailNamein classCVWObject
getDetailName
public java.lang.String getDetailName()
- Returns the full name of the user in the following format
Lastname Suffix, Prefix Firstname Middle. 7/1/97- Overrides:
getDetailNamein classCVWObject
getIcon
public java.lang.String getIcon()
- Returns the gif image filename for this user.
The CVW server sends "user/empNo", strip off user and append .gif
9/28/98 dage
getImage
public java.awt.Image getImage()
getEmail
public java.lang.String getEmail()
- Returns the email address of the user.
8/19/98 - dage
setEmail
public void setEmail(java.lang.String e)
- Sets the email address of the user
getQuota
public int getQuota()
- Returns the quota of this user
getServer
public CVWServer getServer()
- Get the server this user resides on
setServer
public void setServer(CVWServer server)
- Set the user's server
setQuota
public void setQuota(java.lang.String num)
- Sets the quota of this user
startInfoDialog
public void startInfoDialog(int type)
- Starts opening the get info on user by requesting detail info.
MCP send cvw-object-detail-request- Overrides:
startInfoDialogin classCVWObject
getInfo
public void getInfo()
- Opens the Information dialog box for this user.
MCP receive cvw-object-detail
frameDismissed
public void frameDismissed(java.awt.Frame f)
- Process the closing of the UserDescDialog, if the user pushed Save, send the
new info to the CVW server
MCP send cvw-modify-metadata
objectModify
public void objectModify(java.lang.String newFName, java.lang.String newPhone, java.lang.String newDesc, java.lang.String newEmail, java.lang.String newOffice, java.lang.String newEmpID)
- Starts building the MCP for notifying the server of any change to the information
of this object. Only sends the data of the attributes that have changed.
3/25/98 dage
setDetailInfo
public void setDetailInfo(java.lang.String fName)
- Sets the full name associated with a user.
MCP receive cvw-object-detail
setDetailInfo
public void setDetailInfo(java.lang.String fName, java.lang.String emp, java.lang.String o, java.lang.String ph, java.lang.String d, java.lang.String em, java.lang.String g)
- Sets the detail information associated with a user.
MCP receive cvw-object-detail
paramString
public java.lang.String paramString()
- Returns a string representing the state of this component.
- Overrides:
paramStringin classCVWObject
toString
public java.lang.String toString()
- Returns a string representation of this component and its values.
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC