public class DatasinkTreeServiceImpl extends SecuredTreeDBManagerImpl<AbstractDatasinkManagerNode> implements DatasinkTreeService
Constructor and Description |
---|
DatasinkTreeServiceImpl(<any> entityManagerProvider,
<any> installedDatasinkDefinitions,
<any> configServiceProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AbstractDatasinkManagerNode> |
getAllNodes() |
DatasinkDefinition |
getDatasinkById(java.lang.Long id) |
DatasinkDefinition |
getDatasinkByName(java.lang.String name) |
DatasinkFolder |
getDatasinkFolderByName(java.lang.String name) |
<T extends DatasinkDefinition> |
getDefaultDatasink(java.lang.Class<T> type,
java.lang.String defaultDatasinkIdProperty,
java.lang.String defaultDatasinkNameProperty) |
java.util.Set<java.lang.Class<? extends DatasinkDefinition>> |
getInstalledDatasinkDefinitions() |
AbstractDatasinkManagerNode |
getNodeById(long id)
Searches for a node by its id
|
java.util.List<AbstractDatasinkManagerNode> |
getRoots() |
DatasinkContainer |
merge(DatasinkContainer container) |
copy, forceRemove, getVirtualRoots, move, move, move, move, persist, remove
merge
allowsMultipleRoots, copy, getBaseType, getChildrenWithName, isFolder, updateFlags
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowsMultipleRoots, copy, forceRemove, getBaseType, getChildrenWithName, getVirtualRoots, isFolder, merge, move, move, persist, remove, updateFlags
public DatasinkTreeServiceImpl(<any> entityManagerProvider, <any> installedDatasinkDefinitions, <any> configServiceProvider)
public java.util.Set<java.lang.Class<? extends DatasinkDefinition>> getInstalledDatasinkDefinitions()
getInstalledDatasinkDefinitions
in interface DatasinkTreeService
@QueryByAttribute(where=<error>) public DatasinkDefinition getDatasinkByName(java.lang.String name)
getDatasinkByName
in interface DatasinkTreeService
@QueryByAttribute(where=<error>) public DatasinkDefinition getDatasinkById(java.lang.Long id)
getDatasinkById
in interface DatasinkTreeService
@QueryByAttribute(where=<error>) public DatasinkFolder getDatasinkFolderByName(java.lang.String name)
getDatasinkFolderByName
in interface DatasinkTreeService
@QueryByAttribute(where=<error>, type=IS_NULL) public java.util.List<AbstractDatasinkManagerNode> getRoots()
getRoots
in interface TreeDBManager<AbstractDatasinkManagerNode>
@SimpleQuery public java.util.List<AbstractDatasinkManagerNode> getAllNodes()
getAllNodes
in interface TreeDBManager<AbstractDatasinkManagerNode>
@QueryById public AbstractDatasinkManagerNode getNodeById(long id)
TreeDBManager
getNodeById
in interface TreeDBManager<AbstractDatasinkManagerNode>
public DatasinkContainer merge(DatasinkContainer container)
merge
in interface DatasinkTreeService
public <T extends DatasinkDefinition> java.util.Optional<T> getDefaultDatasink(java.lang.Class<T> type, java.lang.String defaultDatasinkIdProperty, java.lang.String defaultDatasinkNameProperty)
getDefaultDatasink
in interface DatasinkTreeService