Package de.xima.fc.entities
Class UserPortalAuthConfig
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ALockableEntity
-
- de.xima.fc.entities.AAuthenticatorConfig
-
- de.xima.fc.entities.UserPortalAuthConfig
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILocalizationProviding<UserPortalAuthConfig,UserPortalAuthConfigLocalization>
,IAuthenticatorConfig
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IStringAttributesMixin
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class UserPortalAuthConfig extends AAuthenticatorConfig implements ILocalizationProviding<UserPortalAuthConfig,UserPortalAuthConfigLocalization>
Entity model for authenticator configurations foruser portals
.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_LOGIN_CONFIG
static String
COL_LOGIN_CONFIG_ID
static String
COL_ORDER_INDEX
-
Fields inherited from class de.xima.fc.entities.AAuthenticatorConfig
ATTR_AUTHENTICATOR_TYPE, ATTR_CLIENTAUTHENTICATOR, ATTR_ORDER_IDX, ATTR_SYSTEMAUTHENTICATOR, authenticatorType, clientAuthenticator, systemAuthenticator
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProviding
ATTR_LOCALIZATIONS
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description UserPortalAuthConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAttributes()
Returns an empty map because this authenticator config does not provide attributes.Locale
getFallbackLocale()
Gets the default locale to use as a fallback when a localization is missing for a locale.Long
getId()
List<UserPortalAuthConfigLocalization>
getLocalizations()
Gets the localisation entities@NotNull UserPortalLoginConfig
getLoginConfig()
int
getOrderIndex()
void
setLocalizations(List<UserPortalAuthConfigLocalization> localizations)
Sets the i18n namevoid
setLoginConfig(@NotNull UserPortalLoginConfig portal)
void
setOrderIndex(int orderIndex)
-
Methods inherited from class de.xima.fc.entities.AAuthenticatorConfig
getAuthenticator, getAuthenticatorToken, getAuthenticatorType, getClientAuthenticator, getClientDescriptor, getDisplayName, getI18nPlaceholder, getIdentifier, getSystemAuthenticator, setAuthenticator, setAuthenticatorType, setClientAuthenticator, setClientDescriptor, setSystemAuthenticator, toString
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProviding
getI18nNames, getLocalization, getLocalization, getLocalizationObject, getLocalizationObject, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByLocale, getLocalizationsByLocale, getLocalizationsForLocale, getLocalizationsForLocale
-
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Field Detail
-
ATTR_LOGIN_CONFIG
public static final String ATTR_LOGIN_CONFIG
- See Also:
- Constant Field Values
-
COL_LOGIN_CONFIG_ID
public static final String COL_LOGIN_CONFIG_ID
- See Also:
- Constant Field Values
-
COL_ORDER_INDEX
public static final String COL_ORDER_INDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLoginConfig
@NotNull public @NotNull UserPortalLoginConfig getLoginConfig()
-
setLoginConfig
public void setLoginConfig(@NotNull @NotNull UserPortalLoginConfig portal)
-
getLocalizations
public List<UserPortalAuthConfigLocalization> getLocalizations()
Description copied from interface:ILocalizationProviding
Gets the localisation entities- Specified by:
getLocalizations
in interfaceILocalizationProviding<UserPortalAuthConfig,UserPortalAuthConfigLocalization>
- Returns:
- the localisation entities
-
setLocalizations
public void setLocalizations(List<UserPortalAuthConfigLocalization> localizations)
Description copied from interface:ILocalizationProviding
Sets the i18n name- Specified by:
setLocalizations
in interfaceILocalizationProviding<UserPortalAuthConfig,UserPortalAuthConfigLocalization>
- Parameters:
localizations
- the entities for localisation to set
-
getFallbackLocale
public Locale getFallbackLocale()
Description copied from interface:ILocalizationProviding
Gets the default locale to use as a fallback when a localization is missing for a locale. May return null if the object does not provide a fallback locale.- Specified by:
getFallbackLocale
in interfaceILocalizationProviding<UserPortalAuthConfig,UserPortalAuthConfigLocalization>
- Returns:
- the default locale to use as a fallback when a localization is missing for a locale
-
getAttributes
public Map<String,String> getAttributes()
Returns an empty map because this authenticator config does not provide attributes. It does however provide localized properties (I18N).- Specified by:
getAttributes
in interfaceIStringAttributesMixin
- Returns:
- empty map because this authenticator config does not provide attributes.
- See Also:
getLocalizations()
-
getOrderIndex
public int getOrderIndex()
-
setOrderIndex
public void setOrderIndex(int orderIndex)
-
-