mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-30 18:15:39 +00:00
18363: WCM clustering - ETHREEOH-3962 (duplicate root node entry) 19091: Fix Part 1 ALF-726: v3.1.x Content Cleaner Job needs to be ported to v3.2 19159: Fixed ALF-726: Migrate pre-3.2 content URLs to new format and pick up tag existing orphaned content 19169: Fix fallout from 19159 for ALF-726: Migrate pre-3.2 content URLs to new format and pick up tag existing orphaned content 19262: ALF-726 Multithreading for content URL conversion git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
63 lines
2.0 KiB
Java
63 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.domain.patch;
|
|
|
|
import java.util.List;
|
|
|
|
import org.alfresco.repo.domain.avm.AVMNodeEntity;
|
|
import org.alfresco.repo.domain.contentdata.ContentDataDAO;
|
|
import org.alfresco.service.cmr.repository.ContentData;
|
|
|
|
/**
|
|
* Additional DAO services for patches
|
|
*
|
|
* @author janv
|
|
* @author Derek Hulley
|
|
* @since 3.2
|
|
*/
|
|
public interface PatchDAO
|
|
{
|
|
// AVM-related
|
|
|
|
public Long getAVMNodesCountWhereNewInStore();
|
|
|
|
public List<AVMNodeEntity> getEmptyGUIDS(int count);
|
|
|
|
public List<AVMNodeEntity> getNullVersionLayeredDirectories(int count);
|
|
|
|
public List<AVMNodeEntity> getNullVersionLayeredFiles(int count);
|
|
|
|
public Long getMaxAvmNodeID();
|
|
|
|
public List<Long> getAvmNodesWithOldContentProperties(Long minNodeId, Long maxNodeId);
|
|
|
|
// DM-related
|
|
|
|
public Long getMaxAdmNodeID();
|
|
|
|
/**
|
|
* Migrates DM content properties from the old V3.1 format (String-based {@link ContentData#toString()})
|
|
* to the new V3.2 format (ID based storage using {@link ContentDataDAO}).
|
|
*
|
|
* @param minNodeId the inclusive node ID to limit the updates to
|
|
* @param maxNodeId the exclusive node ID to limit the updates to
|
|
*/
|
|
public void updateAdmV31ContentProperties(Long minNodeId, Long maxNodeId);
|
|
}
|