@Singleton public class Item2NodeConverter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Item2NodeConverter.Values |
| Constructor and Description |
|---|
Item2NodeConverter() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.gcube.common.storagehub.model.items.Item> |
getNode(javax.jcr.Node parentNode,
T item) |
<F extends org.gcube.common.storagehub.model.items.AbstractFileItem> |
replaceContent(javax.jcr.Node node,
F item,
org.gcube.common.storagehub.model.types.ItemAction action) |
void |
updateHidden(javax.jcr.Node node,
Boolean hidden,
String login) |
<I extends org.gcube.common.storagehub.model.items.Item> |
updateMetadataNode(javax.jcr.Node node,
Map<String,Object> meta,
String login) |
void |
updateOwner(javax.jcr.Node node,
String owner) |
void |
updateOwnerOnSubTree(javax.jcr.Node node,
String owner) |
public <T extends org.gcube.common.storagehub.model.items.Item> javax.jcr.Node getNode(javax.jcr.Node parentNode,
T item)
public <F extends org.gcube.common.storagehub.model.items.AbstractFileItem> void replaceContent(javax.jcr.Node node,
F item,
org.gcube.common.storagehub.model.types.ItemAction action)
public void updateHidden(javax.jcr.Node node,
Boolean hidden,
String login)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void updateOwnerOnSubTree(javax.jcr.Node node,
String owner)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void updateOwner(javax.jcr.Node node,
String owner)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2020. All Rights Reserved.