java.lang.Object | |
↳ | com.esri.core.portal.PortalUser |
This class represents a registered user on a Portal.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
PortalUserContent |
fetchContent()
Fetches the user's content.
| ||||||||||
void |
fetchContent(PortalListener<PortalUserContent> portalListener)
This method is deprecated.
please use
fetchContent() instead.
| ||||||||||
void |
fetchContentInFolder(String folderId, PortalListener<PortalUserContent> portalListener)
This method is deprecated.
please use
fetchContentInFolder(String) instead. | ||||||||||
PortalUserContent |
fetchContentInFolder(String folderId)
Fetches the user's content that is in a specific folder.
| ||||||||||
void |
fetchThumbnail(PortalListener<byte[]> portalListener)
This method is deprecated.
please use
fetchThumbnail() instead. | ||||||||||
byte[] |
fetchThumbnail()
Fetches the user's thumbnail.
| ||||||||||
static PortalUser |
fromJson(JsonParser parser, Portal portal)
From json.
| ||||||||||
PortalAccess |
getAccess()
Returns the access level of this user.
| ||||||||||
long |
getCreated()
Returns the creation date of the user's profile.
| ||||||||||
String |
getEmail()
Return the email address of the user.
| ||||||||||
String |
getFullName()
Return the user's full name.
| ||||||||||
List<PortalGroup> |
getGroups()
Returns all the groups that the user belongs to.
| ||||||||||
long |
getModified()
Returns the last date the user was modified.
| ||||||||||
String |
getOrganizationId()
Returns the id of the organization, if the user belongs to one.
| ||||||||||
Portal |
getPortal()
Returns the portal that contains this user.
| ||||||||||
PortalUserRole |
getRole()
Gets the role of the Portal user.
| ||||||||||
List<String> |
getTags()
Returns a list of search tags associated with this user.
| ||||||||||
String |
getThumbnailFileName()
Returns the filename of the thumbnail of this user.
| ||||||||||
String |
getUsername()
Returns the user name.
| ||||||||||
int | hashCode() | ||||||||||
static PortalUser |
newInstance(Portal portal, String username)
Initializes a portal user with a portal and a username.
| ||||||||||
static void |
newInstance(Portal portal, String username, PortalListener<PortalUser> portalListener)
This method is deprecated.
please use
newInstance(Portal, String) instead.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Fetches the user's content.
Exception | If unable to complete the request. |
---|
This method is deprecated.
please use fetchContent()
instead.
Fetches the user's content.
portalListener | - in the callback the content published by the user is returned |
---|
This method is deprecated.
please use fetchContentInFolder(String)
instead.
Fetches the user's content that is in a specific folder.
folderId | - id of the folder for which content must be fetched |
---|---|
portalListener | - in the callback the folder content published by the user is returned |
Fetches the user's content that is in a specific folder.
folderId | - id of the folder for which content must be fetched, or null if not sure. |
---|
Exception | If unable to complete the request. |
---|
This method is deprecated.
please use fetchThumbnail()
instead.
Fetches the user's thumbnail.
portalListener | - the callback returns the thumbnail associated with the portal |
---|
From json.
parser | the parser |
---|---|
portal | the portal |
Exception | the exception |
---|
Returns the access level of this user.
Returns the creation date of the user's profile.
Return the email address of the user.
Returns all the groups that the user belongs to.
Returns the last date the user was modified.
Returns the id of the organization, if the user belongs to one.
Returns the portal that contains this user.
Returns a list of search tags associated with this user.
Returns the filename of the thumbnail of this user.
Initializes a portal user with a portal and a username.
portal | - portal for which the user is a member |
---|---|
username | - username as in the portal |
Exception | If unable to complete the request. |
---|
This method is deprecated.
please use newInstance(Portal, String)
instead.
Initializes a portal user with a portal and a username.
portal | - portal for which the user is a member |
---|---|
username | - username as in the portal |
portalListener | - callback listener that returns a portal |