public class DelegateManager extends Object
| Constructor and Description |
|---|
DelegateManager(org.gcube.common.homelibary.model.items.ItemDelegate item,
String login) |
DelegateManager(String name,
String type,
String parentId) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.homelibary.model.items.ItemDelegate |
addNode(String name) |
org.gcube.common.homelibary.model.items.ItemDelegate |
addNode(String name,
String type) |
org.gcube.common.homelibary.model.items.ItemDelegate |
getNode(String name)
Get ItemDelegate by relative Path
|
List<org.gcube.common.homelibary.model.items.ItemDelegate> |
getNodes() |
org.gcube.common.homelibary.model.items.ItemDelegate |
getParent() |
void |
remove()
Remove an Item Delegate by absolute path
|
org.gcube.common.homelibary.model.items.ItemDelegate |
save() |
void |
save(org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate) |
public DelegateManager(org.gcube.common.homelibary.model.items.ItemDelegate item,
String login)
public org.gcube.common.homelibary.model.items.ItemDelegate save()
throws Exception
Exceptionpublic void save(org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate)
throws Exception
Exceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate getParent()
public List<org.gcube.common.homelibary.model.items.ItemDelegate> getNodes()
public void remove()
public org.gcube.common.homelibary.model.items.ItemDelegate addNode(String name, String type)
public org.gcube.common.homelibary.model.items.ItemDelegate addNode(String name)
public org.gcube.common.homelibary.model.items.ItemDelegate getNode(String name) throws org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
relativePath - org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionCopyright © 2015. All Rights Reserved.