Revert "Revert "RM-2697 Migrate DoD 5015.2 support into enterprise.""

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@118834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tom Page
2015-11-30 11:13:24 +00:00
parent 63b9baaa7e
commit 37e69077f5
18 changed files with 29 additions and 1337 deletions

View File

@@ -1,51 +0,0 @@
/*
* Copyright (C) 2005-2014 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.module.org_alfresco_module_rm.dod5015;
import org.alfresco.module.org_alfresco_module_rm.model.rma.type.RmSiteType;
/**
* Bootstrap bean that registers the dod:filePlan for creation when
* a dod:site is created.
*
* @author Roy Wetherall
* @since 2.2
*/
public class DOD5015FilePlanTypeBootstrap implements DOD5015Model
{
/** RM site type bean */
private RmSiteType rmSiteType;
/**
* @param rmSiteType RM site type bean
*/
public void setRmSiteType(RmSiteType rmSiteType)
{
this.rmSiteType = rmSiteType;
}
/**
* Init method
*/
public void init()
{
// register dod file plan type for the dod site type
rmSiteType.registerFilePlanType(TYPE_DOD_5015_SITE, TYPE_DOD_5015_FILE_PLAN);
}
}