Package tigase.vhosts

Interface VHostItem

All Superinterfaces:
Comparable<VHostItem>, RepositoryItem
All Known Implementing Classes:
VHostItemImpl, VHostItemImpl.VHostItemWrapper

public interface VHostItem extends RepositoryItem, Comparable<VHostItem>
  • Field Details

  • Method Details

    • compareTo

      default int compareTo(VHostItem o)
      Specified by:
      compareTo in interface Comparable<VHostItem>
    • getComps

      String[] getComps()
    • getC2SPortsAllowed

      int[] getC2SPortsAllowed()
    • getData

      @Deprecated <T> T getData(String key)
    • getDomainFilter

      DomainFilterPolicy getDomainFilter()
    • getDomainFilterDomains

      String[] getDomainFilterDomains()
    • getExtension

      <T extends VHostItemExtension> T getExtension(Class<T> clazz)
    • getExtensions

      <T extends VHostItemExtension> Set<T> getExtensions()
    • getExtensionClasses

      Set<Class<? extends VHostItemExtension>> getExtensionClasses()
    • getMaxUsersNumber

      Long getMaxUsersNumber()
    • getMessageForward

      JID getMessageForward()
    • getMessageForwardAddress

      default JID getMessageForwardAddress()
    • getOtherDomainParams

      String getOtherDomainParams()
    • getPresenceForward

      JID getPresenceForward()
    • getPresenceForwardAddress

      default JID getPresenceForwardAddress()
    • getS2sSecret

      String getS2sSecret()
    • getTrustedJIDs

      Set<String> getTrustedJIDs()
    • getVhost

      JID getVhost()
    • setKey

      void setKey(String domain)
    • isAdmin

      default boolean isAdmin(String id)
      Description copied from interface: RepositoryItem
      The method checks whether the given id is one of the administrators set for the Item.
      Specified by:
      isAdmin in interface RepositoryItem
      id - is an ID of a person for which we check access permissions.
      true of the given ID is on a list of administrators and false otherwise.
    • isAnonymousEnabled

      boolean isAnonymousEnabled()
    • isData

      @Deprecated boolean isData(String key)
    • isEnabled

      boolean isEnabled()
    • isRegisterEnabled

      boolean isRegisterEnabled()
    • isTlsRequired

      boolean isTlsRequired()
    • isTrustedJID

      default boolean isTrustedJID(JID jid)
    • getSaslAllowedMechanisms

      String[] getSaslAllowedMechanisms()