Class IdentityProviderDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.access.identityproviders.IdentityProviderDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
OAuthIdentityProviderDTO
public class IdentityProviderDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,IdentityProviderDTO>BACKGROUND_COLORstatic BasicProperty<String,IdentityProviderDTO>BORDER_COLORstatic StringCLASS_NAMEstatic BasicProperty<Boolean,IdentityProviderDTO>ENABLEDstatic BasicProperty<ImageVO,IdentityProviderDTO>IMAGEstatic BasicProperty<String,IdentityProviderDTO>TEXT_COLORstatic BasicProperty<IdentityProviderType,IdentityProviderDTO>TYPE-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description IdentityProviderDTO()IdentityProviderDTO(Long id)IdentityProviderDTO(Property<T,? super IdentityProviderDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetBackgroundColor()StringgetBorderColor()ImageVOgetImage()StringgetTextColor()IdentityProviderTypegetType()booleanisEnabled()voidsetBackgroundColor(String backgroundColor)voidsetBorderColor(String borderColor)voidsetEnabled(boolean enabled)voidsetImage(ImageVO image)voidsetTextColor(String textColor)voidsetType(IdentityProviderType type)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BACKGROUND_COLOR
public static final BasicProperty<String,IdentityProviderDTO> BACKGROUND_COLOR
-
BORDER_COLOR
public static final BasicProperty<String,IdentityProviderDTO> BORDER_COLOR
-
ENABLED
public static final BasicProperty<Boolean,IdentityProviderDTO> ENABLED
-
IMAGE
public static final BasicProperty<ImageVO,IdentityProviderDTO> IMAGE
-
TEXT_COLOR
public static final BasicProperty<String,IdentityProviderDTO> TEXT_COLOR
-
TYPE
public static final BasicProperty<IdentityProviderType,IdentityProviderDTO> TYPE
-
-
Constructor Detail
-
IdentityProviderDTO
public IdentityProviderDTO()
-
IdentityProviderDTO
public IdentityProviderDTO(Long id)
-
IdentityProviderDTO
public IdentityProviderDTO(Property<T,? super IdentityProviderDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getBackgroundColor
public String getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(String backgroundColor)
-
getBorderColor
public String getBorderColor()
-
setBorderColor
public void setBorderColor(String borderColor)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getImage
public ImageVO getImage()
-
setImage
public void setImage(ImageVO image)
-
getTextColor
public String getTextColor()
-
setTextColor
public void setTextColor(String textColor)
-
getType
public IdentityProviderType getType()
-
setType
public void setType(IdentityProviderType type)
-
-