public class I18nContentWrapper extends ContentWrapper
I18nContentSupport
,
ContentWrapper
Content.ContentFilter
Constructor and Description |
---|
I18nContentWrapper(Content node) |
Modifier and Type | Method and Description |
---|---|
NodeData |
newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
As defined in
Content.getNodeData(String) this method always returns a node data object. |
protected Content |
wrap(Content node)
Override if a wrapper wants to wrap returned content objects.
|
addMixin, addVersion, addVersion, createContent, delete, deleteNodeData, getAllVersions, getAncestor, getAncestors, getBaseVersion, getChildByName, getChildren, getContent, getHandle, getHierarchyManager, getIndex, getItemType, getJCRNode, getLevel, getLock, getMetaData, getMixinNodeTypes, getName, getNodeDataCollection, getNodeType, getNodeTypeName, getParent, getTemplate, getTitle, getUUID, getVersionedContent, getVersionedContent, getVersionHistory, getWorkspace, getWrappedContent, hasContent, hasMetaData, hasMixin, holdsLock, isGranted, isLocked, isModified, isNodeData, isNodeType, lock, lock, orderBefore, refresh, removeMixin, removeVersionHistory, restore, restore, restore, restoreByLabel, save, setWrappedContent, toString, unlock, updateMetaData, wrap, wrapContentNodes, wrapNodeDatas
createContent, createContent, createNodeData, createNodeData, createNodeData, createNodeData, createNodeData, delete, getBinaryNodeDatas, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getNodeData, getNodeDataCollection, hasChildren, hasChildren, hasNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData, setNodeData
clone, getAccessManager, setAccessManager
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAccessManager
public I18nContentWrapper(Content node)
public NodeData newNodeDataInstance(String name, int type, boolean createIfNotExisting) throws AccessDeniedException, javax.jcr.RepositoryException
AbstractContent
Content.getNodeData(String)
this method always returns a node data object. If the type is PropertyType.UNDEFINED
the implementation should check if the node data exists and determine the type to use.newNodeDataInstance
in class ContentWrapper
createIfNotExisting
- if false an empty non-mutable node data will be returned if the node data doesn't exist otherwise a mutable nodedata object is returned (depending on the type)AccessDeniedException
javax.jcr.RepositoryException
protected Content wrap(Content node)
ContentWrapper
wrap
in class ContentWrapper
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.