mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed version number in some java and js files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationException extends AlfrescoRuntimeException
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public final class ClassificationLevel implements ClassificationSchemeEntity
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelComparator implements Comparator<ClassificationLevel>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public final class ClassificationReason implements ClassificationSchemeEntity
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface ClassificationSchemeEntity extends Serializable
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ import org.json.JSONObject;
|
||||
* Factory to create classification entities from JSON objects.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeEntityFactory
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
|
||||
* clearance.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface ClassificationSchemeService
|
||||
{
|
||||
|
@@ -36,7 +36,7 @@ import org.alfresco.util.ParameterCheck;
|
||||
|
||||
/**
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeServiceImpl extends ServiceBaseImpl implements ClassificationSchemeService,
|
||||
ClassifiedContentModel
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationServiceBootstrap extends AbstractLifecycleBean implements ClassifiedContentModel
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
class ClassificationServiceDAO
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* A service to handle the classification of content.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface ContentClassificationService
|
||||
{
|
||||
|
@@ -45,7 +45,7 @@ import org.alfresco.service.namespace.QName;
|
||||
* A service to handle the classification of content.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ContentClassificationServiceImpl extends ServiceBaseImpl
|
||||
implements ContentClassificationService, ClassifiedContentModel
|
||||
|
@@ -28,7 +28,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
|
||||
* declassified.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public final class ExemptionCategory implements ClassificationSchemeEntity
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExemptionCategoryManager
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public final class SecurityClearance implements Serializable
|
||||
{
|
||||
|
@@ -28,7 +28,7 @@ import org.alfresco.service.cmr.security.NoSuchPersonException;
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @author David Webster
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface SecurityClearanceService
|
||||
{
|
||||
|
@@ -40,7 +40,7 @@ import org.alfresco.util.ParameterCheck;
|
||||
/**
|
||||
* @author Neil Mc Erlean
|
||||
* @author David Webster
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class SecurityClearanceServiceImpl extends ServiceBaseImpl implements SecurityClearanceService
|
||||
{
|
||||
|
@@ -35,7 +35,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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public final class UserQueryParams
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ import org.aopalliance.intercept.MethodInvocation;
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationMethodInterceptor implements MethodInterceptor
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@ import org.alfresco.error.AlfrescoRuntimeException;
|
||||
* Access denied exception thrown when a user tries to execute a method call on an uncleared node.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class AccessDeniedException extends AlfrescoRuntimeException
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.springframework.stereotype.Component;
|
||||
* Array Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class ArrayPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
* AssociationRef Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class AssociationRefPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -33,7 +33,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* Base class for post method invocation processors
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public abstract class BasePostMethodInvocationProcessor
|
||||
{
|
||||
@@ -56,7 +56,7 @@ public abstract class BasePostMethodInvocationProcessor
|
||||
/** Post method invocation processor */
|
||||
@Autowired
|
||||
private PostMethodInvocationProcessor postMethodInvocationProcessor;
|
||||
|
||||
|
||||
/** Pre method invocation processor */
|
||||
@Autowired
|
||||
private PreMethodInvocationProcessor preMethodInvocationProcessor;
|
||||
@@ -138,7 +138,7 @@ public abstract class BasePostMethodInvocationProcessor
|
||||
NodeRef filter = nodeRef;
|
||||
|
||||
// disable pre-method invocation processor
|
||||
preMethodInvocationProcessor.disable();
|
||||
preMethodInvocationProcessor.disable();
|
||||
try
|
||||
{
|
||||
if (getNodeService().exists(nodeRef) &&
|
||||
|
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
* ChildAssociationRef Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class ChildAssociationRefPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -27,7 +27,7 @@ import org.springframework.stereotype.Component;
|
||||
* Collection Post Method Invocation Processor.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class CollectionPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -25,7 +25,7 @@ import org.springframework.stereotype.Component;
|
||||
* NodeRef Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class NodeRefPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -28,7 +28,7 @@ import org.springframework.stereotype.Component;
|
||||
* PagingResults Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class PagingResultsPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
* Permission Check Value Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class PermissionCheckValuePostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -30,7 +30,7 @@ import java.util.Set;
|
||||
* Registry for post method invocation processors
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class PostMethodInvocationProcessor
|
||||
{
|
||||
|
@@ -45,7 +45,7 @@ import org.springframework.context.ApplicationContextAware;
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class PreMethodInvocationProcessor implements ApplicationContextAware
|
||||
{
|
||||
|
@@ -31,7 +31,7 @@ import org.springframework.stereotype.Component;
|
||||
* A post method invocation processor for {@link QueryEngineResults}.
|
||||
*
|
||||
* @author Tom Page
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class QueryEngineResultsPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -36,7 +36,7 @@ import org.springframework.stereotype.Component;
|
||||
* ResultSet Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class ResultSetPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
* StoreRef Post Method Invocation Processor
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@Component
|
||||
public class StoreRefPostMethodInvocationProcessor extends BasePostMethodInvocationProcessor
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface ClassifiedContentModel
|
||||
{
|
||||
|
@@ -27,6 +27,6 @@
|
||||
* {@link org.alfresco.module.org_alfresco_module_rm.classification.SecurityClearanceService} which deals
|
||||
* wth users and their clearances.
|
||||
*
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
package org.alfresco.module.org_alfresco_module_rm.classification;
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelFieldsValidator implements EntityFieldsValidator<ClassificationLevel>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelIsNotUnclassifiedValidator implements FieldValidator<String>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationReasonFieldsValidator implements EntityFieldsValidator<ClassificationReason>
|
||||
{
|
||||
|
@@ -31,7 +31,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationS
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeEntityValidator<T extends ClassificationSchemeEntity>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface EntityFieldsValidator<T extends ClassificationSchemeEntity>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExemptionCategoryFieldsValidator implements EntityFieldsValidator<ExemptionCategory>
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
|
||||
* Validate a field.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public interface FieldValidator<T>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class FilenameFieldValidator implements FieldValidator<String>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class LengthFieldValidator implements FieldValidator<String>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class StartCharacterFieldValidator implements FieldValidator<String>
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelsGet extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -41,7 +41,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
|
||||
* Base class for classify content actions
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public abstract class ClassifyContentBase extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Implementation for Java backed webscript to classify a content.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassifyContentPost extends ClassifyContentBase
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Implementation for Java backed webscript to edit a classified content.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassifyContentPut extends ClassifyContentBase
|
||||
{
|
||||
|
@@ -31,7 +31,7 @@ import java.util.Map;
|
||||
* Implementation for Java backed webscript to get the clearance levels.
|
||||
*
|
||||
* @author David Webster
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClearanceLevelsGet extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExemptionCategoriesGet extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ReasonsGet extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ import org.springframework.extensions.webscripts.WebScriptRequest;
|
||||
* Implementation for Java backed webscript to get users security clearance.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class UserSecurityClearanceGet extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@ import java.util.Map;
|
||||
*
|
||||
* @author David Webster
|
||||
* @author Tom Page
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class UserSecurityClearancePut extends AbstractRmWebScript
|
||||
{
|
||||
|
@@ -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
|
||||
* @since 3.0.a
|
||||
*/
|
||||
// This class should all be moved to core Alfresco whenever possible and reused from there.
|
||||
public final class RMCollectionUtils
|
||||
|
@@ -36,7 +36,7 @@ import com.google.gson.Gson;
|
||||
* Classification reasons property decorator
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationReasonsPropertyDecorator extends BasePropertyDecorator
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ import org.json.simple.JSONObject;
|
||||
* Current classification property decorator
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class CurrentClassificationPropertyDecorator extends BasePropertyDecorator
|
||||
{
|
||||
|
Reference in New Issue
Block a user