java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
tr.com.havelsan.javarch.domain.model.entity.HvlEntity
tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.user.entity.HvlOAuthUserStrategy
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>>, org.hibernate.engine.spi.Managed, org.hibernate.engine.spi.ManagedMappedSuperclass, org.hibernate.engine.spi.PrimeAmongSecondarySupertypes, tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>

@Entity public class HvlOAuthUserStrategy extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which defines strategy fields.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant DESCRIPTION_FIELD_COLUMN.
    static final String
    The constant EMAIL_EXTENSION_FIELD_COLUMN.
    static final String
    The constant EMAIL_STRATEGY_FIELD_COLUMN.
    static final String
    The constant ENABLED_FIELD_COLUMN.
    static final String
    The constant STRATEGY_UNIQUE_KEY.
    static final String
    The constant TABLE_NAME.
    static final String
    The constant USER_TYPE_ID_FIELD_COLUMN.
    static final String
    The constant USER_TYPE_ID_FOREIGN_KEY.
    static final String
    The constant USERNAME_STRATEGY_FIELD_COLUMN.
    static final String
    The constant USERNAME_TYPE_ID_FIELD_COLUMN.
    static final String
    The constant UUID_INDEX.
    static final String
    The constant UUID_UNIQUE_KEY.

    Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity

    DELETED_DATE_FIELD, DELETED_DATE_FIELD_COLUMN, DELETED_FIELD, DELETED_FIELD_COLUMN

    Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity

    CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets description.
    Gets email extension.
    Gets email strategy.
    Gets enabled.
    Gets username strategy.
    Gets user type.
    Gets user type id.
    void
    setDescription(String description)
    Sets description.
    void
    setEmailExtension(String emailExtension)
    Sets email extension.
    void
    Sets email strategy.
    void
    Sets enabled.
    void
    Sets username strategy.
    void
    Sets user type.
    void
    setUserTypeId(Long userTypeId)
    Sets user type id.

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity

    $$_hibernate_read_deleted, $$_hibernate_read_deletedDate, $$_hibernate_write_deleted, $$_hibernate_write_deletedDate, getDeleted, getDeletedDate, setDeleted, setDeletedDate

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity

    $$_hibernate_read_id, $$_hibernate_write_id, getId, setId

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity

    $$_hibernate_read_createdBy, $$_hibernate_read_dateCreated, $$_hibernate_read_dateUpdated, $$_hibernate_read_updatedBy, $$_hibernate_read_uuid, $$_hibernate_read_version, $$_hibernate_write_createdBy, $$_hibernate_write_dateCreated, $$_hibernate_write_dateUpdated, $$_hibernate_write_updatedBy, $$_hibernate_write_uuid, $$_hibernate_write_version, compareTo, equals, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, hashCode, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.engine.spi.Managed

    asManaged

    Methods inherited from interface org.hibernate.engine.spi.ManagedMappedSuperclass

    asManagedMappedSuperclass

    Methods inherited from interface org.hibernate.engine.spi.PrimeAmongSecondarySupertypes

    asCompositeOwner, asCompositeTracker, asHibernateProxy, asManagedComposite, asManagedEntity, asPersistentAttributeInterceptable, asProxyConfiguration, asSelfDirtinessTracker
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      The constant TABLE_NAME.
      See Also:
    • USER_TYPE_ID_FIELD_COLUMN

      public static final String USER_TYPE_ID_FIELD_COLUMN
      The constant USER_TYPE_ID_FIELD_COLUMN.
      See Also:
    • USERNAME_STRATEGY_FIELD_COLUMN

      public static final String USERNAME_STRATEGY_FIELD_COLUMN
      The constant USERNAME_STRATEGY_FIELD_COLUMN.
      See Also:
    • USERNAME_TYPE_FIELD_COLUMN

      public static final String USERNAME_TYPE_FIELD_COLUMN
      The constant USERNAME_TYPE_ID_FIELD_COLUMN.
      See Also:
    • EMAIL_STRATEGY_FIELD_COLUMN

      public static final String EMAIL_STRATEGY_FIELD_COLUMN
      The constant EMAIL_STRATEGY_FIELD_COLUMN.
      See Also:
    • EMAIL_EXTENSION_FIELD_COLUMN

      public static final String EMAIL_EXTENSION_FIELD_COLUMN
      The constant EMAIL_EXTENSION_FIELD_COLUMN.
      See Also:
    • DESCRIPTION_FIELD_COLUMN

      public static final String DESCRIPTION_FIELD_COLUMN
      The constant DESCRIPTION_FIELD_COLUMN.
      See Also:
    • ENABLED_FIELD_COLUMN

      public static final String ENABLED_FIELD_COLUMN
      The constant ENABLED_FIELD_COLUMN.
      See Also:
    • USER_TYPE_ID_FOREIGN_KEY

      public static final String USER_TYPE_ID_FOREIGN_KEY
      The constant USER_TYPE_ID_FOREIGN_KEY.
      See Also:
    • UUID_UNIQUE_KEY

      public static final String UUID_UNIQUE_KEY
      The constant UUID_UNIQUE_KEY.
      See Also:
    • STRATEGY_UNIQUE_KEY

      public static final String STRATEGY_UNIQUE_KEY
      The constant STRATEGY_UNIQUE_KEY.
      See Also:
    • UUID_INDEX

      public static final String UUID_INDEX
      The constant UUID_INDEX.
      See Also:
  • Constructor Details

    • HvlOAuthUserStrategy

      public HvlOAuthUserStrategy()
  • Method Details

    • getUserType

      public HvlOAuthUserType getUserType()
      Gets user type.
      Returns:
      the user type
    • setUserType

      public void setUserType(HvlOAuthUserType userType)
      Sets user type.
      Parameters:
      userType - the user type
    • getUserTypeId

      public Long getUserTypeId()
      Gets user type id.
      Returns:
      the user type id
    • setUserTypeId

      public void setUserTypeId(Long userTypeId)
      Sets user type id.
      Parameters:
      userTypeId - the user type id
    • getUsernameStrategy

      public HvlOAuthUserGeneratorUsernameStrategy getUsernameStrategy()
      Gets username strategy.
      Returns:
      the username strategy
    • setUsernameStrategy

      public void setUsernameStrategy(HvlOAuthUserGeneratorUsernameStrategy usernameStrategy)
      Sets username strategy.
      Parameters:
      usernameStrategy - the username strategy
    • getEmailStrategy

      public HvlOAuthUserGeneratorEmailStrategy getEmailStrategy()
      Gets email strategy.
      Returns:
      the email strategy
    • setEmailStrategy

      public void setEmailStrategy(HvlOAuthUserGeneratorEmailStrategy emailStrategy)
      Sets email strategy.
      Parameters:
      emailStrategy - the email strategy
    • getEmailExtension

      public String getEmailExtension()
      Gets email extension.
      Returns:
      the email extension
    • setEmailExtension

      public void setEmailExtension(String emailExtension)
      Sets email extension.
      Parameters:
      emailExtension - the email extension
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getEnabled

      public Boolean getEnabled()
      Gets enabled.
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets enabled.
      Parameters:
      enabled - the enabled