|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.jcr.item.ItemResolver
public class ItemResolver
Responsible for finding JCR Items (Nodes, Properties) from Alfresco equivalents
| Constructor Summary | |
|---|---|
ItemResolver()
|
|
| Method Summary | |
|---|---|
static ItemImpl |
findItem(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
Create an Item from a JCR Path |
static NodeImpl |
findNode(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
Create an Node from a JCR Path |
static org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
Gets the Node Reference for the node at the specified path |
static boolean |
itemExists(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
Determine if Item exists |
static boolean |
nodeExists(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
Determine if Node exists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemResolver()
| Method Detail |
|---|
public static ItemImpl findItem(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
throws javax.jcr.PathNotFoundException
context - session contextfrom - starting node for pathpath - the path
javax.jcr.PathNotFoundException
public static NodeImpl findNode(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
throws javax.jcr.PathNotFoundException
context - session contextfrom - starting node for pathpath - the path
javax.jcr.PathNotFoundException
public static boolean itemExists(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
context - session contextfrom - starting node for pathpath - the path
public static boolean nodeExists(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
context - session contextfrom - starting node for pathpath - the path
public static org.alfresco.service.cmr.repository.NodeRef getNodeRef(SessionImpl context,
org.alfresco.service.cmr.repository.NodeRef from,
java.lang.String path)
context - session contextfrom - the starting node for the pathpath - the path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||