RM-2319 Create marker interface for entities created from config files.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tom Page
2015-06-19 09:52:05 +00:00
parent 21398ab549
commit cbe6ca551e
4 changed files with 35 additions and 10 deletions

View File

@@ -20,8 +20,6 @@ package org.alfresco.module.org_alfresco_module_rm.classification;
import static org.apache.commons.lang.StringUtils.isNotBlank;
import java.io.Serializable;
import org.alfresco.module.org_alfresco_module_rm.util.RMParameterCheck;
import org.springframework.extensions.surf.util.I18NUtil;
@@ -31,7 +29,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* @author Neil Mc Erlean
* @since 3.0
*/
public final class ClassificationLevel implements Serializable
public final class ClassificationLevel implements ClassificationSchemeEntity
{
/** serial version uid */
private static final long serialVersionUID = -3375064867090476422L;

View File

@@ -19,8 +19,6 @@
package org.alfresco.module.org_alfresco_module_rm.classification;
import java.io.Serializable;
import org.alfresco.module.org_alfresco_module_rm.util.RMParameterCheck;
import org.springframework.extensions.surf.util.I18NUtil;
@@ -31,7 +29,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* @author Tom Page
* @since 3.0
*/
public final class ClassificationReason implements Serializable
public final class ClassificationReason implements ClassificationSchemeEntity
{
private static final long serialVersionUID = 4876939094239038838L;
private final String id;
@@ -39,7 +37,7 @@ public final class ClassificationReason implements Serializable
/**
* Constructor to create a classification reason.
*
*
* @param id The unique identifier that represents this classification reason.
* @param displayLabelKey The I18N key for the display label for the reason.
*/

View File

@@ -0,0 +1,31 @@
/*
* Copyright (C) 2005-2015 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.classification;
import java.io.Serializable;
/**
* Marker interface for classes that contain basic information about the classification scheme.
*
* @author tpage
* @since 3.0
*/
public interface ClassificationSchemeEntity extends Serializable
{
}

View File

@@ -20,8 +20,6 @@ package org.alfresco.module.org_alfresco_module_rm.classification;
import static org.apache.commons.lang.StringUtils.isNotBlank;
import java.io.Serializable;
import org.alfresco.module.org_alfresco_module_rm.util.RMParameterCheck;
import org.springframework.extensions.surf.util.I18NUtil;
@@ -32,7 +30,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* @author tpage
* @since 3.0
*/
public final class ExemptionCategory implements Serializable
public final class ExemptionCategory implements ClassificationSchemeEntity
{
/** serial version uid */
private static final long serialVersionUID = -8990809567320071986L;