Change 3.0.a to 2.4.a in @Since annotations and patch number.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@111379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tom Page
2015-09-03 10:18:30 +00:00
parent bdd3cd193a
commit d17fc36a4e
117 changed files with 121 additions and 120 deletions

View File

@@ -20,9 +20,10 @@ package org.alfresco.module.org_alfresco_module_rm.bootstrap;
import java.io.Serializable;
import org.alfresco.module.org_alfresco_module_rm.patch.v24.RMv24ClearanceForAdmin;
import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationServiceBootstrap;
import org.alfresco.module.org_alfresco_module_rm.classification.model.ClassifiedContentModel;
import org.alfresco.module.org_alfresco_module_rm.patch.v30.RMv30ClearanceForAdmin;
import org.alfresco.module.org_alfresco_module_rm.util.AuthenticationUtil;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
@@ -30,7 +31,7 @@ import org.alfresco.service.cmr.security.PersonService;
/**
* Provide the highest clearance to the admin user. This needs to be run once (either bootstrapped into a
* fresh system, or as part of an upgrade in {@link RMv30ClearanceForAdmin}) per installation.
* fresh system, or as part of an upgrade in {@link RMv24ClearanceForAdmin}) per installation.
*
* @author tpage
*/

View File

@@ -80,7 +80,7 @@ public class RMActionProxyFactoryBean extends ProxyFactoryBean
/**
* @param transactionService transaction service
* @since 3.0.a
* @since 2.4.a
*/
public void setTransactionService(TransactionService transactionService)
{

View File

@@ -28,7 +28,7 @@ import com.google.common.collect.ImmutableSet;
* A data transfer object for properties from the classification aspect.
*
* @author Tom Page
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationAspectProperties
{

View File

@@ -28,7 +28,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
* Generic class for any runtime exception to do with classified records.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationException extends AlfrescoRuntimeException
{

View File

@@ -27,7 +27,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* This class is a POJO data type for a Classification Level.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public final class ClassificationLevel implements ClassificationSchemeEntity
{

View File

@@ -24,7 +24,7 @@ import java.util.Comparator;
* A class to compare classification levels. More secure classification levels are "higher" than less secure levels.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationLevelComparator implements Comparator<ClassificationLevel>
{

View File

@@ -26,7 +26,7 @@ import java.util.List;
* Check that a value is a valid {@link ClassificationLevel} by checking the {@link ClassificationSchemeService}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationLevelConstraint extends ClassificationSchemeEntityConstraint
{

View File

@@ -27,7 +27,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* This class is a POJO data type for a classification reason.
*
* @author Tom Page
* @since 3.0.a
* @since 2.4.a
*/
public final class ClassificationReason implements ClassificationSchemeEntity
{

View File

@@ -26,7 +26,7 @@ import java.util.List;
* Check that a value is a valid {@link ClassificationReason} by checking the {@link ClassificationSchemeService}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationReasonConstraint extends ClassificationSchemeEntityConstraint
{

View File

@@ -24,7 +24,7 @@ import java.io.Serializable;
* Marker interface for classes that contain basic information about the classification scheme.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public interface ClassificationSchemeEntity extends Serializable
{

View File

@@ -32,7 +32,7 @@ import org.alfresco.service.cmr.repository.datatype.TypeConversionException;
* {@link ClassificationSchemeService}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public abstract class ClassificationSchemeEntityConstraint extends AbstractConstraint
{

View File

@@ -25,7 +25,7 @@ import org.json.JSONObject;
* Factory to create classification entities from JSON objects.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationSchemeEntityFactory
{

View File

@@ -31,7 +31,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
* clearance.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public interface ClassificationSchemeService
{

View File

@@ -36,7 +36,7 @@ import org.alfresco.util.ParameterCheck;
/**
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationSchemeServiceImpl extends ServiceBaseImpl implements ClassificationSchemeService,
ClassifiedContentModel

View File

@@ -43,7 +43,7 @@ import org.springframework.extensions.surf.util.AbstractLifecycleBean;
* This class is responsible for initialising any Classification-specific data on server bootstrap.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationServiceBootstrap extends AbstractLifecycleBean implements ClassifiedContentModel
{

View File

@@ -38,7 +38,7 @@ import org.json.JSONTokener;
* and classification reasons, dealing with JSON schema as part of that.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
class ClassificationServiceDAO
{

View File

@@ -28,7 +28,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
* A service to handle the classification of content.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public interface ContentClassificationService
{

View File

@@ -47,7 +47,7 @@ import org.alfresco.service.namespace.QName;
* A service to handle the classification of content.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ContentClassificationServiceImpl extends ServiceBaseImpl
implements ContentClassificationService, ClassifiedContentModel

View File

@@ -28,7 +28,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
* declassified.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public final class ExemptionCategory implements ClassificationSchemeEntity
{

View File

@@ -26,7 +26,7 @@ import java.util.List;
* Check that a value is a valid {@link ExemptionCategory} by checking the {@link ClassificationSchemeService}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ExemptionCategoryConstraint extends ClassificationSchemeEntityConstraint
{

View File

@@ -27,7 +27,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
* Container for the configured {@link ExemptionCategory} objects.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ExemptionCategoryManager
{

View File

@@ -27,7 +27,7 @@ import java.util.List;
* The initial classification level is allowed to be any level, regardless of the clearance of the current user.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class InitialClassificationLevelConstraint extends ClassificationSchemeEntityConstraint
{

View File

@@ -31,7 +31,7 @@ import java.util.Set;
* Check that a {@link ClassifiedContentModel#PROP_LAST_RECLASSIFICATION_ACTION reclassifiction action }value is valid.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class ReclassificationValueConstraint extends ClassificationSchemeEntityConstraint
{

View File

@@ -27,7 +27,7 @@ import org.alfresco.service.cmr.security.PersonService.PersonInfo;
* A simple data type for a single user's security clearance.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public final class SecurityClearance implements Serializable
{

View File

@@ -28,7 +28,7 @@ import org.alfresco.service.cmr.security.NoSuchPersonException;
*
* @author Neil Mc Erlean
* @author David Webster
* @since 3.0.a
* @since 2.4.a
*/
public interface SecurityClearanceService
{

View File

@@ -40,7 +40,7 @@ import org.alfresco.util.ParameterCheck;
/**
* @author Neil Mc Erlean
* @author David Webster
* @since 3.0.a
* @since 2.4.a
*/
public class SecurityClearanceServiceImpl extends ServiceBaseImpl implements SecurityClearanceService
{

View File

@@ -36,7 +36,7 @@ import org.alfresco.util.ParameterCheck;
* Configurable options to be used when querying for users by {@link SecurityClearance}.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class UserQueryParams
{

View File

@@ -28,7 +28,7 @@ import org.alfresco.service.namespace.QName;
* Helper containing reusable information about the classified content model.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public interface ClassifiedContentModel
{

View File

@@ -27,6 +27,6 @@
* {@link org.alfresco.module.org_alfresco_module_rm.classification.SecurityClearanceService} which deals
* wth users and their clearances.
*
* @since 3.0.a
* @since 2.4.a
*/
package org.alfresco.module.org_alfresco_module_rm.classification;

View File

@@ -34,7 +34,7 @@ import org.alfresco.util.Triple;
* Classification permission pre-processor implementation.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationPermissionPreProcessor extends PermissionPreProcessorBaseImpl
{

View File

@@ -27,7 +27,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationL
* Validator for the fields in {@link ClassificationLevel}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationLevelFieldsValidator implements EntityFieldsValidator<ClassificationLevel>
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationL
* A validator that checks that the reserved symbol "U" is not configured as a classification level.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationLevelIsNotUnclassifiedValidator implements FieldValidator<String>
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationR
* Validator for the fields in {@link ClassificationReason}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationReasonFieldsValidator implements EntityFieldsValidator<ClassificationReason>
{

View File

@@ -31,7 +31,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationS
*
* @author Neil Mc Erlean
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationSchemeEntityValidator<T extends ClassificationSchemeEntity>
{

View File

@@ -24,7 +24,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationS
* A validator for all the fields of a classification POJO.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public interface EntityFieldsValidator<T extends ClassificationSchemeEntity>
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ExemptionCatego
* Validator for the fields in {@link ExemptionCategory}.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ExemptionCategoryFieldsValidator implements EntityFieldsValidator<ExemptionCategory>
{

View File

@@ -24,7 +24,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
* Validate a field.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public interface FieldValidator<T>
{

View File

@@ -31,7 +31,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationL
* Check that a field is suitable to be used as part of a filename.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class FilenameFieldValidator implements FieldValidator<String>
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
* Validate the length of a field.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class LengthFieldValidator implements FieldValidator<String>
{

View File

@@ -26,7 +26,7 @@ import org.apache.commons.lang3.StringUtils;
* Validator that fails if the first character of a field is non-alphanumeric.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class StartCharacterFieldValidator implements FieldValidator<String>
{

View File

@@ -49,7 +49,7 @@ import org.alfresco.service.namespace.QName;
* If enabled, the content is also cleansed before destruction.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
@BehaviourBean
public class ContentDestructionComponent implements NodeServicePolicies.BeforeDeleteNodePolicy

View File

@@ -34,7 +34,7 @@ import org.apache.commons.logging.LogFactory;
* destruction.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public class EagerContentStoreCleaner extends org.alfresco.repo.content.cleanup.EagerContentStoreCleaner
{

View File

@@ -29,7 +29,7 @@ import java.util.Random;
* Content cleanser base implementation.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public abstract class ContentCleanser
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.service.cmr.repository.ContentIOException;
* DoD 5220-22M data cleansing implementation.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public class ContentCleanser522022M extends ContentCleanser
{

View File

@@ -34,7 +34,7 @@ import org.alfresco.service.namespace.QName;
/**
* Behaviour bean for classified rendition nodes.
*
* @since 3.0.a
* @since 2.4.a
*/
@BehaviourBean
(

View File

@@ -47,7 +47,7 @@ import org.alfresco.service.namespace.QName;
/**
* clf:classification behaviour bean
*
* @since 3.0.a
* @since 2.4.a
*/
@BehaviourBean
(

View File

@@ -16,7 +16,7 @@
* 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.patch.v30;
package org.alfresco.module.org_alfresco_module_rm.patch.v24;
import org.alfresco.module.org_alfresco_module_rm.bootstrap.ClearanceForAdminBootstrapComponent;
import org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch;
@@ -26,7 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch;
*
* @author tpage
*/
public class RMv30ClearanceForAdmin extends AbstractModulePatch
public class RMv24ClearanceForAdmin extends AbstractModulePatch
{
private ClearanceForAdminBootstrapComponent bootstrapComponent;

View File

@@ -30,7 +30,7 @@ import org.alfresco.service.cmr.security.PermissionService;
* Records management permission post processor.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public class RecordsManagementPermissionPostProcessor extends PermissionPostProcessorBaseImpl
{

View File

@@ -31,7 +31,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
* Implementation for Java backed webscript to get the classification levels.
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationLevelsGet extends AbstractRmWebScript
{

View File

@@ -50,7 +50,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
* Base class for classify content actions
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public abstract class ClassifyContentBase extends AbstractRmWebScript
{

View File

@@ -25,7 +25,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
* Implementation for Java backed webscript to classify a content.
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class ClassifyContentPost extends ClassifyContentBase
{

View File

@@ -25,7 +25,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
* Implementation for Java backed webscript to edit a classified content.
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class ClassifyContentPut extends ClassifyContentBase
{

View File

@@ -31,7 +31,7 @@ import java.util.Map;
* Implementation for Java backed webscript to get the clearance levels.
*
* @author David Webster
* @since 3.0.a
* @since 2.4.a
*/
public class ClearanceLevelsGet extends AbstractRmWebScript
{

View File

@@ -31,7 +31,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
* Implementation for Java backed webscript to get the exemption categories.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ExemptionCategoriesGet extends AbstractRmWebScript
{

View File

@@ -31,7 +31,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
* Implementation for Java backed webscript to get the classification reasons.
*
* @author tpage
* @since 3.0.a
* @since 2.4.a
*/
public class ReasonsGet extends AbstractRmWebScript
{

View File

@@ -47,7 +47,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
* Implementation for Java backed webscript to get users security clearance.
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class UserSecurityClearanceGet extends AbstractRmWebScript
{

View File

@@ -36,7 +36,7 @@ import java.util.Map;
*
* @author David Webster
* @author Tom Page
* @since 3.0.a
* @since 2.4.a
*/
public class UserSecurityClearancePut extends AbstractRmWebScript
{

View File

@@ -45,7 +45,7 @@ public class AlfrescoTransactionSupport
/**
* @see org.alfresco.repo.transaction.AlfrescoTransactionSupport#getResource(Object)
* @since 3.0.a
* @since 2.4.a
*/
public Object getResource(Object key)
{

View File

@@ -36,7 +36,7 @@ import java.util.Map;
* Provides additional methods of general use that could (in principle) be moved to the core services.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
public class CoreServicesExtras
{

View File

@@ -31,7 +31,7 @@ import java.util.Set;
* small collections as it has not been optimised for dealing with large collections.
*
* @author Neil Mc Erlean
* @since 3.0.a
* @since 2.4.a
*/
// This class should all be moved to core Alfresco whenever possible and reused from there.
public final class RMCollectionUtils

View File

@@ -38,7 +38,7 @@ import com.google.gson.Gson;
* Classification reasons property decorator
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class ClassificationReasonsPropertyDecorator extends BasePropertyDecorator
{

View File

@@ -32,7 +32,7 @@ import org.json.simple.JSONObject;
* Current classification property decorator
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class CurrentClassificationPropertyDecorator extends BasePropertyDecorator
{

View File

@@ -38,7 +38,7 @@ import com.google.gson.Gson;
* Exemption categories property decorator
*
* @author Tuna Aksoy
* @since 3.0.a
* @since 2.4.a
*/
public class ExemptionsCategoriesPropertyDecorator extends BasePropertyDecorator
{

View File

@@ -27,7 +27,7 @@ import org.alfresco.service.cmr.security.AccessStatus;
* Permission Post Processor.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public interface PermissionPostProcessor
{

View File

@@ -26,7 +26,7 @@ import org.alfresco.service.cmr.security.AccessStatus;
* Permission Veto Interface
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public interface PermissionPreProcessor
{

View File

@@ -25,7 +25,7 @@ import java.util.List;
* Permission Processor Registry
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public class PermissionProcessorRegistry
{

View File

@@ -27,7 +27,7 @@ import org.alfresco.repo.security.permissions.processor.PermissionPostProcessor;
* post processor implementation.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public abstract class PermissionPostProcessorBaseImpl extends PermissionProcessorBaseImpl
implements PermissionPostProcessor

View File

@@ -27,7 +27,7 @@ import org.alfresco.repo.security.permissions.processor.PermissionPreProcessor;
* pre-processor implementation.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
public abstract class PermissionPreProcessorBaseImpl extends PermissionProcessorBaseImpl
implements PermissionPreProcessor

View File

@@ -24,7 +24,7 @@ import org.alfresco.repo.security.permissions.processor.PermissionProcessorRegis
* Commonality found in both pre and post permission processor implementations.
*
* @author Roy Wetherall
* @since 3.0.a
* @since 2.4.a
*/
/*package*/ abstract class PermissionProcessorBaseImpl
{