public class RemoteServerTreeServiceImpl extends SecuredTreeDBManagerImpl<AbstractRemoteServerManagerNode> implements RemoteServerTreeService
Constructor and Description |
---|
RemoteServerTreeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
RemoteServerDefinition |
doGetRemoteServerByKey(java.lang.String key) |
java.util.List<AbstractRemoteServerManagerNode> |
getAllNodes() |
AbstractRemoteServerManagerNode |
getNodeById(long id)
Searches for a node by its id
|
RemoteServerDefinition |
getRemoteServerByKey(java.lang.String key) |
RemoteServerFolder |
getRemoteServerFolderByName(java.lang.String name) |
long |
getRemoteServerIdFromKey(java.lang.String key) |
java.util.List<AbstractRemoteServerManagerNode> |
getRoots() |
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
@QueryByAttribute(where=<error>) public RemoteServerFolder getRemoteServerFolderByName(java.lang.String name)
getRemoteServerFolderByName
in interface RemoteServerTreeService
@QueryByAttribute(where=<error>, type=IS_NULL) public java.util.List<AbstractRemoteServerManagerNode> getRoots()
getRoots
in interface TreeDBManager<AbstractRemoteServerManagerNode>
@SimpleQuery public java.util.List<AbstractRemoteServerManagerNode> getAllNodes()
getAllNodes
in interface TreeDBManager<AbstractRemoteServerManagerNode>
@QueryById public AbstractRemoteServerManagerNode getNodeById(long id)
TreeDBManager
getNodeById
in interface TreeDBManager<AbstractRemoteServerManagerNode>
@QueryByAttribute(select=<error>, from=RemoteServerDefinition.class, where=<error>, throwNoResultException=true) public long getRemoteServerIdFromKey(java.lang.String key)
getRemoteServerIdFromKey
in interface RemoteServerTreeService
public RemoteServerDefinition getRemoteServerByKey(java.lang.String key)
getRemoteServerByKey
in interface RemoteServerTreeService
@QueryByAttribute(where=<error>) public RemoteServerDefinition doGetRemoteServerByKey(java.lang.String key)