public abstract class OrgUIEntity
extends java.lang.Object
OrgUIEntity abstract class wraps various attributes about the organization and its
configuration for MicroStrategy Badge, including organization ID and organization name,
among others.| Modifier and Type | Class and Description |
|---|---|
static class |
OrgUIEntity.LocationTrackingConfig
The enumerations for
OrgUIEntity.LocationTrackingConfig. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASIC_COLOR_BLUE
Basic blue background color.
|
static java.lang.String |
BASIC_COLOR_GRAY
Basic gray background color.
|
static java.lang.String |
BASIC_COLOR_GREEN
Basic green background color.
|
static java.lang.String |
BASIC_COLOR_PURPLE
Basic purple background color.
|
static java.lang.String |
BASIC_COLOR_RED
Basic red background color.
|
static java.lang.String |
DEFAULT_BADGE_BACKGROUND_COLOR
Default badge background color.
|
static java.lang.String |
DEFAULT_BADGE_TEXT_COLOR
Default badge text color.
|
static int |
DEFAULT_TOTP_CODE_DURATION
Default duration in seconds a time-based one-time password (TOTP) will last before
expiring.
|
static int |
DEFAULT_USHER_CODE_OFFLINE_DURATION
Default duration in seconds a MicroStrategy Badge code will last before expiring when the
device is not connected to a network.
|
static int |
DEFAULT_USHER_CODE_ONLINE_DURATION
Default duration in seconds a MicroStrategy Badge code will last before expiring when the
device is connected to a network.
|
static int |
DEFAULT_USHER_CODE_VERSION
Default MicroStrategy Badge code version.
|
static int |
LEGACY_CONFIGURATION_SHOW_USHER_CODE
Legacy configuration for showing MicroStrategy Badge code.
|
static int |
NEW_USHER_CODE_VERSION
New MicroStrategy Badge code version.
|
static int |
ONLINE_CONFIGURATION_SHOW_NEITHER_USHER_CODE_OR_TOTP_CODE
Server configuration for not showing either MicroStrategy Badge code of time-based one-time
password (TOTP).
|
static int |
ONLINE_CONFIGURATION_SHOW_TOTP_CODE
Server configuration for showing the time-based one-time password (TOTP).
|
static int |
ONLINE_CONFIGURATION_SHOW_USHER_CODE
Server configuration for showing the MicroStrategy Badge code.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
backgroundColor()
Returns a String of the background color of badges.
|
abstract java.lang.String |
backgroundImageUrl()
Returns a String of the URL of the background image.
|
abstract java.lang.String |
backgroundImageUrlCheckSum()
Returns a String of the checksum of the URL of the background image.
|
abstract java.lang.String |
badgeName()
Returns a String of the name of the badge.
|
abstract int |
codeDisplayType()
Returns an int of the type of code a badge should display.
|
abstract boolean |
fingerprintEnabled()
Returns a boolean that represents whether or not fingerprint authentication is required.
|
abstract OrgUIEntity.LocationTrackingConfig |
locationTrackingConfig()
Returns a
OrgUIEntity.LocationTrackingConfig that represents the requirement for location
reporting. |
abstract java.lang.String |
orgIconCheckSum()
Returns a String of the checksum of the organization icon.
|
abstract java.lang.String |
orgIconUrl()
Returns a String of the URL of the organization icon.
|
abstract int |
orgId()
Returns an int of the identification number of the organization.
|
abstract java.lang.String |
orgName()
Returns a String of the name of the organization.
|
abstract boolean |
passcodeEnabled()
Returns a boolean that represents whether or not a passcode is required.
|
abstract java.lang.String |
privacyPolicyLink()
Returns a String of the address of the privacy policy.
|
abstract boolean |
reportScannedData()
Returns a boolean that represents whether or not scanned data should be reported to the
server.
|
abstract boolean |
showGradient()
Returns a boolean that represents whether or not a gradient should be shown on the background
color of the badge.
|
abstract boolean |
showPrivacyLink()
Returns a boolean that represents whether or not the link to the privacy policy should be
shown.
|
abstract boolean |
showTermOfUseLink()
Returns a boolean that represents whether or not the link to the terms of use should be
shown.
|
abstract java.lang.String |
termOfUseLink()
Returns a String of the address of the terms of use.
|
abstract java.lang.String |
textColor()
Returns a String of the text color of badges.
|
java.lang.String |
toString()
Returns a String of the organization ID and the name of the organization.
|
abstract int |
totpCodeDuration()
Returns an int of the duration in seconds a time-based one-time password (TOTP) will
last before expiring.
|
abstract int |
usherCodeOfflineDuration()
Returns an int of the duration in seconds a MicroStrategy Badge code will last before
expiring when the device is not connected to a network.
|
abstract int |
usherCodeOnlineDuration()
Returns an int of the duration in seconds a MicroStrategy Badge code will last before
expiring when the device is connected to a network.
|
abstract int |
usherCodeVersion()
Returns an int of the MicroStrategy Badge code version for badges.
|
abstract OrgUIEntity |
withOrgName(java.lang.String orgName)
Constructor for an
OrgUIEntity object with the orgName set. |
public static final int LEGACY_CONFIGURATION_SHOW_USHER_CODE
public static final int ONLINE_CONFIGURATION_SHOW_NEITHER_USHER_CODE_OR_TOTP_CODE
public static final int ONLINE_CONFIGURATION_SHOW_TOTP_CODE
public static final int ONLINE_CONFIGURATION_SHOW_USHER_CODE
public static final java.lang.String BASIC_COLOR_BLUE
public static final java.lang.String BASIC_COLOR_RED
public static final java.lang.String BASIC_COLOR_GREEN
public static final java.lang.String BASIC_COLOR_GRAY
public static final java.lang.String BASIC_COLOR_PURPLE
public static final java.lang.String DEFAULT_BADGE_TEXT_COLOR
public static final java.lang.String DEFAULT_BADGE_BACKGROUND_COLOR
public static final int DEFAULT_USHER_CODE_ONLINE_DURATION
public static final int DEFAULT_USHER_CODE_OFFLINE_DURATION
public static final int DEFAULT_TOTP_CODE_DURATION
public static final int DEFAULT_USHER_CODE_VERSION
public static final int NEW_USHER_CODE_VERSION
public abstract int orgId()
public abstract boolean showGradient()
true if the gradient should be shown on the background of the badge;
false otherwise.public abstract boolean reportScannedData()
true if scanned data should be reported to the server;
false otherwise.public abstract boolean passcodeEnabled()
true if a passcode is required;
false otherwise.public abstract boolean showPrivacyLink()
true if the link to the privacy policy should be shown;
false otherwise.public abstract boolean showTermOfUseLink()
true if the link to the terms of use should be shown;
false otherwise.public abstract boolean fingerprintEnabled()
true if fingerprint authentication is required;
false otherwise.public abstract OrgUIEntity.LocationTrackingConfig locationTrackingConfig()
OrgUIEntity.LocationTrackingConfig that represents the requirement for location
reporting.NONEWHILE_IN_USEALWAYSpublic abstract int usherCodeOnlineDuration()
DEFAULT_USHER_CODE_ONLINE_DURATION =
60public abstract int usherCodeOfflineDuration()
DEFAULT_USHER_CODE_OFFLINE_DURATION =
60public abstract int codeDisplayType()
public abstract int totpCodeDuration()
DEFAULT_TOTP_CODE_DURATION = 60public abstract int usherCodeVersion()
@Nullable public abstract java.lang.String orgName()
null.@Nullable public abstract java.lang.String orgIconUrl()
null.@Nullable public abstract java.lang.String orgIconCheckSum()
null.@Nullable public abstract java.lang.String badgeName()
null.@Nullable public abstract java.lang.String textColor()
null.DEFAULT_BADGE_TEXT_COLOR = "#FFFFFF"@Nullable public abstract java.lang.String backgroundImageUrl()
null.@Nullable public abstract java.lang.String backgroundImageUrlCheckSum()
null.@Nullable public abstract java.lang.String backgroundColor()
null.DEFAULT_BADGE_BACKGROUND_COLOR = "#2E9ED2"@Nullable public abstract java.lang.String privacyPolicyLink()
null.@Nullable public abstract java.lang.String termOfUseLink()
null.public abstract OrgUIEntity withOrgName(java.lang.String orgName)
OrgUIEntity object with the orgName set.orgName - the name of the organizationOrgUIEntity object with the orgName set.public java.lang.String toString()
toString in class java.lang.Object