Package de.xima.fc.entities
Class ProjectAuthenticatorConfig
- 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.ProjectAuthenticatorConfig
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAuthenticatorConfig
,ILockingVersionProviding
,IProjektDependent
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IStringAttributesMixin
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class ProjectAuthenticatorConfig extends AAuthenticatorConfig implements IProjektDependent, Serializable
Model for persisting authenticator configurations for a project- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_PROJECT
static String
COL_PROJECT_ID
-
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.IProjektDependent
ATTR_PROJEKT
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description ProjectAuthenticatorConfig()
ProjectAuthenticatorConfig(IAuthenticator<?> authenticator, Projekt project)
ProjectAuthenticatorConfig(IAuthenticator<?> authenticator, Projekt project, Map<String,String> attributes)
ProjectAuthenticatorConfig(EAuthClientType authenticatorType, Projekt project)
ProjectAuthenticatorConfig(EAuthClientType authenticatorType, Projekt project, Map<String,String> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAttributes()
Long
getId()
Projekt
getProjekt()
void
setAttributes(Map<String,String> attributes)
void
setId(Long id)
!!!void
setProjekt(Projekt project)
-
Methods inherited from class de.xima.fc.entities.AAuthenticatorConfig
getAuthenticator, getAuthenticatorToken, getAuthenticatorType, getClientAuthenticator, getDisplayName, getI18nPlaceholder, getIdentifier, getSystemAuthenticator, setAuthenticator, setAuthenticatorType, setClientAuthenticator, 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
-
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.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Field Detail
-
COL_PROJECT_ID
public static final String COL_PROJECT_ID
- See Also:
- Constant Field Values
-
ATTR_PROJECT
public static final String ATTR_PROJECT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectAuthenticatorConfig
public ProjectAuthenticatorConfig()
-
ProjectAuthenticatorConfig
public ProjectAuthenticatorConfig(EAuthClientType authenticatorType, Projekt project)
-
ProjectAuthenticatorConfig
public ProjectAuthenticatorConfig(EAuthClientType authenticatorType, Projekt project, Map<String,String> attributes)
-
ProjectAuthenticatorConfig
public ProjectAuthenticatorConfig(IAuthenticator<?> authenticator, Projekt project)
-
ProjectAuthenticatorConfig
public ProjectAuthenticatorConfig(IAuthenticator<?> authenticator, Projekt project, Map<String,String> attributes)
-
-
Method Detail
-
setId
public void setId(Long id)
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
setProjekt
public void setProjekt(Projekt project)
- Specified by:
setProjekt
in interfaceIProjektDependent
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjekt
in interfaceIProjektDependent
-
getAttributes
public Map<String,String> getAttributes()
- Specified by:
getAttributes
in interfaceIStringAttributesMixin
- Returns:
- the string attributes
-
-