Package tigase.vhosts
Interface VHostItem
- All Superinterfaces:
Comparable<VHostItem>,RepositoryItem
- All Known Implementing Classes:
VHostItemImpl,VHostItemImpl.VHostItemWrapper
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault intint[]String[]getComps()<T> TDeprecated.String[]<T extends VHostItemExtension>
TgetExtension(Class<T> clazz) Set<Class<? extends VHostItemExtension>> <T extends VHostItemExtension>
Set<T> default JIDdefault JIDString[]getVhost()default booleanThe method checks whether the given id is one of the administrators set for the Item.booleanbooleanDeprecated.booleanbooleanbooleandefault booleanisTrustedJID(JID jid) voidMethods 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:
compareToin 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: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. -
isEnabled
boolean isEnabled() -
isRegisterEnabled
boolean isRegisterEnabled() -
isTlsRequired
boolean isTlsRequired() -
isTrustedJID
-
getSaslAllowedMechanisms
String[] getSaslAllowedMechanisms()
-