public class JCRMountPointNode extends JCRProtectedNodeAbstractDecorator
| Modifier and Type | Class and Description |
|---|---|
static class |
JCRMountPointNode.MountStatus |
JCRNodeWrapper.NodeNamingConflictResolutionStrategy| Modifier and Type | Field and Description |
|---|---|
static String |
MOUNT_POINT_PROPERTY_NAME |
static String |
MOUNT_POINT_SUFFIX |
static String |
MOUNT_STATUS_PROPERTY_NAME |
static String |
MOUNT_SUFFIX |
static String |
PROTECTED_PROPERTIES_PROPERTY_NAME |
nodeEMPTY| Constructor and Description |
|---|
JCRMountPointNode(JCRNodeWrapper node)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canReadProperty(String propertyName)
Only method to implement, that check the readability of a property, based on the property name
|
JCRStoreProvider |
getMountProvider() |
JCRMountPointNode.MountStatus |
getMountStatus() |
String |
getTargetMountPointPath() |
JCRNodeWrapper |
getVirtualMountPointNode()
Returns a special wrapper which is transparently handling the path of the mount point.
|
void |
remove() |
void |
setMountStatus(JCRMountPointNode.MountStatus mountStatus) |
void |
setMountStatus(String status) |
void |
setProtectedPropertyNames(String[] propertyNames) |
getProperties, getProperties, getProperties, getPropertiesAsString, getProperty, getPropertyAsString, hasPropertyaccept, addMixin, addNode, addNode, addNode, canAddMixin, cancelMerge, canMarkForDeletion, changeRoles, checkI18nAndMandatoryPropertiesForLocale, checkin, checkLanguageValidity, checkLock, checkout, checkpoint, checkValidity, clearAllLocks, clone, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyProperties, createCollection, decorateProperty, denyRoles, doneMerge, equals, followLifecycleTransition, getAbsoluteUrl, getAbsoluteWebdavUrl, getAccessControlManager, getAclEntries, getAclInheritanceBreak, getActualAclEntries, getAllowedLifecycleTransistions, getAncestor, getAncestors, getApplicableChildNodeDefinition, getApplicablePropertyDefinition, getApplicablePropertyDefinition, getAvailableRoles, getBaseVersion, getCanonicalPath, getContentLastModifiedAsDate, getContentLastPublishedAsDate, getCorrespondingNodePath, getCreationDateAsDate, getCreationUser, getDecoratedNode, getDefinition, getDepth, getDisplayableName, getExistingLocales, getFileContent, getI18N, getI18N, getI18Ns, getIdentifier, getIndex, getJCRProvider, getLanguage, getLastModifiedAsDate, getLastPublishedAsDate, getLinearVersionInfos, getLock, getLockedLocales, getLockInfos, getLockOwner, getMixinNodeTypes, getModificationUser, getName, getNode, getNodes, getNodes, getNodes, getNodeTypes, getOrCreateI18N, getOrCreateI18N, getParent, getPath, getPermissions, getPermissionsAsBitSet, getPlaceholder, getPrimaryItem, getPrimaryNodeType, getPrimaryNodeTypeName, getProvider, getPublicationUser, getRealNode, getReferenceProperties, getReferences, getReferences, getResolveSite, getSession, getSharedSet, getThumbnails, getThumbnailUrl, getThumbnailUrls, getUnescapedName, getUrl, getUser, getUUID, getVersionHistory, getVersionInfos, getVersions, getVersionsAsVersion, getWeakReferences, getWeakReferences, getWebdavUrl, grantRoles, hashCode, hasI18N, hasI18N, hasNode, hasNodes, hasPermission, hasProperties, hasTranslations, holdsLock, internalCopy, isCheckedOut, isCollection, isFile, isLockable, isLocked, isMarkedForDeletion, isModified, isNew, isNode, isNodeType, isPortlet, isSame, isVersioned, lock, lockAndStoreToken, lockAndStoreToken, markForDeletion, merge, orderBefore, refresh, removeMixin, removeShare, removeSharedSet, rename, restore, restore, restore, restoreByLabel, revokeAllRoles, revokeRolesForPrincipal, save, saveSession, setAclInheritanceBreak, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, toString, unlock, unlock, unlock, unmarkForDeletion, update, uploadFile, versionFilepublic static final String MOUNT_POINT_PROPERTY_NAME
public static final String MOUNT_STATUS_PROPERTY_NAME
public static final String MOUNT_SUFFIX
public static final String MOUNT_POINT_SUFFIX
public static final String PROTECTED_PROPERTIES_PROPERTY_NAME
public JCRMountPointNode(JCRNodeWrapper node)
node - the node to be decoratedprotected boolean canReadProperty(String propertyName) throws javax.jcr.RepositoryException
JCRProtectedNodeAbstractDecoratorcanReadProperty in class JCRProtectedNodeAbstractDecoratorpropertyName - the property name to checkjavax.jcr.RepositoryException - in case of JCR-related errorspublic void setProtectedPropertyNames(String[] propertyNames) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic JCRStoreProvider getMountProvider() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic JCRNodeWrapper getVirtualMountPointNode()
public void remove()
throws javax.jcr.version.VersionException,
javax.jcr.lock.LockException,
javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.RepositoryException
remove in interface javax.jcr.Itemremove in class JCRNodeDecoratorjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryExceptionpublic JCRMountPointNode.MountStatus getMountStatus()
public void setMountStatus(String status)
public void setMountStatus(JCRMountPointNode.MountStatus mountStatus)
public String getTargetMountPointPath()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.