public class WorkspaceElem extends TreeParent
Workspace
. It also
keeps a reference to its parent RepositoryElem
, to be able to
retrieve alias of the current used repositoryConstructor and Description |
---|
WorkspaceElem(RepositoryElem parent,
java.lang.String name) |
WorkspaceElem(RepositoryElem parent,
java.lang.String name,
Session session) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
If overridden,
super.dispose() must be called, typically
after custom cleaning. |
java.lang.Object[] |
getChildren()
Override normal behaviour to initialize display of the workspace
|
Node |
getRootNode() |
Session |
getSession() |
boolean |
hasChildren() |
java.lang.Boolean |
isConnected() |
void |
login() |
void |
logout()
Logouts the session, does not nothing if there is no live session.
|
addChild, clearChildren, compareTo, equals, getChildByName, getChildrenOfType, getName, getParent, hashCode, isLoaded, removeChild, setParent, toString
public WorkspaceElem(RepositoryElem parent, java.lang.String name)
public WorkspaceElem(RepositoryElem parent, java.lang.String name, Session session)
public Session getSession()
public Node getRootNode()
public void login()
public java.lang.Boolean isConnected()
public void dispose()
TreeParent
super.dispose()
must be called, typically
after custom cleaning.dispose
in class TreeParent
public void logout()
public boolean hasChildren()
hasChildren
in class TreeParent
public java.lang.Object[] getChildren()
getChildren
in class TreeParent
Copyright © 2007–2020. All rights reserved.