/** * Initializes the security context from a GetUserInfoResult object. * {@inheritDoc} */ @Override public void init(GetUserInfoResult userInfo) { this.orgId = userInfo.getOrganizationId(); this.userId = userInfo.getUserId(); this.userName = userInfo.getUserName(); this.language = userInfo.getUserLanguage(); this.locale = userInfo.getUserLocale(); this.timeZone = userInfo.getUserTimeZone(); }
/** * Initializes the security context from a GetUserInfoResult object. * {@inheritDoc} */ @Override public void init(GetUserInfoResult userInfo) { this.orgId = userInfo.getOrganizationId(); this.userId = userInfo.getUserId(); this.userName = userInfo.getUserName(); this.language = userInfo.getUserLanguage(); this.locale = userInfo.getUserLocale(); this.timeZone = userInfo.getUserTimeZone(); }
_hashCode += getUserLanguage().hashCode(); if (getUserLocale() != null) { _hashCode += getUserLocale().hashCode();
(this.userLanguage != null && this.userLanguage.equals(other.getUserLanguage()))) && ((this.userLocale == null && other.getUserLocale() == null) || (this.userLocale != null && this.userLocale.equals(other.getUserLocale()))) && ((this.userName == null && other.getUserName() == null) || (this.userName != null &&