mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ import org.alfresco.module.org_alfresco_module_rm.test.util.BaseRMTestCase;
|
||||
* Classification level integration test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelsTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ import org.alfresco.module.org_alfresco_module_rm.test.util.BaseRMTestCase;
|
||||
* Tests of classification reason handling.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationReasonsTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ import com.google.common.collect.Sets;
|
||||
* Classification level integration test
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassifyTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.springframework.context.ApplicationEvent;
|
||||
* Tests of exemption category loading.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExemptionCategoriesTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Base class for classification enforcement tests for the browse action
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public abstract class BrowseClassificationEnforcementTestBase extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@ import org.alfresco.service.namespace.QName;
|
||||
* Classification enforcement pre method invocation test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationEnforcementPreMethodInvocationTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Tests for enforcement of classification when browsing documents in the document library
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class DocumentBrowseClassificationEnforcementTest extends BrowseClassificationEnforcementTestBase
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ import org.alfresco.service.cmr.search.SearchParameters;
|
||||
* Tests for enforcement of classification when searching documents in the document library
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class DocumentSearchClassificationEnforcementTest extends SearchClassificationEnforcementTestBase
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Enforcement of classification when browsing records in the file plan
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class RecordBrowseClassificationEnforcementTest extends BrowseClassificationEnforcementTestBase
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ import org.alfresco.util.Pair;
|
||||
* Enforcement of classification when searching records in the file plan
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class RecordSearchClassificationEnforcementTest extends SearchClassificationEnforcementTestBase
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Enforcement of classification for records with relationship
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class RelationshipClassificationEnforcementTest extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -38,7 +38,7 @@ import org.json.JSONObject;
|
||||
* Integration test for saved searches with classification enforcement
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class SavedSearchClassificationEnforcementTest extends SearchClassificationEnforcementTestBase
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Base class for classification enforcement tests for the search action
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public abstract class SearchClassificationEnforcementTestBase extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
* Integration test for RM-2260
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class RM2260Test extends BaseRMTestCase
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ import org.mockito.Mock;
|
||||
* Unit tests for the {@link ClassificationSchemeEntityFactory}.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeEntityFactoryUnitTest
|
||||
{
|
||||
|
@@ -45,7 +45,7 @@ import org.mockito.MockitoAnnotations;
|
||||
* Unit tests for {@link ClassificationSchemeServiceImpl}.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeServiceImplUnitTest
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ import org.junit.Test;
|
||||
* Unit tests for {@link ClassificationServiceDAO}.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationServiceDAOUnitTest
|
||||
{
|
||||
|
@@ -64,7 +64,7 @@ import com.google.common.collect.Sets;
|
||||
* Unit tests for {@link ContentClassificationServiceImpl}.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ContentClassificationServiceImplUnitTest implements ClassifiedContentModel
|
||||
{
|
||||
|
@@ -53,7 +53,7 @@ import com.google.common.collect.ImmutableList;
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @author David Webster
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class SecurityClearanceServiceImplUnitTest
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ import org.junit.Test;
|
||||
* Unit tests for the {@link UserQueryParams}.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class UserQueryParamsUnitTest
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ import org.mockito.Mock;
|
||||
* Array Post Method Invocation Processor Unit Test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ArrayPostMethodInvocationProcessorUnitTest
|
||||
{
|
||||
|
@@ -46,7 +46,7 @@ import org.mockito.Mock;
|
||||
* Unit tests for the {@link CollectionPostMethodInvocationProcessor}.
|
||||
*
|
||||
* @author Tom Page
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class CollectionPostMethodInvocationProcessorUnitTest
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ import org.mockito.Mock;
|
||||
* NodeRef Post Method Invocation Processor Unit Test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class NodeRefPostMethodInvocationProcessorUnitTest extends BaseUnitTest
|
||||
{
|
||||
|
@@ -41,7 +41,7 @@ import com.google.common.collect.Sets;
|
||||
* Unit tests for {@link QueryEngineResultPostMethodInvocationProcessor}.
|
||||
*
|
||||
* @author Tom Page
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class QueryEngineResultsPostMethodInvocationProcessorUnitTest
|
||||
{
|
||||
|
@@ -40,7 +40,7 @@ import org.mockito.Mock;
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationSchemeEntityValidatorUnitTest
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.junit.Test;
|
||||
* Unit tests for the {@link ExemptionCategoryFieldsValidator}.
|
||||
*
|
||||
* @author Oana Nechiforescu
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExemptionCategoryFieldsValidatorUnitTest
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import org.junit.Test;
|
||||
* Unit tests for the {@link LengthFieldValidator}.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class LengthFieldValidatorUnitTest
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ import org.junit.Test;
|
||||
* Unit tests for the {@link StartCharacterFieldValidator}.
|
||||
*
|
||||
* @author tpage
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class StartCharacterFieldValidatorUnitTest
|
||||
{
|
||||
|
@@ -44,7 +44,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
* Tests for the get classification levels API.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassificationLevelsGetUnitTest extends BaseWebScriptUnitTest
|
||||
{
|
||||
|
@@ -51,7 +51,7 @@ import org.springframework.extensions.webscripts.WebScriptException;
|
||||
* Classify content REST API POST implementation unit test.
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClassifyContentPostUnitTest extends BaseWebScriptUnitTest
|
||||
{
|
||||
|
@@ -44,7 +44,7 @@ import static org.mockito.Mockito.doReturn;
|
||||
* Tests for the get clearance levels API.
|
||||
*
|
||||
* @author David Webster
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ClearanceLevelsGetUnitTest extends BaseWebScriptUnitTest
|
||||
{
|
||||
|
@@ -51,7 +51,7 @@ import org.springframework.extensions.webscripts.DeclarativeWebScript;
|
||||
* Test for get user security clearance API
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class UserSecurityClearanceGetUnitTest extends BaseWebScriptUnitTest
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@ import org.alfresco.util.GUID;
|
||||
* Utilities helpful when mocking Alfresco constructs.
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class AlfMock
|
||||
{
|
||||
|
@@ -24,8 +24,8 @@ import java.util.function.Supplier;
|
||||
/**
|
||||
* Utility class to help with Java exceptions, particularly in test code.
|
||||
*
|
||||
* @since 3.0
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExceptionUtils
|
||||
{
|
||||
|
@@ -30,8 +30,8 @@ import static org.junit.Assert.*;
|
||||
/**
|
||||
* Unit tests showing usage of {@link ExceptionUtils}.
|
||||
*
|
||||
* @since 3.0
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class ExceptionUtilsUsageExamplesUnitTest
|
||||
{
|
||||
|
@@ -36,7 +36,7 @@ import java.util.Map;
|
||||
* Unit tests for {@link RMCollectionUtils}.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
public class RMCollectionUtilsUnitTest
|
||||
{
|
||||
|
@@ -45,7 +45,7 @@ import com.google.gson.JsonSyntaxException;
|
||||
* Classification reasons property decorator unit test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class ClassificationReasonsPropertyDecoratorUnitTest
|
||||
|
@@ -38,7 +38,7 @@ import org.mockito.runners.MockitoJUnitRunner;
|
||||
* Current classification property decorator unit test
|
||||
*
|
||||
* @author Tuna Aksoy
|
||||
* @since 3.0
|
||||
* @since 3.0.a
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class CurrentClassificationPropertyDecoratorUnitTest
|
||||
|
Reference in New Issue
Block a user