Class DirBaseValue

java.lang.Object
net.bluemind.directory.api.DirBaseValue
Direct Known Subclasses:
ExternalUser, Group, Mailshare, ResourceDescriptor, User

public class DirBaseValue extends Object
Base class of all directory related entities (DirEntry)
  • Field Details

    • orgUnitUid

      public String orgUnitUid
    • emails

      public Collection<Email> emails
      The DirEntry's emails
    • hidden

      public boolean hidden
      True when this DirEntry must not appear in visible views of other Users
    • archived

      public boolean archived
      True if the DirEntry is suspended. A suspended DirEntry cannot sign into the system but its data is still in the system.
    • system

      public boolean system
      True for some internal DirEntry, used for specific internal tasks.
    • dataLocation

      public String dataLocation
      Defines on which Server the data owned by this DirEntry are.
  • Constructor Details

    • DirBaseValue

      public DirBaseValue()
  • Method Details

    • defaultEmail

      public Email defaultEmail()
      Returns:
      The default Email for the User
    • defaultEmailAddress

      public String defaultEmailAddress()
      Fetch the default Email address associated to this DirEntry, or null, if no default is present
      Returns:
      the DirEntry's default email
    • defaultEmailAddress

      public String defaultEmailAddress(String domainDefaultAlias)
      Fetch the default Email address associated to this DirEntry, or null, if no default is present. If the address is configured as all-alias, the address is returned with the domain's extension.
      Returns:
      the DirEntry's default Email
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object