Package org.silverpeas.core.wbe
Class WbeUser
- java.lang.Object
 - 
- org.silverpeas.core.wbe.WbeUser
 
 
- 
- Direct Known Subclasses:
 DefaultWbeUser
public abstract class WbeUser extends Object
Representation of a WbeUser. It associates finally a Silverpeas's user with a Web Browser Edition access token.An access token is created on instance creation.
- Author:
 - silveryocha
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UserasSilverpeas()Gets the Silverpeas's user.StringgetAccessToken()Gets the WBE access token linked to the Silverpeas's user.abstract StringgetId()Gets the WBE user identifier.OffsetDateTimegetLastEditionDate()Gets the date of last edition.StringgetSilverpeasSessionId()Gets identifier of the Silverpeas's session the WBE user is linked to.UsergetUser()voidsetLastEditionDateAtNow()Updates the last edition date with the current date and time.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getId
public abstract String getId()
Gets the WBE user identifier.- Returns:
 - an identifier as string.
 
 
- 
getLastEditionDate
public OffsetDateTime getLastEditionDate()
Gets the date of last edition.- Returns:
 - an 
OffsetDateTimeinstance. 
 
- 
getSilverpeasSessionId
public String getSilverpeasSessionId()
Gets identifier of the Silverpeas's session the WBE user is linked to.- Returns:
 - a Silverpeas's session identifier.
 
 
- 
getAccessToken
public String getAccessToken()
Gets the WBE access token linked to the Silverpeas's user.- Returns:
 - a string representing a WBE access token.
 
 
- 
setLastEditionDateAtNow
public void setLastEditionDateAtNow()
Updates the last edition date with the current date and time. 
- 
getUser
public User getUser()
 
 - 
 
 -