public interface ScopeContext
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets the state context's state.
|
java.lang.String |
getAccessToken() |
java.lang.String |
getApplicationName() |
java.lang.String |
getBundleSymbolicName() |
java.lang.Long |
getCompanyId() |
void |
setAccessToken(java.lang.String accessToken)
Inserts the access token string into the context.
|
void |
setApplicationName(java.lang.String applicationName)
Inserts the application name into the context.
|
void |
setBundle(org.osgi.framework.Bundle bundle)
Inserts the OSGi bundle into the context.
|
void |
setCompanyId(long companyId)
Inserts the portal instance's ID into the context.
|
void clear()
java.lang.String getAccessToken()
java.lang.String getApplicationName()
java.lang.String getBundleSymbolicName()
java.lang.Long getCompanyId()
void setAccessToken(java.lang.String accessToken)
accessToken
- the access tokenvoid setApplicationName(java.lang.String applicationName)
applicationName
- the application namevoid setBundle(org.osgi.framework.Bundle bundle)
bundle
- the OSGi bundlevoid setCompanyId(long companyId)
companyId
- the portal instance's ID