public class RepositoryUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GUIDE_CONTAINER_NODE_NAME |
static java.lang.String |
JCR_CONTENT_NODE_NAME |
static java.lang.String |
METADATA_NODE_NAME |
static java.lang.String |
ORIGINAL_RENDITION_NODE_NAME |
static java.lang.String |
RENDITIONS_NODE_NAME |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
findParentCQPage(java.lang.String currentNodePath,
Session session) |
Node |
getChildNode(Node node,
java.lang.String nodeName,
java.lang.String nodeType,
boolean create) |
Node |
getContentNode(Node formNode,
boolean create) |
Node |
getDraftsRootNode(Node userNode,
boolean create) |
Node |
getGuideContainerNode(Node guideNode) |
static RepositoryUtils |
getInstance(FormsPortalDraftsandSubmissionConfigService draftsAndSubmissionConfigObject) |
Node |
getMetadataNode(Node formNode,
boolean create) |
Node |
getOriginalRenditionContentNode(Node formNode,
boolean create) |
Node |
getOriginalRenditionNode(Node formNode,
boolean create) |
Node |
getRenditionNode(Node formNode,
boolean create) |
Node |
getRootNode(Session session)
Returns the Forms Portal root Node.
|
Node |
getSubmitRootNode(Node userNode,
boolean create) |
Node |
getTempRootNode(Node userNode,
boolean create) |
Node |
getUserGuideNode(Node node,
java.lang.String guideName,
boolean create) |
Node |
getUserNode(java.lang.String userName,
boolean create,
Session session)
Returns node corresponding userName passed.
|
public static final java.lang.String METADATA_NODE_NAME
public static final java.lang.String JCR_CONTENT_NODE_NAME
public static final java.lang.String RENDITIONS_NODE_NAME
public static final java.lang.String ORIGINAL_RENDITION_NODE_NAME
public static final java.lang.String GUIDE_CONTAINER_NODE_NAME
public static RepositoryUtils getInstance(FormsPortalDraftsandSubmissionConfigService draftsAndSubmissionConfigObject)
public Node getRootNode(Session session) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
session
- FormsPortalRepositoryException
ItemExistsException
PathNotFoundException
NoSuchNodeTypeException
LockException
VersionException
ConstraintViolationException
RepositoryException
public Node getUserNode(java.lang.String userName, boolean create, Session session) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException, java.io.UnsupportedEncodingException
fpRootNode
- userName
- create
- Session
- FormsPortalRepositoryException
ItemExistsException
PathNotFoundException
NoSuchNodeTypeException
LockException
VersionException
ConstraintViolationException
RepositoryException
java.io.UnsupportedEncodingException
public Node getUserGuideNode(Node node, java.lang.String guideName, boolean create) throws ItemExistsException, PathNotFoundException, VersionException, ConstraintViolationException, LockException, RepositoryException
public Node getChildNode(Node node, java.lang.String nodeName, java.lang.String nodeType, boolean create) throws ItemExistsException, PathNotFoundException, VersionException, ConstraintViolationException, LockException, RepositoryException
public Node getSubmitRootNode(Node userNode, boolean create) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public Node getTempRootNode(Node userNode, boolean create) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public Node getDraftsRootNode(Node userNode, boolean create) throws ItemExistsException, PathNotFoundException, VersionException, ConstraintViolationException, LockException, RepositoryException
public Node getMetadataNode(Node formNode, boolean create) throws RepositoryException, ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException
public Node getContentNode(Node formNode, boolean create) throws RepositoryException, ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException
public Node getRenditionNode(Node formNode, boolean create) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public Node getOriginalRenditionNode(Node formNode, boolean create) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public Node getOriginalRenditionContentNode(Node formNode, boolean create) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public Node getGuideContainerNode(Node guideNode) throws ItemExistsException, PathNotFoundException, NoSuchNodeTypeException, LockException, VersionException, ConstraintViolationException, RepositoryException
public java.lang.String findParentCQPage(java.lang.String currentNodePath, Session session) throws RepositoryException
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved