lumis.doui.source
Class SourceFactory
java.lang.Object
lumis.doui.source.SourceFactory
@StableMinor(version="6.2",
sinceVersion="4.0")
public class SourceFactory
- extends Object
Create instances of Source derived classes
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFactory
public SourceFactory()
getSourceClass
public static Class<? extends Source> getSourceClass(Node sourceDefinitionNode,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
createSource
public static Source createSource(Node sourceDefinitionNode,
ISourceContext sourceContext)
throws PortalException
- Throws:
PortalException
createSource
public static Source createSource(String sourceId,
ISourceContext sourceContext)
throws PortalException
- Create a source instance and return it.
- Parameters:
sourceId
- the source id.sourceContext
- the source's context.
- Returns:
- the source.
- Throws:
PortalException
- Since:
- 4.0.7
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.