|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.portal.PortalUser
public class PortalUser

This class represents a registered user on a Portal.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
PortalUserContent |
fetchContent()
Fetches the user's content. |
void |
fetchContent(PortalListener<PortalUserContent> portalListener)
Deprecated. please use fetchContent() instead. |
PortalUserContent |
fetchContentInFolder(String folderId)
Fetches the user's content that is in a specific folder. |
void |
fetchContentInFolder(String folderId,
PortalListener<PortalUserContent> portalListener)
Deprecated. please use fetchContentInFolder(String) instead. |
byte[] |
fetchThumbnail()
Fetches the user's thumbnail. |
void |
fetchThumbnail(PortalListener<byte[]> portalListener)
Deprecated. please use fetchThumbnail() instead. |
static PortalUser |
fromJson(org.codehaus.jackson.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)
Deprecated. please use newInstance(Portal, String) instead. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
@Deprecated
public static void newInstance(Portal portal,
String username,
PortalListener<PortalUser> portalListener)
newInstance(Portal, String) instead.
portal - - portal for which the user is a memberusername - - username as in the portalportalListener - - callback listener that returns a portal
public static PortalUser newInstance(Portal portal,
String username)
throws Exception
portal - - portal for which the user is a memberusername - - username as in the portal
Exception - If unable to complete the request.@Deprecated public void fetchContent(PortalListener<PortalUserContent> portalListener)
fetchContent() instead.
portalListener - - in the callback the content published by the user is returned
@Deprecated
public void fetchContentInFolder(String folderId,
PortalListener<PortalUserContent> portalListener)
fetchContentInFolder(String) instead.
folderId - - id of the folder for which content must be fetchedportalListener - - in the callback the folder content published by the user is returned
public PortalUserContent fetchContent()
throws Exception
Exception - If unable to complete the request.
public PortalUserContent fetchContentInFolder(String folderId)
throws Exception
folderId - - id of the folder for which content must be fetched, or null if not sure.
Exception - If unable to complete the request.@Deprecated public void fetchThumbnail(PortalListener<byte[]> portalListener)
fetchThumbnail() instead.
portalListener - - the callback returns the thumbnail associated with the portal
public byte[] fetchThumbnail()
throws Exception
Exception - if unable to complet the request.
public static PortalUser fromJson(org.codehaus.jackson.JsonParser parser,
Portal portal)
throws Exception
parser - the parserportal - the portal
Exception - the exceptionpublic Portal getPortal()
public String getUsername()
public String getFullName()
public String getThumbnailFileName()
public String getEmail()
public List<String> getTags()
public long getCreated()
public long getModified()
public List<PortalGroup> getGroups()
public PortalAccess getAccess()
public PortalUserRole getRole()
public String getOrganizationId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||