public class ItemDelegateWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACCOUNTING |
protected static String |
NT_ACCOUNTING |
| Constructor and Description |
|---|
ItemDelegateWrapper(org.gcube.common.homelibary.model.items.ItemDelegate item,
String login) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.homelibary.model.items.ItemDelegate |
addNode(javax.jcr.Session session)
Add node to parentNode
|
org.gcube.common.homelibary.model.items.ItemDelegate |
addNodeToParent(javax.jcr.Session session) |
org.gcube.common.homelibary.model.items.ItemDelegate |
save(javax.jcr.Session session,
boolean createVersion)
If the item already exists, update it otherwise add it
|
protected static final String ACCOUNTING
protected static final String NT_ACCOUNTING
public org.gcube.common.homelibary.model.items.ItemDelegate addNode(javax.jcr.Session session)
throws javax.jcr.RepositoryException
session - item - parentId - org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionjavax.jcr.RepositoryExceptionExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate save(javax.jcr.Session session,
boolean createVersion)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.version.VersionException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.lock.LockException,
javax.jcr.RepositoryException
createVersion - javax.jcr.nodetype.NoSuchNodeTypeExceptionjavax.jcr.version.VersionExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.RepositoryExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate addNodeToParent(javax.jcr.Session session)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.version.VersionException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.lock.LockException,
javax.jcr.RepositoryException
javax.jcr.nodetype.NoSuchNodeTypeExceptionjavax.jcr.version.VersionExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.RepositoryExceptionCopyright © 2017. All Rights Reserved.