| Constructor and Description |
|---|
TenantImpl(IPlatform platform,
String name,
ISettingsMap tenantMap)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
ISettingsMap |
asSettingsMap() |
IBook |
getBook(String name)
Get one of the tenant's channel.
|
List<IEntity> |
getBooks(Map<String,Exception> invalid)
Iterate over the channels of a tenant
|
IChannel |
getChannel(String channelName)
Get one of the tenant's channel.
|
List<IEntity> |
getChannels(Map<String,Exception> invalid)
Iterate over the channels of a tenant
|
List<IEntity> |
getEntities()
Get one of the tenant's channel.
|
ISettingsMap |
getEtc() |
String |
getName() |
String |
getPath()
I.e.
|
IPlatform |
getPlatform()
Get this tenant platform.
|
List<IEntity> |
getValidBooks() |
String |
toString() |
public TenantImpl(IPlatform platform, String name, ISettingsMap tenantMap)
platform - the platformname - the tenant nametenantMap - the tenant map, i.e. the content of this tenant folderpublic IChannel getChannel(String channelName) throws ConfigurationException
ITenantgetChannel in interface ITenantchannelName - a channel nameConfigurationExceptionpublic IBook getBook(String name) throws ConfigurationException
ITenantgetBook in interface ITenantname - a channel nameConfigurationExceptionpublic List<IEntity> getEntities() throws ConfigurationException
ITenantgetEntities in interface ITenantConfigurationExceptionpublic List<IEntity> getChannels(Map<String,Exception> invalid)
ITenantgetChannels in interface ITenantinvalid - a map to be returned with any invalid or corrupted channel.public List<IEntity> getBooks(Map<String,Exception> invalid)
ITenantpublic List<IEntity> getValidBooks()
getValidBooks in interface ITenantpublic String getName()
public ISettingsMap getEtc()
public IPlatform getPlatform()
ITenantgetPlatform in interface ITenantpublic ISettingsMap asSettingsMap()
asSettingsMap in interface ITenantCopyright © 2014–2023. All rights reserved.