info.magnolia.jcr.decoration
Class ContentDecoratorWorkspaceWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
      extended by info.magnolia.jcr.decoration.ContentDecoratorWorkspaceWrapper
All Implemented Interfaces:
javax.jcr.Workspace
Direct Known Subclasses:
MgnlAuditLoggingContentDecoratorWorspaceWrapper

public class ContentDecoratorWorkspaceWrapper
extends DelegateWorkspaceWrapper

Workspace wrapper that applies wrappers and filtering by delegating to a ContentDecorator.


Field Summary
 
Fields inherited from class info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
wrapped
 
Fields inherited from interface javax.jcr.Workspace
NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS
 
Constructor Summary
protected ContentDecoratorWorkspaceWrapper(javax.jcr.Workspace workspace, ContentDecorator contentDecorator)
           
 
Method Summary
 javax.jcr.Session getSession()
           
protected  javax.jcr.Session wrapSession(javax.jcr.Session session)
           
 
Methods inherited from class info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
clone, copy, copy, createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getVersionManager, getWrappedWorkspace, importXML, move, restore, setWrappedWorkspace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentDecoratorWorkspaceWrapper

protected ContentDecoratorWorkspaceWrapper(javax.jcr.Workspace workspace,
                                           ContentDecorator contentDecorator)
Method Detail

getSession

public javax.jcr.Session getSession()
Specified by:
getSession in interface javax.jcr.Workspace
Overrides:
getSession in class DelegateWorkspaceWrapper

wrapSession

protected javax.jcr.Session wrapSession(javax.jcr.Session session)


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.