Blue Mind
Release 1.0

net.bluemind.core.api
Class AccessToken

java.lang.Object
  extended by net.bluemind.core.api.AccessToken
All Implemented Interfaces:
java.io.Serializable, IStoppable

public class AccessToken
extends java.lang.Object
implements IStoppable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AccessToken()
           
AccessToken(int userId, int domainId, boolean domainGlobal, java.lang.String origin)
           
AccessToken(int userId, int domainId, java.lang.String origin)
           
 
Method Summary
 java.util.HashSet<java.lang.String> getAllowedRpc()
           
 java.lang.String getAuthService()
           
 java.util.List<CalendarInfo> getCalendarRights()
           
 java.lang.String getDelegationTarget()
           
 java.lang.String getDomain()
           
 int getDomainId()
           
 java.lang.String getEmail()
           
 java.lang.String getOrigin()
           
 java.lang.String getPushQueueName()
           
 java.lang.String getSessionId()
           
 java.lang.String getUser()
           
 int getUserId()
           
 VersionInfo getVersion()
           
 boolean isAllowedRpc(java.lang.String rpc)
           
 boolean isDomainGlobal()
           
 boolean isRootAccount()
           
 void setAllowedRpc(java.util.HashSet<java.lang.String> allowedRpcs)
           
 void setAuthService(java.lang.String authService)
           
 void setCalendarRights(java.util.List<CalendarInfo> calendarRights)
           
 void setDelegationTarget(java.lang.String delegationTarget)
           
 void setDomain(java.lang.String domain)
           
 void setDomainGlobal(boolean domainGlobal)
           
 void setDomainId(int domainId)
           
 void setEmail(java.lang.String email)
           
 void setOrigin(java.lang.String origin)
           
 void setPushQueueName(java.lang.String pushQueueName)
           
 void setRootAccount(boolean rootAccount)
           
 void setSessionId(java.lang.String sessionId)
           
 void setUser(java.lang.String user)
           
 void setUserId(int userId)
           
 void setVersion(VersionInfo version)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessToken

public AccessToken()

AccessToken

public AccessToken(int userId,
                   int domainId,
                   java.lang.String origin)

AccessToken

public AccessToken(int userId,
                   int domainId,
                   boolean domainGlobal,
                   java.lang.String origin)
Method Detail

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String user)

getSessionId

public java.lang.String getSessionId()

setSessionId

public void setSessionId(java.lang.String sessionId)

getDomain

public java.lang.String getDomain()

setDomain

public void setDomain(java.lang.String domain)

getUserId

public int getUserId()

getDomainId

public int getDomainId()

setUserId

public void setUserId(int userId)

setDomainId

public void setDomainId(int domainId)

getOrigin

public java.lang.String getOrigin()

setOrigin

public void setOrigin(java.lang.String origin)

stop

public void stop()
Specified by:
stop in interface IStoppable

getEmail

public java.lang.String getEmail()

setEmail

public void setEmail(java.lang.String email)

getCalendarRights

public java.util.List<CalendarInfo> getCalendarRights()

setCalendarRights

public void setCalendarRights(java.util.List<CalendarInfo> calendarRights)

setVersion

public void setVersion(VersionInfo version)

getVersion

public VersionInfo getVersion()

setRootAccount

public void setRootAccount(boolean rootAccount)

isRootAccount

public boolean isRootAccount()

setDelegationTarget

public void setDelegationTarget(java.lang.String delegationTarget)

getDelegationTarget

public java.lang.String getDelegationTarget()

isDomainGlobal

public boolean isDomainGlobal()

setDomainGlobal

public void setDomainGlobal(boolean domainGlobal)

setAllowedRpc

public void setAllowedRpc(java.util.HashSet<java.lang.String> allowedRpcs)

getAllowedRpc

public java.util.HashSet<java.lang.String> getAllowedRpc()

isAllowedRpc

public boolean isAllowedRpc(java.lang.String rpc)

getPushQueueName

public java.lang.String getPushQueueName()

setPushQueueName

public void setPushQueueName(java.lang.String pushQueueName)

getAuthService

public java.lang.String getAuthService()

setAuthService

public void setAuthService(java.lang.String authService)

Blue Mind
Release 1.0