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 Summary
Fields Modifier and Type Field Description static StringDEF_VHOST_KEY
-
Method Summary
-
Methods inherited from interface tigase.db.comp.RepositoryItem
addCommandFields, getAdmins, getKey, getOwner, initFromCommand, initFromElement, initFromPropertyString, isOwner, setAdmins, setOwner, toElement, toPropertyString
-
-
-
-
Field Detail
-
DEF_VHOST_KEY
static final String DEF_VHOST_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
compareTo
default int compareTo(VHostItem o)
- Specified by:
compareToin interfaceComparable<VHostItem>
-
getComps
String[] getComps()
-
getC2SPortsAllowed
int[] getC2SPortsAllowed()
-
getData
@Deprecated <T> T getData(String key)
Deprecated.
-
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()
-
getVhost
JID getVhost()
-
setKey
void setKey(String domain)
-
isAdmin
default boolean isAdmin(String id)
Description copied from interface:RepositoryItemThe method checks whether the given id is one of the administrators set for the Item.- Specified by:
isAdminin 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 boolean isData(String key)
Deprecated.
-
isEnabled
boolean isEnabled()
-
isRegisterEnabled
boolean isRegisterEnabled()
-
isTlsRequired
boolean isTlsRequired()
-
isTrustedJID
default boolean isTrustedJID(JID jid)
-
getSaslAllowedMechanisms
String[] getSaslAllowedMechanisms()
-
-