|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.BasicPrivateLabel
public class BasicPrivateLabel
Constructor Summary | |
---|---|
protected |
BasicPrivateLabel()
Constructor |
|
BasicPrivateLabel(java.lang.String host)
Constructor |
Method Summary | |
---|---|
void |
addAclMap(AclEntry.AccessLevel dftAccess,
java.util.Map<java.lang.String,AclEntry> aclMap)
Sets the user Access-Control for this BasicPrivateLabel |
void |
addGeocodeProvider(GeocodeProvider gp,
boolean active)
Sets the GeocodeProvider for this BasicPrivateLabel |
void |
addHostAlias(java.lang.String host,
java.lang.String desc)
Adds a host alias to this BasicPrivateLabel |
void |
addMobileLocationProvider(org.opengts.cellid.MobileLocationProvider mp)
Sets the MobileLocationProvider for this BasicPrivateLabel |
void |
addReverseGeocodeProvider(ReverseGeocodeProvider rgp,
boolean active)
Sets the ReverseGeocodeProvider for this BasicPrivateLabel |
void |
addStatusCode(StatusCodes.Code code)
Adds a customized status code description override |
void |
clearTimeZones()
Clears TimeZone cache |
AclEntry.AccessLevel |
getAccessLevel(Role role,
java.lang.String aclName)
Returns the AccessLevel for the specified ACL key |
AclEntry.AccessLevel |
getAccessLevel(User user,
java.lang.String aclName)
Returns true is user has 'ALL' access rights for the specified ACL key |
boolean |
getAccountLogin()
Gets the account login display state |
AclEntry |
getAclEntry(java.lang.String aclName)
Returns the AclEntry for the specified key |
AclEntry[] |
getAllAclEntries()
Returns all defined AclEntries |
boolean |
getAllowEmailLogin()
Gets the Enabled/Disabled contact-email login state |
static java.lang.String[] |
getAllTimeZones()
Returns an array of all possible TimeZone names |
boolean |
getBooleanProperty(java.lang.String key,
boolean dft)
Gets the boolean property value for the specified key |
java.lang.String |
getCopyright()
Gets the copyright notice for this BasicPrivateLabel |
java.util.Map<java.lang.Integer,StatusCodes.Code> |
getCustomStatusCodeMap()
Returns a Map of custom status codes |
java.lang.String |
getDateFormat()
Gets the date format for this BasicPrivateLabel |
DateTime.DateStringFormat |
getDateStringFormat()
Gets the DateStringFormat enumerated type |
DateTime.DateStringFormat |
getDateStringFormat(java.lang.String dateFormat)
Gets the DateStringFormat enumerated type |
java.lang.String |
getDateStringFormatText(java.util.Locale locale)
Gets the DateStringFormat enumerated type |
AclEntry.AccessLevel |
getDefaultAccessLevel()
Gets the global default access-control level for this BasicPrivateLabel |
AclEntry.AccessLevel |
getDefaultAccessLevel(java.lang.String aclName)
Gets the default access-control level for this BasicPrivateLabel |
java.lang.String |
getDefaultBaseURL()
Gets the default BaseURL (or null if no base URL is defined) |
static java.lang.String |
getDefaultDateFormat()
Gets the default date format |
java.lang.String |
getDefaultLoginAccount()
Gets the default login account name |
java.lang.String |
getDefaultLoginUser()
Gets the default login user name |
static java.lang.String |
getDefaultTimeFormat()
Gets the default time format |
java.lang.String |
getDomainName()
Gets the host alias name |
double |
getDoubleProperty(java.lang.String key,
double dft)
Gets the double property value for the specified key |
java.lang.String |
getEMailAddress(java.lang.String type)
Gets the 'From' EMail address for the specified type |
java.lang.String[] |
getEMailAddresses()
Returns an array of all defined EMail addresses (used by CHeckInstall) |
boolean |
getEnableDemo()
Returns true if this BasicPrivateLabel supports a 'demo' mode |
java.lang.String |
getEventNotificationBody()
Gets the EMail notification message 'Body' |
boolean |
getEventNotificationDefault()
Returns true if the email notification subject/body is to be used as the default entry for new created Rule definitions. |
java.lang.String |
getEventNotificationFrom()
Gets the EMail notification 'From' address |
java.lang.String |
getEventNotificationSubject()
Gets the EMail notification 'Subject' |
GeocodeProvider |
getGeocodeProvider()
Returns the active GeocodeProvider for this BasicPrivatelabel |
GeocodeProvider |
getGeocodeProvider(java.lang.String name)
Returns the named GeocodeProvider for this BasicPrivatelabel |
java.util.List<java.lang.String> |
getHostAliasNames()
Gets the list of host name aliases |
java.lang.String |
getHostName()
Gets the primary host name associated with this BasicPrivateLabel |
I18N |
getI18N(java.lang.Class clazz)
Gets the I18N instance for the specified class using the Locale associated with this BasicPrivateLabel |
I18N |
getI18N(java.lang.Package pkg)
Gets the I18N instance for the specified package using the Locale associated with this BasicPrivateLabel |
java.lang.String |
getI18NTextString(java.lang.String key,
java.lang.String dft)
Gets the Localized text for the specified String key |
int |
getIntProperty(java.lang.String key,
int dft)
Gets the int property value for the specified key |
java.util.Locale |
getLocale()
Gets the Locale for the current locale String code |
java.lang.String |
getLocaleString()
Gets the locale String code for this BasicPrivateLabel |
long |
getLongProperty(java.lang.String key,
long dft)
Gets the long property value for the specified key |
AclEntry.AccessLevel |
getMaximumAccessLevel(java.lang.String aclName)
Gets the maximum access-control level for this BasicPrivateLabel |
org.opengts.cellid.MobileLocationProvider |
getMobileLocationProvider()
Returns the active MobileLocationProvider for this BasicPrivatelabel |
org.opengts.cellid.MobileLocationProvider |
getMobileLocationProvider(java.lang.String name)
Returns the named MobileLocationProvider for this BasicPrivatelabel |
java.lang.String |
getName()
Gets the name of this BasicPrivateLabel. |
java.lang.String |
getPageTitle()
Gets the HTML page title for this BasicPrivateLabel |
PasswordHandler |
getPasswordHandler()
Gets the PasswordHandler for this Domain |
java.util.List<PoiProvider> |
getPointsOfInterest()
Gets the global PointsOfInterest (overridden) |
PredefinedRuleAction[] |
getPredefinedRuleActions()
Gets the list of PredefinedRuleActions |
java.lang.Object |
getProperty(java.lang.String key)
Gets the property value for the specified key |
java.util.Collection<java.lang.String> |
getPropertyKeys(java.lang.String keyPrefix)
Gets the property keys matching the specified key prefix |
int |
getPushpinIconIndex(java.lang.String pushpinID,
int dftIndex)
Return the MapProvider's Pushpin index for the specified pushpin ID |
int |
getPushpinIconIndex(java.lang.String mapProviderID,
java.lang.String pushpinID,
int dftIndex)
Return the MapProvider's Pushpin index for the specified pushpin ID |
ReverseGeocodeProvider |
getReverseGeocodeProvider()
Returns the active ReverseGeocodeProvider for this BasicPrivatelabel |
ReverseGeocodeProvider |
getReverseGeocodeProvider(java.lang.String name)
Returns the named ReverseGeocodeProvider for this BasicPrivatelabel |
RTProperties |
getRTProperties()
Gets the properties of this BasicPrivateLabel |
boolean |
getShowPassword()
Returns true if the password field is to be made visible |
SendMail.SmtpProperties |
getSmtpProperties()
Get SMTP server properties |
StatusCodes.Code |
getStatusCode(int code)
Return specific code (from statusCode) |
StatusCodes.Code |
getStatusCode(java.lang.Integer code)
Return specific code (from statusCode) |
OrderedMap<java.lang.Integer,java.lang.String> |
getStatusCodeDescriptionMap()
Returns a Map of StatusCodes to their desriptions |
OrderedSet<java.lang.Integer> |
getStatusCodeList()
Returns a Set of StatusCodes |
boolean |
getStatusCodeOnly()
Gets the exclusive status codes state |
java.lang.String |
getStringProperty(java.lang.String key,
java.lang.String dft)
Gets the String property value for the specified key |
static java.util.Map<java.lang.String,java.lang.String> |
GetSupportedLocaleMap(java.util.Locale locale)
Gets a map of supported locales |
java.lang.String |
getSystemAccountsLoginPasscode(java.lang.String acctID)
Gets the SystemAccountsLogin passcode |
long |
getSystemAccountsLoginReturnTimeout(java.lang.String acctID)
Gets the SystemAccountsLogin timeout (in seconds) |
java.lang.String |
getTimeFormat()
Gets the time format for this BasicPrivateLabel |
java.lang.String[] |
getTimeZones()
Gets an array of supported TimeZones |
java.lang.String[] |
getTimeZonesArray()
Gets the list of supported TimeZones |
java.util.List<java.lang.String> |
getTimeZonesList()
Gets the list of supported TimeZones |
boolean |
getUserLogin()
Gets the user login display state |
boolean |
globalEditAfterNew()
Returns true if all IDs should be validated for proper characters |
boolean |
globalValidateIDs()
Returns true if all IDs should be validated for proper characters |
boolean |
hasAclEntry(java.lang.String aclName)
Returns true if the AclEntry key is defined |
boolean |
hasAllAccess(User user,
java.lang.String aclName)
Returns true is user has 'ALL' access rights for the specified ACL key |
boolean |
hasDefaultBaseURL()
Returns true if a base URL has been defined |
boolean |
hasEventNotificationEMail()
Return true if the notification subject and/or message is defined |
boolean |
hasProperty(java.lang.String key)
Returns true if the property key is defined by thie BasicPrivateLabel |
boolean |
hasReadAccess(User user,
java.lang.String aclName)
Returns true is user has 'READ' access rights for the specified ACL key |
static boolean |
HasSupportedLocalesMap()
Returns true if a set of supported Locales is defined |
boolean |
hasWriteAccess(User user,
java.lang.String aclName)
Returns true is user has 'WRITE' access rights for the specified ACL key |
boolean |
isDateFormatDMY()
Return true if date format is DMY, false otherwise |
boolean |
isDateFormatMDY()
Return true if date format is MDY, false otherwise |
boolean |
isDateFormatYMD()
Return true if date format is YMD, false otherwise |
boolean |
isRestricted()
Returns true this is BasicPrivateLabel has restricted access |
boolean |
isSystemAccountsLoginEnabled(java.lang.String acctID)
Returns true if SystemAccountsLogin is enabled |
boolean |
isSystemAccountsLoginReturnEnabled(java.lang.String acctID)
Returns true if SystemAccountsLogin Return is enabled |
static boolean |
isTrackServlet()
|
void |
popRTProperties()
Pops the properties of this BasicPrivateLabel from the temporary RTConfig properties stack |
void |
postInitialization()
Callback after load initialization |
void |
printProperties()
Prints the current properties to stdout |
void |
printProperties(java.lang.String msg)
Prints the current properties to stdout |
void |
pushRTProperties()
Pushes the properties of this BasicPrivateLabel on the temporary RTConfig properties stack |
AclEntry |
removeAclEntry(java.lang.String aclName)
Removes the AclEntry for the specified key |
void |
setAccountLogin(boolean acctLogin)
Sets the account login display state |
void |
setAllowEmailLogin(boolean emailLogin)
Sets the Enabled/Disabled contact-email login state |
void |
setCopyright(java.lang.String copyright)
Sets the copyright notice for this BasicPrivateLabel |
void |
setDateFormat(java.lang.String dateFmt)
Sets the date format for the current BasicPrivateLabel |
void |
setDefaultBaseURL(java.lang.String baseURL)
Sets the default BaseURL (ie. |
void |
setDefaultLoginAccount(java.lang.String defaultAccount)
Sets the default login account name |
void |
setDefaultLoginUser(java.lang.String defaultUser)
Sets the default login user name |
void |
setDomainName(java.lang.String name)
Sets the host alias name |
void |
setEMailAddress(java.lang.String type,
java.lang.String emailAddr)
Sets the default EMail 'From' addresses |
void |
setEnableDemo(boolean isDemo)
Sets the 'demo' mode for this BasicPrivateLabel |
void |
setEventNotificationEMail(java.lang.String emailFrom,
I18N.Text emailSubj,
I18N.Text emailBody,
boolean useAsDefault)
Sets the event notification Email attributes |
void |
setHostName(java.lang.String host)
Sets the primary host name associated with this BasicPrivateLabel |
void |
setI18NTextProperty(java.lang.String key,
I18N.Text value)
Sets the property I18N value for the specified key |
void |
setLocaleString(java.lang.String localeStr)
Sets the locale String code for this BasicPrivateLabel |
void |
setPageTitle(I18N.Text text)
Sets the title used on HTML pages displayed for this BasicPrivateLabel |
void |
setPageTitle(java.lang.String text)
Sets the title used on HTML pages displayed for this BasicPrivateLabel |
void |
setPasswordHandler(PasswordHandler pwh)
Sets the PasswordHandler for this Domain |
void |
setPredefinedRulesActions(PredefinedRuleAction[] predefRuleAct)
Sets the list of PredefinedRuleActions |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
Sets the property value for the specified key |
void |
setRestricted(boolean restricted)
Sets the 'restricted mode' for this BasicPrivateLabel. |
void |
setRTProperties(RTProperties rtp)
Sets (appends) the the specified properties to this BasicPrivateLabel |
void |
setShowPassword(boolean showPass)
Sets whether to show the password, or not |
void |
setSmtpProperties(SendMail.SmtpProperties smtpProps)
Set SMTP server properties |
void |
setStatusCodeOnly(boolean only)
Sets the exclusive status codes state |
void |
setStringProperty(java.lang.String key,
java.lang.String value)
Sets the property String value for the specified key |
static void |
SetSupportedLocalesMap(OrderedMap<java.lang.String,I18N.Text> localeMap)
Sets the supported Locales |
void |
setTimeFormat(java.lang.String timeFmt)
Sets the time format for this BasicPrivateLabel |
void |
setTimeZones(java.util.List<java.lang.String> tmz)
Sets the TimeZones supported by this BasicPrivateLabel |
void |
setTimeZones(OrderedSet<java.lang.String> tmz)
Sets the TimeZones supported by this BasicPrivateLabel |
void |
setTimeZones(java.lang.String[] tmz)
Sets the TimeZones supported by this BasicPrivateLabel |
static void |
setTrackServlet_loaderOnly()
|
void |
setUserLogin(boolean userLogin)
Sets the user login display state |
java.lang.String |
toString()
Return String representation of this instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EMAIL_TYPE_DEFAULT
public static final java.lang.String EMAIL_TYPE_PASSWORD
public static final java.lang.String EMAIL_TYPE_ACCOUNTS
public static final java.lang.String EMAIL_TYPE_SUPPORT
public static final java.lang.String EMAIL_TYPE_NOTIFY
public static final java.lang.String EMAIL_TYPE_COMMAND
public static final java.lang.String TIMEZONE_CONF
public static final java.lang.String ALL_HOSTS
public static final java.lang.String DEFAULT_HOST
public static final java.lang.String LAF_PageTitle
public static final java.lang.String LAF_Copyright
public static final java.lang.String LAF_JSPEntry_
public static final java.lang.String LAF_JSPEntry_Default
public static final java.lang.String LAF_Banner_Width
public static final java.lang.String LAF_Banner_Style
public static final java.lang.String LAF_Banner_ImageSource
public static final java.lang.String LAF_Banner_ImageWidth
public static final java.lang.String LAF_Banner_ImageHeight
public static final java.lang.String LAF_Banner_AnchorLink
public static final java.lang.String LAF_Background_Color
public static final java.lang.String LAF_Background_Image
public static final java.lang.String LAF_Background_Position
public static final java.lang.String LAF_Background_Repeat
public static final java.lang.String LAF_ContentCell_Color
public static final java.lang.String LAF_IconMenu_GroupTitle_Color
public static final java.lang.String PROP_Track_ValidateIDs
public static final java.lang.String PROP_Track_editAfterNew
public static final java.lang.String PROP_Track_enableAuthenticationService
public static final java.lang.String PROP_Track_forwardToSecureAccess
public static final java.lang.String PROP_Track_firstLoginPageID
public static final java.lang.String PROP_NewAccount_authCodeMask
public static final java.lang.String PROP_AccountLogin_showLoginLink
public static final java.lang.String PROP_AccountLogin_showLocaleSelection
public static final java.lang.String PROP_AccountLogin_legacyLAF
public static final java.lang.String PROP_MenuBar_openOnMouseOver
public static final java.lang.String PROP_MenuBar_usePullDownMenus
public static final java.lang.String PROP_MenuBar_includeTextAnchor
public static final java.lang.String PROP_TopMenu_menuType
public static final java.lang.String PROP_TopMenu_showHeader
public static final java.lang.String PROP_TopMenu_maximumIconsPerRow
public static final java.lang.String PROP_TopMenu_showMenuDescription
public static final java.lang.String PROP_TopMenu_showMenuHelp
public static final java.lang.String PROP_DriverInfo_showDeviceID
public static final java.lang.String PROP_DriverInfo_showDateCalendar
public static final java.lang.String PROP_DeviceInfo_allowNewDevice
public static final java.lang.String PROP_DeviceInfo_allowDeleteDevice
public static final java.lang.String PROP_DeviceInfo_allowEditServerID
public static final java.lang.String PROP_DeviceInfo_allowEditFirmwareVersion
public static final java.lang.String PROP_DeviceInfo_showDateCalendar
public static final java.lang.String PROP_DeviceInfo_showNotificationFields
public static final java.lang.String PROP_DeviceInfo_showPropertiesButton
public static final java.lang.String PROP_DeviceInfo_showSmsButton
public static final java.lang.String PROP_DeviceInfo_showNotes
public static final java.lang.String PROP_DeviceInfo_showFixedLocation
public static final java.lang.String PROP_DeviceInfo_showExpectedAcks
public static final java.lang.String PROP_DeviceInfo_showReportedOdometer
public static final java.lang.String PROP_DeviceInfo_showReportedEngineHours
public static final java.lang.String PROP_DeviceInfo_showMaintenanceOdometer
public static final java.lang.String PROP_DeviceInfo_showMaintenanceHours
public static final java.lang.String PROP_DeviceInfo_showMaintenanceNotes
public static final java.lang.String PROP_DeviceInfo_showReminderMessage
public static final java.lang.String PROP_DeviceInfo_showServiceTime
public static final java.lang.String PROP_DeviceInfo_showIgnitionIndex
public static final java.lang.String PROP_DeviceInfo_maximumIgnitionIndex
public static final java.lang.String PROP_DeviceInfo_showInputState_
public static final java.lang.String PROP_DeviceInfo_showOutputState_
public static final java.lang.String PROP_DeviceInfo_showCommandState_
public static final java.lang.String PROP_DeviceInfo_showPushpinID
public static final java.lang.String PROP_DeviceInfo_showPushpinChooser
public static final java.lang.String PROP_DeviceInfo_showDisplayColor
public static final java.lang.String PROP_DeviceInfo_showDataKey
public static final java.lang.String PROP_DeviceInfo_optimizeUpdateDevice
public static final java.lang.String PROP_DeviceInfo_showDcsPropertiesID
public static final java.lang.String PROP_DeviceInfo_showDcsConfigString
public static final java.lang.String PROP_DeviceInfo_showPreferredGroupID
public static final java.lang.String PROP_DeviceInfo_showAssignedUserID
public static final java.lang.String PROP_DeviceInfo_showHoursOfOperation
public static final java.lang.String PROP_DeviceInfo_showFaultCodes
public static final java.lang.String PROP_DeviceInfo_showFuelCapacity
public static final java.lang.String PROP_DeviceInfo_showFuelLevelProfile
public static final java.lang.String PROP_DeviceInfo_SMS_useDeviceSMSCommands
public static final java.lang.String PROP_DeviceInfo_uniqueSimPhoneNumber
public static final java.lang.String PROP_DeviceInfo_custom_
public static final java.lang.String PROP_GroupInfo_showPropertiesButton
public static final java.lang.String PROP_GroupInfo_deviceListSortBy
public static final java.lang.String PROP_TrackMap_calendarAction
public static final java.lang.String PROP_TrackMap_calendarDateOnLoad
public static final java.lang.String PROP_TrackMap_showTimezoneSelection
public static final java.lang.String PROP_TrackMap_mapUpdateOnLoad
public static final java.lang.String PROP_TrackMap_autoUpdateRecenter
public static final java.lang.String PROP_TrackMap_showUpdateAll
public static final java.lang.String PROP_TrackMap_showUpdateLast
public static final java.lang.String PROP_TrackMap_showPushpinReplay
public static final java.lang.String PROP_TrackMap_showLocationDetails
public static final java.lang.String PROP_TrackMap_detailAscending
public static final java.lang.String PROP_TrackMap_detailCenterPushpin
public static final java.lang.String PROP_TrackMap_includeStatusCodeColor
public static final java.lang.String PROP_TrackMap_useRouteDisplayColor
public static final java.lang.String PROP_TrackMap_sortableLocationDetails
public static final java.lang.String PROP_TrackMap_limitType
public static final java.lang.String PROP_TrackMap_fleetDeviceEventCount
public static final java.lang.String PROP_TrackMap_showFleetMapDevicePushpin
public static final java.lang.String PROP_TrackMap_showCursorLocation
public static final java.lang.String PROP_TrackMap_showDistanceRuler
public static final java.lang.String PROP_TrackMap_showLocateNow
public static final java.lang.String PROP_TrackMap_showDeviceLink
public static final java.lang.String PROP_TrackMap_showLegend
public static final java.lang.String PROP_TrackMap_pageLinks
public static final java.lang.String PROP_TrackMap_showGoogleKML
public static final java.lang.String PROP_TrackMap_mapControlLocation
public static final java.lang.String PROP_TrackMap_mapControlCollapsible
public static final java.lang.String PROP_TrackMap_mapControlCollapseOnLoad
public static final java.lang.String PROP_TrackMap_enableGeocode
public static final java.lang.String PROP_TrackMap_enableGeocode_country
public static final java.lang.String PROP_TrackMap_showBatteryLevel
public static final java.lang.String PROP_TrackMap_showAllContainedGeozones
public static final java.lang.String PROP_TrackMap_showNearbyGeozones
public static final java.lang.String PROP_TrackMap_lastDevicePushpin_device
public static final java.lang.String PROP_TrackMap_lastDevicePushpin_fleet
public static final java.lang.String PROP_FullMap_calendarAction
public static final java.lang.String PROP_FullMap_calendarDateOnLoad
public static final java.lang.String PROP_FullMap_showTimezoneSelection
public static final java.lang.String PROP_FullMap_mapUpdateOnLoad
public static final java.lang.String PROP_FullMap_autoUpdateRecenter
public static final java.lang.String PROP_FullMap_showUpdateAll
public static final java.lang.String PROP_FullMap_showUpdateLast
public static final java.lang.String PROP_FullMap_showPushpinReplay
public static final java.lang.String PROP_FullMap_detailAscending
public static final java.lang.String PROP_FullMap_detailCenterPushpin
public static final java.lang.String PROP_FullMap_useRouteDisplayColor
public static final java.lang.String PROP_FullMap_limitType
public static final java.lang.String PROP_FullMap_fleetDeviceEventCount
public static final java.lang.String PROP_FullMap_showFleetMapDevicePushpin
public static final java.lang.String PROP_FullMap_showCursorLocation
public static final java.lang.String PROP_FullMap_showDistanceRuler
public static final java.lang.String PROP_FullMap_showLocateNow
public static final java.lang.String PROP_FullMap_showDeviceLink
public static final java.lang.String PROP_FullMap_showLegend
public static final java.lang.String PROP_FullMap_pageLinks
public static final java.lang.String PROP_FullMap_showGoogleKML
public static final java.lang.String PROP_FullMap_mapControlLocation
public static final java.lang.String PROP_FullMap_mapControlCollapsible
public static final java.lang.String PROP_FullMap_enableGeocode
public static final java.lang.String PROP_FullMap_enableGeocode_country
public static final java.lang.String PROP_FullMap_showBatteryLevel
public static final java.lang.String PROP_FullMap_showAllContainedGeozones
public static final java.lang.String PROP_FullMap_lastDevicePushpin_device
public static final java.lang.String PROP_FullMap_lastDevicePushpin_fleet
public static final java.lang.String PROP_ReportMenu_useMapDates
public static final java.lang.String PROP_ReportMenu_showTimezoneSelection
public static final java.lang.String PROP_ReportMenu_enableReportEmail
public static final java.lang.String PROP_ReportMenu_enableReportSchedule
public static final java.lang.String PROP_ReportMenu_customFormatURL
public static final java.lang.String PROP_ReportDisplay_showGoogleKML
public static final java.lang.String PROP_UserInfo_allowDuplicateContactEmail
public static final java.lang.String PROP_UserInfo_showAccessControlList
public static final java.lang.String PROP_UserInfo_showPreferredDeviceID
public static final java.lang.String PROP_UserInfo_showAddressFields
public static final java.lang.String PROP_UserInfo_showOfficeLocation
public static final java.lang.String PROP_UserInfo_showPassword
public static final java.lang.String PROP_UserInfo_authorizedGroupCount
public static final java.lang.String PROP_UserInfo_showNotes
public static final java.lang.String PROP_UserInfo_custom_
public static final java.lang.String PROP_ZoneInfo_mapControlLocation
public static final java.lang.String PROP_ZoneInfo_enableGeocode
public static final java.lang.String PROP_ZoneInfo_enableGeocode_country
public static final java.lang.String PROP_ZoneInfo_showOverlapPriority
public static final java.lang.String PROP_ZoneInfo_showReverseGeocodeZone
public static final java.lang.String PROP_ZoneInfo_showArriveDepartZone
public static final java.lang.String PROP_ZoneInfo_showArriveDepartCode
public static final java.lang.String PROP_ZoneInfo_showAssignedDeviceGroup
public static final java.lang.String PROP_ZoneInfo_showAutoNotify
public static final java.lang.String PROP_ZoneInfo_showClientUploadZone
public static final java.lang.String PROP_ZoneInfo_showShapeColor
public static final java.lang.String PROP_ZoneInfo_showPushpins
public static final java.lang.String PROP_ZoneInfo_showSpeedLimit
public static final java.lang.String PROP_ZoneInfo_showCorridorID
public static final java.lang.String PROP_ZoneInfo_showPurposeID
public static final java.lang.String PROP_ZoneInfo_zonePurposeList
public static final java.lang.String PROP_ZoneInfo_maximumDisplayedVertices
public static final java.lang.String PROP_CorridorInfo_mapControlLocation
public static final java.lang.String PROP_CorridorInfo_showShapeColor
public static final java.lang.String PROP_CorridorInfo_enableGeocode
public static final java.lang.String PROP_CorridorInfo_enableGeocode_country
public static final java.lang.String PROP_CorridorInfo_pointCount
public static final java.lang.String PROP_RuleInfo_showEMailWrapper
public static final java.lang.String PROP_RuleInfo_showSysRulesOnly
public static final java.lang.String PROP_RuleInfo_showSysRules
public static final java.lang.String PROP_RuleInfo_showCronRules
public static final java.lang.String PROP_RuleInfo_ruleTagList
public static final java.lang.String PROP_RuleInfo_showTriggerActions
public static final java.lang.String PROP_RuleInfo_showPredefinedActions
public static final java.lang.String PROP_DeviceChooser_sortBy
public static final java.lang.String PROP_DeviceChooser_useTable
public static final java.lang.String PROP_DeviceChooser_idPosition
public static final java.lang.String PROP_DeviceChooser_search
public static final java.lang.String PROP_DeviceChooser_matchContains
public static final java.lang.String PROP_DeviceChooser_singleItemTextField
public static final java.lang.String PROP_DeviceChooser_includeListHtml
public static final java.lang.String PROP_DeviceChooser_extraDebugEntries
public static final java.lang.String PROP_WorkZoneInfo_mapControlLocation
public static final java.lang.String PROP_StatusCodeInfo_showIconSelector
public static final java.lang.String PROP_StatusCodeInfo_showPushpinChooser
public static final java.lang.String PROP_DeviceAlerts_refreshInterval
public static final java.lang.String PROP_DeviceAlerts_mapPageName
public static final java.lang.String PROP_DeviceAlerts_showAllDevices
public static final java.lang.String PROP_DeviceAlerts_maxActiveAlertAge
public static final java.lang.String PROP_EntityAdmin_entityType
public static final java.lang.String PROP_SysAdminAccounts_allowDeleteAccount
public static final java.lang.String PROP_SysAdminAccounts_showPasswords
public static final java.lang.String PROP_SysAdminAccounts_accountProperties
public static final java.lang.String PROP_SysAdminAccounts_showAccountManager
public static final java.lang.String PROP_SysAdminAccounts_showRetainEvents
public static final java.lang.String PROP_SysAdminAccounts_showAllowWebService
public static final java.lang.String PROP_SysAdminAccounts_showAutoAddDevices
public static final java.lang.String PROP_SysAdminAccounts_showDataPushURL
public static final java.lang.String PROP_SysAdminAccounts_showNotes
public static final java.lang.String PROP_SysAccountsLogin_enableLogin
public static final java.lang.String PROP_SysAccountsLogin_passcode
public static final java.lang.String PROP_SysAccountsLogin_enableReturn
public static final java.lang.String PROP_SysAccountsLogin_enableReturn_timeout
public static final java.lang.String PROP_SysAdminInfo_showEventCount
public static final java.lang.String PROP_SysAdminInfo_showEventsPerSecond
public static final java.lang.String PROP_Calendar_firstDayOfWeek
public static final java.lang.String PROP_Calendar_timeTextField
public static final java.lang.String PROP_Banner_width
public static final java.lang.String PROP_Banner_style
public static final java.lang.String PROP_Banner_imageSource
public static final java.lang.String PROP_Banner_imageWidth
public static final java.lang.String PROP_Banner_imageHeight
public static final java.lang.String PROP_Banner_imageLink
protected static boolean _isTrackServlet
public static java.lang.String RGNAME_ACTIVE
Constructor Detail |
---|
protected BasicPrivateLabel()
public BasicPrivateLabel(java.lang.String host)
host
- The primary host name associated with this BasicPrivateLabelMethod Detail |
---|
public static void setTrackServlet_loaderOnly()
public static boolean isTrackServlet()
public void postInitialization()
public void setDefaultBaseURL(java.lang.String baseURL)
baseURL
- The base URLpublic boolean hasDefaultBaseURL()
public java.lang.String getDefaultBaseURL()
public java.lang.String toString()
toString
in class java.lang.Object
public void setHostName(java.lang.String host)
host
- The primary host name to associate with this BasicPrivateLabelpublic java.lang.String getHostName()
public void addHostAlias(java.lang.String host, java.lang.String desc)
host
- The host alias to adddesc
- The host alias description (currently not used)public java.util.List<java.lang.String> getHostAliasNames()
public void setDomainName(java.lang.String name)
name
- The host alias namepublic java.lang.String getDomainName()
public java.lang.String getName()
public void setAccountLogin(boolean acctLogin)
acctLogin
- True to display account login, false otherwisepublic boolean getAccountLogin()
public void setUserLogin(boolean userLogin)
userLogin
- True to display user login, false otherwisepublic boolean getUserLogin()
public void setAllowEmailLogin(boolean emailLogin)
emailLogin
- True to enable contact-email loginpublic boolean getAllowEmailLogin()
public void setDefaultLoginAccount(java.lang.String defaultAccount)
defaultAccount
- The default login accountpublic java.lang.String getDefaultLoginAccount()
public void setDefaultLoginUser(java.lang.String defaultUser)
defaultUser
- The default login userpublic java.lang.String getDefaultLoginUser()
public void setPasswordHandler(PasswordHandler pwh)
pwh
- The PasswordHandler for the Domainpublic PasswordHandler getPasswordHandler()
public static boolean HasSupportedLocalesMap()
public static void SetSupportedLocalesMap(OrderedMap<java.lang.String,I18N.Text> localeMap)
localeMap
- The supported Locale mappublic static java.util.Map<java.lang.String,java.lang.String> GetSupportedLocaleMap(java.util.Locale locale)
locale
- The preferred Locale
public void setLocaleString(java.lang.String localeStr)
localeStr
- The locale String associated with this BasicPrivateLabelpublic java.lang.String getLocaleString()
public java.util.Locale getLocale()
public I18N getI18N(java.lang.Class clazz)
clazz
- The class for which the I18N instance will be returned
public I18N getI18N(java.lang.Package pkg)
pkg
- The package for which the I18N instance will be returned
public void setDateFormat(java.lang.String dateFmt)
dateFmt
- The date formatpublic java.lang.String getDateFormat()
public DateTime.DateStringFormat getDateStringFormat()
public DateTime.DateStringFormat getDateStringFormat(java.lang.String dateFormat)
public boolean isDateFormatYMD()
public boolean isDateFormatMDY()
public boolean isDateFormatDMY()
public java.lang.String getDateStringFormatText(java.util.Locale locale)
public static java.lang.String getDefaultDateFormat()
public void setTimeFormat(java.lang.String timeFmt)
timeFmt
- The time formatpublic java.lang.String getTimeFormat()
public static java.lang.String getDefaultTimeFormat()
public void setRestricted(boolean restricted)
restricted
- True to enforce restricted access, false otherwisepublic boolean isRestricted()
public void setShowPassword(boolean showPass)
showPass
- True to show password, false to hide the password field.public boolean getShowPassword()
public void setEnableDemo(boolean isDemo)
isDemo
- True to enable 'demo' support, false to disable.public boolean getEnableDemo()
public void clearTimeZones()
public void setTimeZones(OrderedSet<java.lang.String> tmz)
tmz
- The list of supported TimeZonespublic void setTimeZones(java.util.List<java.lang.String> tmz)
tmz
- The list of supported TimeZonespublic void setTimeZones(java.lang.String[] tmz)
tmz
- The array of supported TimeZonespublic java.util.List<java.lang.String> getTimeZonesList()
public java.lang.String[] getTimeZonesArray()
public java.lang.String[] getTimeZones()
public static java.lang.String[] getAllTimeZones()
public void setPageTitle(I18N.Text text)
text
- The title of the HTML pagepublic void setPageTitle(java.lang.String text)
text
- The title of the HTML pagepublic java.lang.String getPageTitle()
public void addReverseGeocodeProvider(ReverseGeocodeProvider rgp, boolean active)
rgp
- The ReverseGeocodeProviderpublic ReverseGeocodeProvider getReverseGeocodeProvider()
public ReverseGeocodeProvider getReverseGeocodeProvider(java.lang.String name)
name
- The named ReverseGeocodeProvider to return
public void addGeocodeProvider(GeocodeProvider gp, boolean active)
gp
- The GeocodeProviderpublic GeocodeProvider getGeocodeProvider()
public GeocodeProvider getGeocodeProvider(java.lang.String name)
name
- The named GeocodeProvider to return
public void addMobileLocationProvider(org.opengts.cellid.MobileLocationProvider mp)
mp
- The MobileLocationProviderpublic org.opengts.cellid.MobileLocationProvider getMobileLocationProvider()
public org.opengts.cellid.MobileLocationProvider getMobileLocationProvider(java.lang.String name)
name
- The named MobileLocationProvider to return
public int getPushpinIconIndex(java.lang.String pushpinID, int dftIndex)
pushpinID
- The pushpin IDdftIndex
- The default index value (0..9 are always defined)
public int getPushpinIconIndex(java.lang.String mapProviderID, java.lang.String pushpinID, int dftIndex)
mapProviderID
- The MapProvider ID (may be null)pushpinID
- The pushpin IDdftIndex
- The default index value (0..9 are always defined)
public void setCopyright(java.lang.String copyright)
copyright
- The copyright noticepublic java.lang.String getCopyright()
public void addAclMap(AclEntry.AccessLevel dftAccess, java.util.Map<java.lang.String,AclEntry> aclMap)
dftAccess
- The defalt access levelaclMap
- The access-control mappublic AclEntry.AccessLevel getMaximumAccessLevel(java.lang.String aclName)
public AclEntry.AccessLevel getDefaultAccessLevel()
public AclEntry.AccessLevel getDefaultAccessLevel(java.lang.String aclName)
aclName
- The ACL key
public AclEntry getAclEntry(java.lang.String aclName)
public AclEntry removeAclEntry(java.lang.String aclName)
public boolean hasAclEntry(java.lang.String aclName)
public AclEntry[] getAllAclEntries()
public AclEntry.AccessLevel getAccessLevel(Role role, java.lang.String aclName)
role
- The RoleaclName
- The ACL key
public AclEntry.AccessLevel getAccessLevel(User user, java.lang.String aclName)
user
- The UseraclName
- The ACL key
public boolean hasAllAccess(User user, java.lang.String aclName)
user
- The UseraclName
- The ACL key
public boolean hasWriteAccess(User user, java.lang.String aclName)
user
- The UseraclName
- The ACL key
public boolean hasReadAccess(User user, java.lang.String aclName)
user
- The UseraclName
- The ACL key
public void setEventNotificationEMail(java.lang.String emailFrom, I18N.Text emailSubj, I18N.Text emailBody, boolean useAsDefault)
emailFrom
- The EMail 'From' addressemailSubj
- The EMail 'Subject'emailBody
- The EMail 'Body'useAsDefault
- True to use this subj/body as the default entry for Rule notificationspublic java.lang.String getEventNotificationFrom()
public boolean hasEventNotificationEMail()
public java.lang.String getEventNotificationSubject()
public java.lang.String getEventNotificationBody()
public boolean getEventNotificationDefault()
public void setEMailAddress(java.lang.String type, java.lang.String emailAddr)
type
- The 'type' of default EMail addressemailAddr
- The EMail addresspublic java.lang.String getEMailAddress(java.lang.String type)
type
- The 'type' of EMail address to return
public java.lang.String[] getEMailAddresses()
public void setSmtpProperties(SendMail.SmtpProperties smtpProps)
public SendMail.SmtpProperties getSmtpProperties()
public boolean globalValidateIDs()
public boolean globalEditAfterNew()
public void setRTProperties(RTProperties rtp)
public RTProperties getRTProperties()
public void pushRTProperties()
public void popRTProperties()
public void printProperties()
public void printProperties(java.lang.String msg)
public void setProperty(java.lang.Object key, java.lang.Object value)
setProperty
in interface RTConfig.PropertySetter
key
- The property keyvalue
- The property valuepublic void setStringProperty(java.lang.String key, java.lang.String value)
key
- The property keyvalue
- The property String valuepublic void setI18NTextProperty(java.lang.String key, I18N.Text value)
key
- The property keyvalue
- The property I18N valuepublic java.lang.Object getProperty(java.lang.String key)
key
- The property key
public java.util.Collection<java.lang.String> getPropertyKeys(java.lang.String keyPrefix)
keyPrefix
- The property key prefix
public boolean hasProperty(java.lang.String key)
key
- The property key
public java.lang.String getStringProperty(java.lang.String key, java.lang.String dft)
key
- The property keydft
- The default value returned if the property key is not defined
public java.lang.String getI18NTextString(java.lang.String key, java.lang.String dft)
public double getDoubleProperty(java.lang.String key, double dft)
key
- The property keydft
- The default value returned if the property key is not defined
public long getLongProperty(java.lang.String key, long dft)
key
- The property keydft
- The default value returned if the property key is not defined
public int getIntProperty(java.lang.String key, int dft)
key
- The property keydft
- The default value returned if the property key is not defined
public boolean getBooleanProperty(java.lang.String key, boolean dft)
key
- The property keydft
- The default value returned if the property key is not defined
public void setStatusCodeOnly(boolean only)
only
- If true, only status codes set by this PrivateLabel will be visiblepublic boolean getStatusCodeOnly()
public void addStatusCode(StatusCodes.Code code)
code
- The StatusCode to addpublic java.util.Map<java.lang.Integer,StatusCodes.Code> getCustomStatusCodeMap()
public OrderedMap<java.lang.Integer,java.lang.String> getStatusCodeDescriptionMap()
public OrderedSet<java.lang.Integer> getStatusCodeList()
public StatusCodes.Code getStatusCode(java.lang.Integer code)
code
- The status code
public StatusCodes.Code getStatusCode(int code)
code
- The status code
public void setPredefinedRulesActions(PredefinedRuleAction[] predefRuleAct)
predefRuleAct
- The list of predefined rule actionspublic PredefinedRuleAction[] getPredefinedRuleActions()
public java.util.List<PoiProvider> getPointsOfInterest()
public boolean isSystemAccountsLoginEnabled(java.lang.String acctID)
public java.lang.String getSystemAccountsLoginPasscode(java.lang.String acctID)
public boolean isSystemAccountsLoginReturnEnabled(java.lang.String acctID)
public long getSystemAccountsLoginReturnTimeout(java.lang.String acctID)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |