Class UserDirectory

java.lang.Object
com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<T>
com.foreach.across.modules.hibernate.business.SettableIdAuditableEntity<UserDirectory>
com.foreach.across.modules.user.business.UserDirectory
All Implemented Interfaces:
com.foreach.across.modules.hibernate.business.Auditable<String>, com.foreach.across.modules.hibernate.business.EntityWithDto<UserDirectory>, com.foreach.across.modules.hibernate.business.IdBasedEntity, org.springframework.data.domain.Persistable<Long>
Direct Known Subclasses:
InternalUserDirectory

@NotThreadSafe @Entity public abstract class UserDirectory extends com.foreach.across.modules.hibernate.business.SettableIdAuditableEntity<UserDirectory>
Base class for user directory implementations.
Since:
2.0.0
Author:
Arne Vandamme
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Long
    Unique id of the default internal directory.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    int
     
    boolean
     
    void
    setActive(boolean active)
     
    void
    setId(Long id)
     
    void
     
    void
    setOrder(int order)
     

    Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdAuditableEntity

    getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate

    Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity

    equals, getNewEntityId, hashCode, isNew, setNewEntityId, toDto

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_INTERNAL_DIRECTORY_ID

      public static final Long DEFAULT_INTERNAL_DIRECTORY_ID
      Unique id of the default internal directory. This directory should always exist.
  • Constructor Details

    • UserDirectory

      public UserDirectory()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
      Specified by:
      setId in class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<UserDirectory>
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getOrder

      public int getOrder()
    • setOrder

      public void setOrder(int order)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)