|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.framework.defs.FrameworkUser
public class FrameworkUser
Represents a logged in FrameworkUser in the EAS Console
| Constructor Summary | |
|---|---|
FrameworkUser() |
|
FrameworkUser(java.lang.String userName, java.lang.String pwd, java.lang.String userToken, java.lang.String svr, int svrPort, java.lang.String emailAddr, java.lang.String emailName, java.lang.String mailHost, boolean supervisor)Convenience constructor for a user that has not logged in with a token |
|
| Method Summary | |
|---|---|
java.lang.String |
getDecryptedToken() |
java.lang.String |
getEmail()The email address for this user |
java.lang.String |
getEmailHost()Returns the String representing the host used to send e-mail |
java.lang.String |
getEncryptedPassword()Gets the encrypted password for this user |
java.lang.String |
getFullName()This is the user's full name typically used when sending an e-mail |
java.lang.String |
getPassword()Returns the FrameworkUser's password in an unencrypted form. |
int |
getPort()Returns the port number used to connect to on the server |
java.lang.Object |
getProperty(java.lang.String key)Returns the object representing the value for the key in the properties set |
java.lang.String |
getServer()Returns the server to connect to |
java.lang.String |
getToken()Gets the String containing the token |
java.lang.String |
getUserName()Returns the FrameworkUser's login name |
boolean |
hasToken()Returns a boolean value specifying if the token is defined |
static boolean |
isDefaultPropertyCheckingSupported()This property is used to check if a default value is supported by this class. |
static boolean |
isDefaultValue(java.lang.String propertyName, java.lang.Object o)Checks if the value in the argument is the same as the default value defined for this class. |
boolean |
isSupervisor()Returns a boolean value representing if this user is a supervisor |
void |
setClearPassword(java.lang.String pwd)Use this method to reinitialize the FrameworkUser's password |
void |
setEmail(java.lang.String emailAddress)Assigns the emailAddress for this FrameworkUser |
void |
setEmailHost(java.lang.String host)Assigns the email server to use for sending email. |
void |
setEncryptedPassword(java.lang.String pwd)Encrypts the pwd string and stores it as the encrypted password for this user. |
void |
setFullName(java.lang.String fullName)Assigns the user's full name typically used when sending an e-mail |
void |
setPort(int svrPort)Assigns the port number on the server for this user to connect to |
void |
setProperty(java.lang.String key, java.lang.Object value)Sets this key/value pair in the properties set. |
void |
setServer(java.lang.String svr)Assigns the server for the FrameworkUser |
void |
setSupervisor(boolean supervisor)Grants supervisor privileges for this user based on the input boolean value |
void |
setToken(java.lang.String userToken)Sets this user's token |
void |
setUserName(java.lang.String userName)Assigns the FrameworkUser's login name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrameworkUser()
public FrameworkUser(java.lang.String userName,
java.lang.String pwd,
java.lang.String userToken,
java.lang.String svr,
int svrPort,
java.lang.String emailAddr,
java.lang.String emailName,
java.lang.String mailHost,
boolean supervisor)
userName - the login name for the userpwd - the unencrypted password of the useruserToken - the Hyperion SDK Tokensvr - the server to connect tosvrPort - the port number on the serveremailAddr - is the email address of the useremailName - the full name to appear in emailmailHost - the host used to send email as used by Java Mail APIsupervisor - determines if this user has supervisor privileges| Method Detail |
|---|
public java.lang.String getUserName()
FrameworkUser's login namepublic void setUserName(java.lang.String userName)
FrameworkUser's login nameuserName - the login name to be set for this FrameworkUserpublic java.lang.String getPassword()
FrameworkUser's password in an unencrypted form.public void setClearPassword(java.lang.String pwd)
FrameworkUser's passwordpwd - the password to be set for this user. This is stored in an encrypted formpublic java.lang.String getEncryptedPassword()
public void setEncryptedPassword(java.lang.String pwd)
pwd - the password string to be encryptedpublic java.lang.String getServer()
FrameworkUser connects topublic void setServer(java.lang.String svr)
FrameworkUsersvr - is the server to use for this userpublic int getPort()
public void setPort(int svrPort)
svrPort - the port number to setpublic java.lang.String getEmail()
FrameworkUserpublic void setEmail(java.lang.String emailAddress)
FrameworkUseremailAddress - the email address to set for this userpublic java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
fullName - the full name to set for the userpublic java.lang.String getEmailHost()
public void setEmailHost(java.lang.String host)
host - the host used to send e-mail.public boolean hasToken()
public java.lang.String getToken()
public java.lang.String getDecryptedToken()
public void setToken(java.lang.String userToken)
userToken - sets the token for this Framework Userpublic boolean isSupervisor()
public void setSupervisor(boolean supervisor)
supervisor - sets the supervisor privilegespublic java.lang.Object getProperty(java.lang.String key)
key in the properties setkey - the key for which the value has to be returnedkey in the properties set
public void setProperty(java.lang.String key,
java.lang.Object value)
key - the key for the key/value pairvalue - the value for the key/value pair
public static boolean isDefaultValue(java.lang.String propertyName,
java.lang.Object o)
propertyName - is the name of the property to check foro - is the value of the value of the propertypublic static boolean isDefaultPropertyCheckingSupported()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||