@StableMinor(version="10.1", sinceVersion="4.0") public class SourceFactory extends Object
Constructor and Description |
---|
SourceFactory() |
Modifier and Type | Method and Description |
---|---|
static Source |
createSource(Node sourceDefinitionNode,
ISourceContext sourceContext) |
static Source |
createSource(String sourceId,
ISourceContext sourceContext)
Create a source instance and return it.
|
static Class<? extends Source> |
getSourceClass(Node sourceDefinitionNode,
ITransaction transaction) |
public static Class<? extends Source> getSourceClass(Node sourceDefinitionNode, ITransaction transaction) throws PortalException
PortalException
public static Source createSource(Node sourceDefinitionNode, ISourceContext sourceContext) throws PortalException
PortalException
public static Source createSource(String sourceId, ISourceContext sourceContext) throws PortalException
sourceId
- the source id.sourceContext
- the source's context.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.