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.HvlHardDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.user.entity.HvlOAuthUserOldPassword
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 HvlOAuthUserOldPassword extends tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
An entity store the user's old password data to be compared with new password.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The constant PASSWORD_FIELD_COLUMN.
    static final String
    The constant TABLE_NAME.
    static final String
    The constant USER_ID_FIELD_COLUMN.
    protected static final String
    The constant USER_ID_INDEX.

    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 password.
    Gets user id.
    void
    setPassword(String password)
    Sets password.
    void
    setUserId(Long userId)
    Sets user id.

    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

  • Constructor Details

    • HvlOAuthUserOldPassword

      public HvlOAuthUserOldPassword()
  • Method Details

    • getUserId

      public Long getUserId()
      Gets user id.
      Returns:
      the user id
    • setUserId

      public void setUserId(Long userId)
      Sets user id.
      Parameters:
      userId - the user id
    • getPassword

      public String getPassword()
      Gets password.
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Sets password.
      Parameters:
      password - the password