public class JCRFrozenNodeAsRegular extends JCRNodeWrapperImpl
JCRNodeWrapper.NodeNamingConflictResolutionStrategyaclEntries, breakAcl, EXTERNAL_IDENTIFIER_PROP_NAME_SEPARATOR, EXTERNAL_IDENTIFIER_PROP_NAME_SEPARATOR_PATTERN, fileContent, i18NobjectNodes, objectNode, parentAlreadyResolved, resolvedParentNode, siteitem, localPath, localPathInProvider, provider, sessionEMPTY| Constructor and Description |
|---|
JCRFrozenNodeAsRegular(javax.jcr.Node objectNode,
String path,
JCRNodeWrapper parent,
JCRSessionWrapper session,
JCRStoreProvider provider,
Date versionDate,
String versionLabel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
copy(JCRNodeWrapper dest,
String name,
boolean allowsExternalSharedNodes)
Copy the current file node to another destination node supplying it given name
|
boolean |
copy(JCRNodeWrapper dest,
String name,
boolean allowsExternalSharedNodes,
List<String> ignoreNodeTypes,
int maxBatch) |
boolean |
copy(JCRNodeWrapper dest,
String name,
boolean allowsExternalSharedNodes,
Map<String,List<String>> references,
List<String> ignoreNodeTypes,
int maxBatch,
org.apache.commons.lang.mutable.MutableInt batchCount) |
boolean |
copy(String dest)
Copy the current file node to another destination
|
boolean |
copy(String dest,
String name)
Copy the current file node to another destination supplying it given name
|
void |
copyProperties(JCRNodeWrapper destinationNode,
Map<String,List<String>> references) |
JCRItemWrapper |
getAncestor(int i)
Item at the specified depth. |
List<JCRItemWrapper> |
getAncestors()
Returns a list of all the ancestor of this item.
|
ExtendedNodeDefinition |
getApplicableChildNodeDefinition(String childName,
String nodeType)
Get the child node definition object applicable to the given child name
|
ExtendedPropertyDefinition |
getApplicablePropertyDefinition(String propertyName)
Get the property definition object applicable to the given property name
|
javax.jcr.Node |
getI18N(Locale locale,
boolean fallback)
Get the translation node
Use only in un-localized session
|
String |
getIdentifier() |
ExtendedNodeType[] |
getMixinNodeTypes() |
String |
getName() |
JCRNodeWrapper |
getNode(String relPath) |
JCRNodeIteratorWrapper |
getNodes() |
JCRNodeIteratorWrapper |
getNodes(String namePattern) |
JCRNodeIteratorWrapper |
getNodes(String[] nameGlobs) |
ExtendedNodeType |
getPrimaryNodeType() |
String |
getPrimaryNodeTypeName()
Returns the name of the primary node type in effect for this node.
|
javax.jcr.PropertyIterator |
getProperties() |
javax.jcr.PropertyIterator |
getProperties(String namePattern) |
javax.jcr.PropertyIterator |
getProperties(String[] nameGlobs) |
JCRPropertyWrapper |
getProperty(String name) |
String |
getUrl()
Get the file content url
|
Date |
getVersionDate() |
String |
getVersionLabel() |
String |
internalGetPath() |
boolean |
isNodeType(String path) |
void |
setVersionDate(Date versionDate) |
addMixin, addNode, addNode, addNode, buildSubnodePath, canAddMixin, cancelMerge, canMarkForDeletion, changeRoles, checkI18nAndMandatoryPropertiesForLocale, checkin, checkLanguageValidity, checkLock, checkout, checkpoint, checkValidity, clearAllLocks, clone, copy, copy, copy, copy, createCollection, denyRoles, doneMerge, equals, flushLocalCaches, followLifecycleTransition, getAbsoluteUrl, getAbsoluteWebdavUrl, getAccessControlManager, getAclEntries, getAclInheritanceBreak, getActualAclEntries, getAllowedLifecycleTransistions, getApplicablePropertyDefinition, getAvailableRoles, getBaseVersion, getContentLastModifiedAsDate, getContentLastPublishedAsDate, getCorrespondingNodePath, getCreationDateAsDate, getCreationUser, getDefinition, getDisplayableName, getExistingLocales, getFileContent, getI18N, getI18Ns, getIndex, getJCRProvider, getLanguage, getLastModifiedAsDate, getLastPublishedAsDate, getLinearVersionInfos, getLock, getLockedLocales, getLockedLocalesForUserAndType, getLockInfos, getLockOwner, getModificationUser, getNodes, getNodeTypes, getOrCreateAcl, getOrCreateI18N, getOrCreateI18N, getOriginalMixinNodeTypes, getParent, getPermissions, getPermissionsAsBitSet, getPlaceholder, getPrimaryItem, getPropertiesAsString, getPropertyAsString, getProvider, getPublicationUser, getRealNode, getReferenceProperties, getReferences, getReferences, getResolveSite, getSharedSet, getThumbnails, getThumbnailUrl, getThumbnailUrls, getUnescapedName, getUser, getUUID, getVersionHistory, getVersionInfos, getVersions, getVersionsAsVersion, getWeakReferences, getWeakReferences, getWebdavUrl, grantRoles, hashCode, hasI18N, hasI18N, hasNode, hasNodes, hasPermission, hasProperties, hasProperty, hasTranslations, holdsLock, internalCopy, internalCopy, isCheckedOut, isCollection, isFile, isLockable, isLocked, isMarkedForDeletion, isPortlet, isVersioned, lock, lockAndStoreToken, lockAndStoreToken, markForDeletion, merge, orderBefore, remove, removeMixin, removeShare, removeSharedSet, rename, restore, restore, restore, restoreByLabel, revokeAllRoles, revokeRolesForPrincipal, setAclInheritanceBreak, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, unlock, unlock, unlock, unmarkForDeletion, update, uploadFile, versionFileaccept, getCanonicalPath, getDepth, getPath, getSession, isModified, isNew, isNode, isSame, refresh, save, saveSession, setItem, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPathgetCanonicalPath, getSession, saveSessionpublic JCRFrozenNodeAsRegular(javax.jcr.Node objectNode,
String path,
JCRNodeWrapper parent,
JCRSessionWrapper session,
JCRStoreProvider provider,
Date versionDate,
String versionLabel)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String internalGetPath()
public JCRNodeWrapper getNode(String relPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
JCRNodeWrapperImplgetNode in interface javax.jcr.NodegetNode in interface JCRNodeWrappergetNode in class JCRNodeWrapperImplrelPath.javax.jcr.PathNotFoundExceptionjavax.jcr.RepositoryExceptionpublic JCRNodeIteratorWrapper getNodes() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetNodes in interface javax.jcr.NodegetNodes in interface JCRNodeWrappergetNodes in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic JCRNodeIteratorWrapper getNodes(String[] nameGlobs) throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetNodes in interface javax.jcr.NodegetNodes in interface JCRNodeWrappergetNodes in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic JCRNodeIteratorWrapper getNodes(String namePattern) throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetNodes in interface javax.jcr.NodegetNodes in interface JCRNodeWrappergetNodes in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic String getPrimaryNodeTypeName() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetPrimaryNodeTypeName in interface JCRNodeWrappergetPrimaryNodeTypeName in class JCRNodeWrapperImpljavax.jcr.RepositoryException - in case of JCR-related errorspublic String getName()
JCRNodeWrapperImplgetName in interface javax.jcr.ItemgetName in interface JCRNodeWrappergetName in class JCRNodeWrapperImplpublic ExtendedNodeType getPrimaryNodeType() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetPrimaryNodeType in interface javax.jcr.NodegetPrimaryNodeType in interface JCRNodeWrappergetPrimaryNodeType in class JCRNodeWrapperImplExtendedNodeType object.javax.jcr.RepositoryExceptionpublic javax.jcr.PropertyIterator getProperties()
throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetProperties in interface javax.jcr.NodegetProperties in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic javax.jcr.PropertyIterator getProperties(String namePattern) throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetProperties in interface javax.jcr.NodegetProperties in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic javax.jcr.PropertyIterator getProperties(String[] nameGlobs) throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetProperties in interface javax.jcr.NodegetProperties in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic JCRPropertyWrapper getProperty(String name) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
JCRNodeWrapperImplgetProperty in interface javax.jcr.NodegetProperty in interface JCRNodeWrappergetProperty in class JCRNodeWrapperImplrelPath.javax.jcr.PathNotFoundExceptionjavax.jcr.RepositoryExceptionpublic boolean isNodeType(String path) throws javax.jcr.RepositoryException
JCRNodeWrapperImplisNodeType in interface javax.jcr.NodeisNodeType in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic JCRItemWrapper getAncestor(int i) throws javax.jcr.ItemNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
JCRItemWrapperImplItem at the specified depth.getAncestor in interface javax.jcr.ItemgetAncestor in interface JCRItemWrappergetAncestor in class JCRItemWrapperImplItem at the specified depth.javax.jcr.ItemNotFoundExceptionjavax.jcr.AccessDeniedExceptionjavax.jcr.RepositoryExceptionpublic List<JCRItemWrapper> getAncestors() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetAncestors in interface JCRNodeWrappergetAncestors in class JCRNodeWrapperImpljavax.jcr.RepositoryException - in case of JCR-related errorspublic ExtendedNodeType[] getMixinNodeTypes() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetMixinNodeTypes in interface javax.jcr.NodegetMixinNodeTypes in interface JCRNodeWrappergetMixinNodeTypes in class JCRNodeWrapperImplExtendedNodeType objects.javax.jcr.RepositoryExceptionpublic javax.jcr.Node getI18N(Locale locale, boolean fallback) throws javax.jcr.RepositoryException
JCRNodeWrappergetI18N in interface JCRNodeWrappergetI18N in class JCRNodeWrapperImpljavax.jcr.RepositoryException - in case of JCR-related errorspublic String getUrl()
JCRNodeWrapperImplgetUrl in interface JCRNodeWrappergetUrl in class JCRNodeWrapperImplpublic void setVersionDate(Date versionDate)
public Date getVersionDate()
public String getVersionLabel()
public boolean copy(String dest) throws javax.jcr.RepositoryException
copy in interface JCRNodeWrappercopy in class JCRNodeWrapperImpldest - The destination name for the file nodejavax.jcr.RepositoryException - in case of JCR-related errorspublic boolean copy(String dest, String name) throws javax.jcr.RepositoryException
copy in interface JCRNodeWrappercopy in class JCRNodeWrapperImpldest - The destination name for the file nodename - The new name of the copied file nodejavax.jcr.RepositoryException - in case of JCR-related errorspublic boolean copy(JCRNodeWrapper dest, String name, boolean allowsExternalSharedNodes) throws javax.jcr.RepositoryException
copy in interface JCRNodeWrappercopy in class JCRNodeWrapperImpldest - The destination nodename - The new name of the copied file nodejavax.jcr.RepositoryException - in case of JCR-related errorspublic boolean copy(JCRNodeWrapper dest, String name, boolean allowsExternalSharedNodes, List<String> ignoreNodeTypes, int maxBatch) throws javax.jcr.RepositoryException
copy in interface JCRNodeWrappercopy in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic boolean copy(JCRNodeWrapper dest, String name, boolean allowsExternalSharedNodes, Map<String,List<String>> references, List<String> ignoreNodeTypes, int maxBatch, org.apache.commons.lang.mutable.MutableInt batchCount) throws javax.jcr.RepositoryException
copy in interface JCRNodeWrappercopy in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic void copyProperties(JCRNodeWrapper destinationNode, Map<String,List<String>> references) throws javax.jcr.RepositoryException
copyProperties in interface JCRNodeWrappercopyProperties in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic String getIdentifier() throws javax.jcr.RepositoryException
JCRNodeWrapperImplgetIdentifier in interface javax.jcr.NodegetIdentifier in class JCRNodeWrapperImpljavax.jcr.RepositoryExceptionpublic ExtendedPropertyDefinition getApplicablePropertyDefinition(String propertyName) throws javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
JCRNodeWrapperImplgetApplicablePropertyDefinition in interface JCRNodeWrappergetApplicablePropertyDefinition in class JCRNodeWrapperImplpropertyName - the name of the property to find the corresponding definitionExtendedPropertyDefinition for the given propertyjavax.jcr.RepositoryException - in case of JCR-related errorsjavax.jcr.nodetype.ConstraintViolationExceptionpublic ExtendedNodeDefinition getApplicableChildNodeDefinition(String childName, String nodeType) throws javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
JCRNodeWrappergetApplicableChildNodeDefinition in interface JCRNodeWrappergetApplicableChildNodeDefinition in class JCRNodeWrapperImplchildName - the name of the property to find the corresponding definitionExtendedPropertyDefinition for the given propertyjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryException - in case of JCR-related errorsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.