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
ITenant
getChannel
in interface ITenant
channelName
- a channel nameConfigurationException
public IBook getBook(String name) throws ConfigurationException
ITenant
getBook
in interface ITenant
name
- a channel nameConfigurationException
public List<IEntity> getEntities() throws ConfigurationException
ITenant
getEntities
in interface ITenant
ConfigurationException
public List<IEntity> getChannels(Map<String,Exception> invalid)
ITenant
getChannels
in interface ITenant
invalid
- a map to be returned with any invalid or corrupted channel.public List<IEntity> getBooks(Map<String,Exception> invalid)
ITenant
public List<IEntity> getValidBooks()
getValidBooks
in interface ITenant
public String getName()
public ISettingsMap getEtc()
public IPlatform getPlatform()
ITenant
getPlatform
in interface ITenant
public ISettingsMap asSettingsMap()
asSettingsMap
in interface ITenant
Copyright © 2014–2023. All rights reserved.