Package tigase.vhosts
Interface VHostItem
- All Superinterfaces:
Comparable<VHostItem>
,RepositoryItem
- All Known Implementing Classes:
VHostItemImpl
,VHostItemImpl.VHostItemWrapper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
int[]
String[]
getComps()
<T> T
Deprecated.String[]
<T extends VHostItemExtension>
TgetExtension
(Class<T> clazz) Set<Class<? extends VHostItemExtension>>
<T extends VHostItemExtension>
Set<T>default JID
default JID
String[]
getVhost()
default boolean
The method checks whether the given id is one of the administrators set for the Item.boolean
boolean
Deprecated.boolean
boolean
boolean
default boolean
isTrustedJID
(JID jid) void
Methods inherited from interface tigase.db.comp.RepositoryItem
addCommandFields, getAdmins, getKey, getOwner, initFromCommand, initFromElement, initFromPropertyString, isOwner, setAdmins, setOwner, toElement, toPropertyString
-
Field Details
-
DEF_VHOST_KEY
- See Also:
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<VHostItem>
-
getComps
String[] getComps() -
getC2SPortsAllowed
int[] getC2SPortsAllowed() -
getData
Deprecated. -
getDomainFilter
DomainFilterPolicy getDomainFilter() -
getDomainFilterDomains
String[] getDomainFilterDomains() -
getExtension
-
getExtensions
-
getExtensionClasses
Set<Class<? extends VHostItemExtension>> getExtensionClasses() -
getMaxUsersNumber
Long getMaxUsersNumber() -
getMessageForward
JID getMessageForward() -
getMessageForwardAddress
-
getOtherDomainParams
String getOtherDomainParams() -
getPresenceForward
JID getPresenceForward() -
getPresenceForwardAddress
-
getS2sSecret
String getS2sSecret() -
getTrustedJIDs
-
getVhost
JID getVhost() -
setKey
-
isAdmin
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 interfaceRepositoryItem
- Parameters:
id
- is an ID of a person for which we check access permissions.- Returns:
- true of the given ID is on a list of administrators and false otherwise.
-
isAnonymousEnabled
boolean isAnonymousEnabled() -
isData
Deprecated. -
isEnabled
boolean isEnabled() -
isRegisterEnabled
boolean isRegisterEnabled() -
isTlsRequired
boolean isTlsRequired() -
isTrustedJID
-
getSaslAllowedMechanisms
String[] getSaslAllowedMechanisms()
-