public class PortalContextInfo extends Object implements Serializable
| Constructor and Description |
|---|
PortalContextInfo()
Instantiates a new portal context info.
|
PortalContextInfo(String username,
String currentScope,
String userToken)
Instantiates a new portal context info.
|
PortalContextInfo(String username,
String userFullName,
String userEmail,
String userAvatarID,
String userAvatarURL,
String currentScope,
String userToken,
long currGroupId)
Instantiates a new portal context info.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentScope()
Gets the current scope.
|
long |
getCurrGroupId()
Gets the curr group id.
|
String |
getUserAvatarID()
Gets the user avatar id.
|
String |
getUserAvatarURL()
Gets the user avatar url.
|
String |
getUserEmail()
Gets the user email.
|
String |
getUserFullName()
Gets the user full name.
|
String |
getUsername()
Gets the username.
|
String |
getUserToken()
Gets the user token.
|
void |
setCurrentScope(String currentScope)
Sets the current scope.
|
void |
setCurrGroupId(long currGroupId)
Sets the curr group id.
|
void |
setUserAvatarID(String userAvatarID)
Sets the user avatar id.
|
void |
setUserAvatarURL(String userAvatarURL)
Sets the user avatar url.
|
void |
setUserEmail(String userEmail)
Sets the user email.
|
void |
setUserFullName(String userFullName)
Sets the user full name.
|
void |
setUsername(String username)
Sets the username.
|
void |
setUserToken(String userToken)
Sets the user token.
|
String |
toString() |
public PortalContextInfo()
public PortalContextInfo(String username, String currentScope, String userToken)
username - the usernamecurrentScope - the current scopeuserToken - the user tokenpublic PortalContextInfo(String username, String userFullName, String userEmail, String userAvatarID, String userAvatarURL, String currentScope, String userToken, long currGroupId)
username - the usernameuserFullName - the user full nameuserEmail - the user emailuserAvatarID - the user avatar iduserAvatarURL - the user avatar urlcurrentScope - the current scopeuserToken - the user tokencurrGroupId - the curr group idpublic String getUsername()
public String getUserFullName()
public String getUserEmail()
public String getUserAvatarID()
public String getUserAvatarURL()
public String getCurrentScope()
public String getUserToken()
public long getCurrGroupId()
public void setUsername(String username)
username - the username to setpublic void setUserFullName(String userFullName)
userFullName - the userFullName to setpublic void setUserEmail(String userEmail)
userEmail - the userEmail to setpublic void setUserAvatarID(String userAvatarID)
userAvatarID - the userAvatarID to setpublic void setUserAvatarURL(String userAvatarURL)
userAvatarURL - the userAvatarURL to setpublic void setCurrentScope(String currentScope)
currentScope - the currentScope to setpublic void setUserToken(String userToken)
userToken - the userToken to setpublic void setCurrGroupId(long currGroupId)
currGroupId - the currGroupId to setCopyright © 2018. All Rights Reserved.