Class DefaultRootSectionsFinder
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.platform.publisher.impl.finder.AbstractRootSectionsFinder
org.nuxeo.ecm.platform.publisher.impl.finder.DefaultRootSectionsFinder
- All Implemented Interfaces:
RootSectionFinder
public class DefaultRootSectionsFinder
extends AbstractRootSectionsFinder
implements RootSectionFinder
Helper class to manage:
- unrestricted fetch of Sections
- filtering according to user rights
- Author:
- tiry
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.publisher.impl.finder.AbstractRootSectionsFinder
accessibleSectionRoots, currentDocument, SCHEMA_PUBLISHING, sectionRootTypes, SECTIONS_PROPERTY_NAME, sectionTypes, unrestrictedDefaultSectionRoot, unrestrictedSectionRootFromWorkspaceConfig, userSessionFields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildQuery(String path) protected voidcomputeUnrestrictedRoots(CoreSession session) protected voidcomputeUserSectionRoots(DocumentModel currentDoc) Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.finder.AbstractRootSectionsFinder
filterDocuments, getAccessibleSectionRoots, getDefaultSectionRoots, getDefaultSectionRoots, getDefaultSectionRoots, getFiltredSectionRoots, getSectionRootsForWorkspace, getSectionRootsForWorkspace, getSectionRootsFromWorkspaceConfig, getSectionRootTypes, getSectionTypes, getTypeNamesForFacet, reset, runMethods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.publisher.helper.RootSectionFinder
getAccessibleSectionRoots, getDefaultSectionRoots, getDefaultSectionRoots, getSectionRootsForWorkspace, getSectionRootsForWorkspace, reset
-
Constructor Details
-
DefaultRootSectionsFinder
-
-
Method Details
-
computeUserSectionRoots
- Specified by:
computeUserSectionRootsin classAbstractRootSectionsFinder
-
buildQuery
- Specified by:
buildQueryin classAbstractRootSectionsFinder
-
computeUnrestrictedRoots
- Specified by:
computeUnrestrictedRootsin classAbstractRootSectionsFinder
-