@StableMinor(version="12.5", sinceVersion="4.0") public class SourceContainer extends Object
Modifier and Type | Field and Description |
---|---|
protected Source |
defaultSource |
protected DouiContext |
douiContext |
static String |
NO_SOURCE |
protected SourceContext |
sourceContext |
protected Node[] |
sourceDefinitionNodes |
protected Map<String,Source> |
sourcesById |
protected ArrayList<String> |
sourcesIdArray |
Constructor and Description |
---|
SourceContainer(DouiContext douiContext)
Constructor that receives a DouiContext object
|
SourceContainer(Node[] sourceDefinitionNodes)
Constructor that receives xml definition nodes of sources
|
Modifier and Type | Method and Description |
---|---|
void |
addSource(Source source) |
<S extends Source> |
getDefaultSource() |
DouiContext |
getDouiContext() |
<S extends Source> |
getSourceById(String id) |
SourceContext |
getSourceContext() |
Map<String,Source> |
getSourcesMap()
Returns the map with the sources in this source container.
|
void |
init() |
void |
loadSources() |
protected void |
loadSourcesRecursively() |
public static final String NO_SOURCE
protected final DouiContext douiContext
protected final SourceContext sourceContext
protected Source defaultSource
protected Node[] sourceDefinitionNodes
public SourceContainer(Node[] sourceDefinitionNodes)
public SourceContainer(DouiContext douiContext)
public void init() throws PortalException
PortalException
public void addSource(Source source) throws PortalException
PortalException
public <S extends Source> S getDefaultSource()
public SourceContext getSourceContext()
public DouiContext getDouiContext()
public void loadSources() throws PortalException
PortalException
protected void loadSourcesRecursively() throws PortalException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.