Package fr.becpg.repo.admin.patch
Class CopyFromPatch2
java.lang.Object
org.alfresco.repo.admin.patch.AbstractPatch
fr.becpg.repo.admin.patch.AbstractBeCPGPatch
fr.becpg.repo.admin.patch.CopyFromPatch2
- All Implemented Interfaces:
org.alfresco.repo.admin.patch.Patch,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
Remove copy from assoc
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate org.alfresco.service.cmr.dictionary.DictionaryServiceprivate static final org.apache.commons.logging.Logprivate static final Stringprivate org.alfresco.repo.policy.BehaviourFilterprivate org.alfresco.service.cmr.rule.RuleServiceFields inherited from class fr.becpg.repo.admin.patch.AbstractBeCPGPatch
BATCH_SIZE, BATCH_THREADS, contentHelper, entitySystemService, INC, nodeDAO, patchDAO, qnameDAO, repoService, repositoryFields inherited from class org.alfresco.repo.admin.patch.AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprivate voiddoForType(org.alfresco.service.namespace.QName type) voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) Setter for the fielddictionaryService.voidsetPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter) Setter for the fieldpolicyBehaviourFilter.voidsetRuleService(org.alfresco.service.cmr.rule.RuleService ruleService) Setter for the fieldruleService.Methods inherited from class fr.becpg.repo.admin.patch.AbstractBeCPGPatch
createBatchAspectProcessor, createBatchTypeProcessor, createBatchTypeProcessor, formatTenantNodeRef, getBaseName, getCharactDataList, getFolder, getNodeDAO, getPatchDAO, getQnameDAO, getSystemCharactsEntity, getSystemHierachiesEntity, getSystemListValuesEntity, searchFolder, setContentHelper, setEntitySystemService, setNodeDAO, setPatchDAO, setQnameDAO, setRepoService, setRepository, updateResourceMethods inherited from class org.alfresco.repo.admin.patch.AbstractPatch
applies, apply, applyAsync, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isDeferred, isForce, isIgnored, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDeferred, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setIgnored, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toString
-
Field Details
-
logger
private static final org.apache.commons.logging.Log logger -
MSG_SUCCESS
- See Also:
-
ASSOC_BATCH_SIZE
private static final int ASSOC_BATCH_SIZE- See Also:
-
policyBehaviourFilter
private org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter -
ruleService
private org.alfresco.service.cmr.rule.RuleService ruleService -
dictionaryService
private org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
-
-
Constructor Details
-
CopyFromPatch2
public CopyFromPatch2()
-
-
Method Details
-
setRuleService
public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService) Setter for the field
ruleService.- Parameters:
ruleService- aRuleServiceobject.
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) Setter for the field
dictionaryService.- Parameters:
dictionaryService- aDictionaryServiceobject.
-
applyInternal
- Specified by:
applyInternalin classorg.alfresco.repo.admin.patch.AbstractPatch- Throws:
Exception
-
doForType
private void doForType(org.alfresco.service.namespace.QName type) -
setPolicyBehaviourFilter
public void setPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter) Setter for the field
policyBehaviourFilter.- Parameters:
policyBehaviourFilter- aBehaviourFilterobject.
-