mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
26007: ALF-7070:
- null property values
- mltext properties include locales and values
- content properties include locale, encoding, mimetype, size, id
- node pre-loading support - wip
- paths include direct paths and category paths
26058: ALF-7070
- fixed null content encoding, mimetype
26301: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT:
24572: WebDAV - switch lock check (to get prop before status) and use getPrimaryParent
24574: WebDAV - getNodeLockInfo (add request caches for indirect lookup)
24833: BM - WebDAV perf tweak (getNodeLockInfo - including PutMethod / checkNode)
(note: related to ALF-6267 / ALF-6224)
26319: Removed System.out messages
26320: Moved away from BaseSpringTest
26321: WIP: ALF-7339: RSOLR 009: Index track and build from SOLR
- track simple properties (no locale, no dual tokenisation, no sort, no content, no ml text, no acls)
26322: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT:
24745: (RECORD ONLY) Adjust Audit Model Registry for Subsystem read write locks
24789: (RECORD ONLY) Remove unsafe use of SimpleDateFormat
24862: (RECORD ONLY) Test content read with larger buffer size
26331: Fixed ibatis -> mybatis merge issues
26350: Build fix: iBatis -> myBatis merge error
26354: Removed svn:mergeinfo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
58 lines
2.0 KiB
Java
58 lines
2.0 KiB
Java
/*
|
|
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package org.alfresco.repo.node;
|
|
|
|
import java.util.List;
|
|
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
|
|
/**
|
|
* A component that pre-fetches cached data for the given nodes. Client code can use
|
|
* this component when a list of <code>NodeRef</code> instances will be processed in
|
|
* a data-intensive manner.
|
|
*
|
|
* @author Andy Hind
|
|
* @author Derek Hulley
|
|
*/
|
|
public interface NodeBulkLoader
|
|
{
|
|
/**
|
|
* Pre-cache data relevant to the given nodes. There is no need to split the collection
|
|
* up before calling this method; it is up to the implementations to ensure that batching
|
|
* is done where necessary.
|
|
*
|
|
* @param nodeRefs the nodes that will be cached.
|
|
*/
|
|
public void cacheNodes(List<NodeRef> nodeRefs);
|
|
|
|
/**
|
|
* Pre-cache data relevant to the given nodes. There is no need to split the collection
|
|
* up before calling this method; it is up to the implementations to ensure that batching
|
|
* is done where necessary.
|
|
*
|
|
* @param nodeIds the nodes that will be cached.
|
|
*/
|
|
public void cacheNodesById(List<Long> nodeIds);
|
|
|
|
/**
|
|
* <b>FOR TESTING ONLY: </b>Clears out node cache data
|
|
*/
|
|
public void clear();
|
|
}
|