Package | Description |
---|---|
info.magnolia.cms.beans.config | |
info.magnolia.cms.core | |
info.magnolia.cms.core.version | |
info.magnolia.cms.security | |
info.magnolia.cms.util | |
info.magnolia.jcr.util | |
info.magnolia.templating.jsp.taglib |
This file Copyright (c) 2012-2018 Magnolia International
Ltd.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ContentRepository.checkIfInitialized()
Deprecated.
since 4.5 - use
RepositoryManager.checkIfInitialized() directly. |
static boolean |
ContentRepository.checkIfInitialized(String logicalWorkspaceName)
Deprecated.
since 4.5 - use
RepositoryManager.checkIfInitialized(String) directly. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHierarchyManager.copyTo(String source,
String destination)
Deprecated.
copy content to the specified location.
|
Content |
AbstractContent.createContent(String name)
Deprecated.
|
Content |
Content.createContent(String name)
Deprecated.
Creates a Content node under the current node with the specified name.
|
Content |
AbstractContent.createContent(String name,
ItemType contentType)
Deprecated.
|
Content |
Content.createContent(String name,
ItemType contentType)
Deprecated.
Creates a Content node under the current node with the specified name.
|
Content |
DefaultContent.createContent(String name,
String contentType)
Deprecated.
|
Content |
Content.createContent(String name,
String contentType)
Deprecated.
Creates a Content node under the current node with the specified name.
|
Content |
DefaultHierarchyManager.createContent(String path,
String label,
String contentType)
Deprecated.
Creates contentNode of type contentType.
|
NodeData |
AbstractContent.createNodeData(String name)
Deprecated.
|
NodeData |
Content.createNodeData(String name)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Object) instead. |
NodeData |
AbstractContent.createNodeData(String name,
int type)
Deprecated.
|
NodeData |
Content.createNodeData(String name,
int type)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Object) instead. |
NodeData |
AbstractContent.createNodeData(String name,
javax.jcr.Value value)
Deprecated.
|
NodeData |
Content.createNodeData(String name,
javax.jcr.Value value)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Value) instead. |
NodeData |
AbstractContent.createNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
|
NodeData |
Content.createNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
since 4.3, as JCR only supports set or remove operations for properties we
recommend to use
Content.setNodeData(String, Value[]) instead. |
void |
DefaultHierarchyManager.delete(String path)
Deprecated.
removes specified path, it can be either node or property.
|
Content |
DefaultContent.getAncestor(int level)
Deprecated.
|
Content |
Content.getAncestor(int level)
Deprecated.
get absolute parent object starting from the root node.
|
Content |
DefaultHierarchyManager.getContent(String path)
Deprecated.
get content object of the requested URI.
|
Content |
DefaultContent.getContent(String name)
Deprecated.
|
Content |
Content.getContent(String name)
Deprecated.
Gets the Content node of the current node with the specified name.
|
Content |
DefaultHierarchyManager.getContent(String path,
boolean create,
ItemType type)
Deprecated.
Like getContent() but creates the node if not yet existing.
|
Content |
DefaultHierarchyManager.getContentByUUID(String uuid)
Deprecated.
This method can be used to retrieve Content which has UUID assigned to it, in other words only those nodes which
has mixin type mix:referenceable.
|
NodeData |
DefaultHierarchyManager.getNodeData(String path)
Deprecated.
get NodeData object of the requested URI.
|
Content |
DefaultHierarchyManager.getPage(String path,
String templateName)
Deprecated.
since 4.0 - only used by taglibs - should go/move.
|
Content |
DefaultContent.getParent()
Deprecated.
|
Content |
NodeData.getParent()
Deprecated.
returns Parent node.
|
Content |
Content.getParent()
Deprecated.
get parent content object.
|
Content |
DefaultHierarchyManager.getRoot()
Deprecated.
|
static void |
Access.isGranted(AccessManager manager,
String path,
long permissions)
Deprecated.
AccessManager is no longer supported and used. Use JCR Session based security instead.
|
boolean |
DefaultHierarchyManager.isNodeData(String path)
Deprecated.
checks if the requested resource is an NodeData (Property).
|
boolean |
AbstractContent.isNodeData(String path)
Deprecated.
|
boolean |
HierarchyManager.isNodeData(String path)
Deprecated.
|
boolean |
Content.isNodeData(String path)
Deprecated.
checks if the requested resource is an NodeData (Property).
|
void |
DefaultHierarchyManager.moveTo(String source,
String destination)
Deprecated.
move content to the specified location.
|
NodeData |
DefaultContent.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
Deprecated.
|
abstract NodeData |
AbstractContent.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
Deprecated.
As defined in
Content.getNodeData(String) this method always returns a node data object. |
void |
DefaultContent.removeVersionHistory()
Deprecated.
|
void |
Content.removeVersionHistory()
Deprecated.
removes all versions of this node and associated version graph.
|
void |
BinaryNodeData.setAttribute(String name,
Calendar value) |
void |
AbstractNodeData.setAttribute(String name,
Calendar value)
Deprecated.
|
void |
NodeData.setAttribute(String name,
Calendar value)
Deprecated.
set attribute, available only if NodeData is of type
Binary . |
void |
BinaryNodeData.setAttribute(String name,
String value) |
void |
AbstractNodeData.setAttribute(String name,
String value)
Deprecated.
|
void |
NodeData.setAttribute(String name,
String value)
Deprecated.
set attribute, available only if NodeData is of type
Binary . |
protected void |
DefaultHierarchyManager.setMetaData(MetaData md)
Deprecated.
Helper method to set page properties, create page calls this method.
|
NodeData |
AbstractContent.setNodeData(String name,
boolean value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
boolean value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Calendar value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
Calendar value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Content value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
Content value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
double value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
double value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
InputStream value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
InputStream value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
long value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
long value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
Object value)
Deprecated.
Uses the
NodeDataUtil to create and set the node data based on the object type. |
NodeData |
Content.setNodeData(String name,
Object value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
String value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
String value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
javax.jcr.Value value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
javax.jcr.Value value)
Deprecated.
Sets the node data.
|
NodeData |
AbstractContent.setNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
|
NodeData |
Content.setNodeData(String name,
javax.jcr.Value[] value)
Deprecated.
Sets the node data.
|
void |
DefaultNodeData.setValue(boolean value)
Deprecated.
|
void |
NonExistingNodeData.setValue(boolean value) |
void |
NodeData.setValue(boolean value)
Deprecated.
set value of type
boolean . |
void |
DefaultNodeData.setValue(Calendar value)
Deprecated.
|
void |
NonExistingNodeData.setValue(Calendar value) |
void |
NodeData.setValue(Calendar value)
Deprecated.
set value of type
Calendar . |
void |
DefaultNodeData.setValue(Content value)
Deprecated.
|
void |
NonExistingNodeData.setValue(Content value) |
void |
NodeData.setValue(Content value)
Deprecated.
Sets a reference value.
|
void |
DefaultNodeData.setValue(double value)
Deprecated.
|
void |
NonExistingNodeData.setValue(double value) |
void |
NodeData.setValue(double value)
Deprecated.
set value of type
double . |
void |
BinaryNodeData.setValue(InputStream value) |
void |
DefaultNodeData.setValue(InputStream value)
Deprecated.
|
void |
NonExistingNodeData.setValue(InputStream value) |
void |
NodeData.setValue(InputStream value)
Deprecated.
set value of type
InputStream . |
void |
DefaultNodeData.setValue(int value)
Deprecated.
|
void |
NonExistingNodeData.setValue(int value) |
void |
NodeData.setValue(int value)
Deprecated.
set value of type
int . |
void |
DefaultNodeData.setValue(long value)
Deprecated.
|
void |
NonExistingNodeData.setValue(long value) |
void |
NodeData.setValue(long value)
Deprecated.
set value of type
long . |
void |
DefaultNodeData.setValue(String value)
Deprecated.
|
void |
NonExistingNodeData.setValue(String value) |
void |
NodeData.setValue(String value)
Deprecated.
set value of type
String . |
void |
DefaultNodeData.setValue(javax.jcr.Value value)
Deprecated.
|
void |
NonExistingNodeData.setValue(javax.jcr.Value value) |
void |
NodeData.setValue(javax.jcr.Value value)
Deprecated.
set value of type
Value . |
void |
DefaultNodeData.setValue(javax.jcr.Value[] value)
Deprecated.
|
void |
NonExistingNodeData.setValue(javax.jcr.Value[] value) |
void |
NodeData.setValue(javax.jcr.Value[] value)
Deprecated.
set value of type
Value[] . |
void |
AbstractContent.updateMetaData()
Deprecated.
|
void |
Content.updateMetaData()
Deprecated.
You could call this method anytime to update working page properties - Modification date &
Author ID.
|
Content |
DefaultHierarchyManager.wrapAsContent(javax.jcr.Node rootNode,
String path)
Deprecated.
|
protected Content |
DefaultContent.wrapAsContent(javax.jcr.Node node,
String name)
Deprecated.
|
protected Content |
DefaultHierarchyManager.wrapAsContent(javax.jcr.Node rootNode,
String path,
String contentType)
Deprecated.
|
protected Content |
DefaultContent.wrapAsContent(javax.jcr.Node node,
String name,
String contentType)
Deprecated.
|
Constructor and Description |
---|
DefaultContent(javax.jcr.Node rootNode,
String path)
Deprecated.
Constructor to get existing node.
|
DefaultContent(javax.jcr.Node rootNode,
String path,
String contentType)
Deprecated.
since 5.4
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentVersion.createContent(String name)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
Content |
ContentVersion.createContent(String name,
ItemType contentType)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
Content |
ContentVersion.createContent(String name,
String contentType)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
int type)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
javax.jcr.Value value)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
NodeData |
ContentVersion.createNodeData(String name,
javax.jcr.Value value,
int type)
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
Content |
ContentVersion.getAncestor(int level)
Deprecated.
|
Content |
ContentVersion.getContent(String name)
Deprecated.
Returns a direct child if it was included in the version.
|
Content |
ContentVersion.getParent()
Deprecated.
Returns the parent of the base node.
|
void |
ContentVersion.updateMetaData()
Deprecated.
Throws an
AccessDeniedException as versions are read only. |
Modifier and Type | Method and Description |
---|---|
Group |
MgnlGroupManager.addGroup(Group group,
String groupName) |
Group |
GroupManager.addGroup(Group group,
String groupName)
Adds a group to a group.
|
void |
MgnlGroup.addGroup(String groupName)
Add a subgroup to this group.
|
void |
Group.addGroup(String groupName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
MgnlGroupManager.addRole(Group group,
String roleName) |
Group |
GroupManager.addRole(Group group,
String roleName)
Grants a role to a group.
|
void |
MgnlGroup.addRole(String roleName) |
void |
Group.addRole(String roleName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
MgnlGroupManager.createGroup(String name) |
Group |
GroupManager.createGroup(String name)
Creates a new group in the root folder.
|
Group |
MgnlGroupManager.createGroup(String path,
String name)
Creates a new group in a specific folder.
|
Role |
MgnlRoleManager.createRole(String name) |
Role |
MgnlRoleManager.createRole(String path,
String name)
Create a new role in a specific folder without any security restrictions.
|
Role |
RoleManager.createRole(String path,
String name) |
Group |
MgnlGroupManager.getGroup(String name) |
Group |
GroupManager.getGroup(String name)
Get a group by name.
|
boolean |
MgnlGroup.hasRole(String roleName) |
boolean |
Group.hasRole(String roleName) |
Group |
MgnlGroupManager.removeGroup(Group group,
String groupName) |
Group |
GroupManager.removeGroup(Group group,
String groupName)
Removes group from a group.
|
void |
MgnlGroup.removeGroup(String groupName)
Remove a subgroup from this group.
|
void |
Group.removeGroup(String groupName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
MgnlGroupManager.removeRole(Group group,
String roleName) |
Group |
GroupManager.removeRole(Group group,
String roleName)
Removes role from a group.
|
void |
MgnlGroup.removeRole(String roleName) |
void |
Group.removeRole(String roleName)
Deprecated.
since 5.3.3 use manager instead
|
protected void |
MgnlGroupManager.validateGroupName(String name) |
protected void |
MgnlRoleManager.validateRoleName(String name) |
static void |
PermissionUtil.verifyIsGrantedOrThrowException(javax.jcr.Session jcrSession,
String path,
String action)
Checks whether given session has requested permission on provided path.
|
Modifier and Type | Method and Description |
---|---|
static Content |
ContentUtil.createPath(Content parent,
String path,
ItemType type)
Deprecated.
|
static Content |
ContentUtil.createPath(Content parent,
String path,
ItemType type,
boolean save)
Deprecated.
|
static Content |
ContentUtil.createPath(HierarchyManager hm,
String path)
Deprecated.
|
static Content |
ContentUtil.createPath(HierarchyManager hm,
String path,
boolean save)
Deprecated.
|
static Content |
ContentUtil.createPath(HierarchyManager hm,
String path,
ItemType type)
Deprecated.
|
static Content |
ContentUtil.createPath(HierarchyManager hm,
String path,
ItemType type,
boolean save)
Deprecated.
|
static void |
ContentUtil.deleteAndRemoveEmptyParents(Content node)
Deprecated.
|
static void |
ContentUtil.deleteAndRemoveEmptyParents(Content node,
int level)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name)
Deprecated.
If the NodeData does not exist yet, just create it.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name,
int type)
Deprecated.
If the NodeData does not exist yet, just create it.
|
static NodeData |
NodeDataUtil.getOrCreate(Content node,
String name,
Object obj)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
boolean value)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
int value)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
long value)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
Object obj)
Deprecated.
|
static NodeData |
NodeDataUtil.getOrCreateAndSet(Content node,
String name,
javax.jcr.Value[] value)
Deprecated.
|
static Content |
ContentUtil.getOrCreateContent(Content node,
String name,
ItemType contentType)
Deprecated.
If the node doesn't exist just create it.
|
static Content |
ContentUtil.getOrCreateContent(Content node,
String name,
ItemType contentType,
boolean save)
Deprecated.
If the node doesn't exist just create it.
|
Content |
NodeDataWrapper.getParent()
Deprecated.
|
boolean |
HierarchyManagerWrapper.isNodeData(String path)
Deprecated.
|
NodeData |
ContentWrapper.newNodeDataInstance(String name,
int type,
boolean createIfNotExisting)
Deprecated.
|
void |
NodeDataWrapper.setAttribute(String name,
Calendar value)
Deprecated.
|
void |
NodeDataWrapper.setAttribute(String name,
String value)
Deprecated.
|
void |
NodeDataWrapper.setValue(boolean value)
Deprecated.
|
void |
NodeDataWrapper.setValue(Calendar value)
Deprecated.
|
void |
NodeDataWrapper.setValue(Content value)
Deprecated.
|
void |
NodeDataWrapper.setValue(double value)
Deprecated.
|
void |
NodeDataWrapper.setValue(InputStream value)
Deprecated.
|
void |
NodeDataWrapper.setValue(int value)
Deprecated.
|
void |
NodeDataWrapper.setValue(long value)
Deprecated.
|
static NodeData |
NodeDataUtil.setValue(NodeData nodeData,
Object valueObj)
Deprecated.
Calls the correct setValue method based on object type.
|
void |
NodeDataWrapper.setValue(String value)
Deprecated.
|
void |
NodeDataWrapper.setValue(javax.jcr.Value value)
Deprecated.
|
void |
NodeDataWrapper.setValue(javax.jcr.Value[] value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static javax.jcr.Node |
NodeUtil.createPath(javax.jcr.Node parent,
String relPath,
String primaryNodeTypeName)
Creates a node under the specified parent and relative path, then returns it.
|
static javax.jcr.Node |
NodeUtil.createPath(javax.jcr.Node parent,
String relPath,
String primaryNodeTypeName,
boolean save)
Creates a node under the specified parent and relative path, then returns it.
|
Modifier and Type | Method and Description |
---|---|
protected javax.jcr.Node |
BaseImageTag.getImageContentNode() |
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.