public class ItemHandler extends Object
| Constructor and Description |
|---|
ItemHandler() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.gcube.common.storagehub.model.items.Item> |
createNodeFromItem(javax.jcr.Session session,
javax.jcr.Node parentNode,
T item) |
static <T extends org.gcube.common.storagehub.model.items.Item> |
getItem(javax.jcr.Node node,
List<String> excludes) |
static <F extends org.gcube.common.storagehub.model.items.AbstractFileItem> |
replaceContent(javax.jcr.Session session,
javax.jcr.Node node,
F item) |
public static <T extends org.gcube.common.storagehub.model.items.Item> T getItem(javax.jcr.Node node,
List<String> excludes)
throws javax.jcr.RepositoryException,
org.gcube.common.storagehub.model.exceptions.BackendGenericError
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.BackendGenericErrorpublic static <T extends org.gcube.common.storagehub.model.items.Item> javax.jcr.Node createNodeFromItem(javax.jcr.Session session,
javax.jcr.Node parentNode,
T item)
public static <F extends org.gcube.common.storagehub.model.items.AbstractFileItem> void replaceContent(javax.jcr.Session session,
javax.jcr.Node node,
F item)
Copyright © 2018. All Rights Reserved.