Package fr.becpg.repo.admin.patch
Class CharactNamePatch
java.lang.Object
org.alfresco.repo.admin.patch.AbstractPatch
fr.becpg.repo.admin.patch.AbstractBeCPGPatch
fr.becpg.repo.admin.patch.CharactNamePatch
- All Implemented Interfaces:
org.alfresco.repo.admin.patch.Patch,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
Copy prop value of cm:name in bcpg:charactName to support mlText
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.service.cmr.dictionary.DictionaryServiceprivate org.alfresco.repo.node.integrity.IntegrityCheckerprivate 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 voiddoApply(org.alfresco.service.namespace.QName toApplyType) voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) Setter for the fielddictionaryService.voidsetIntegrityChecker(org.alfresco.repo.node.integrity.IntegrityChecker integrityChecker) Setter for the fieldintegrityChecker.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:
-
policyBehaviourFilter
private org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter -
ruleService
private org.alfresco.service.cmr.rule.RuleService ruleService -
integrityChecker
private org.alfresco.repo.node.integrity.IntegrityChecker integrityChecker -
dictionaryService
private org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
-
-
Constructor Details
-
CharactNamePatch
public CharactNamePatch()
-
-
Method Details
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) Setter for the field
dictionaryService.- Parameters:
dictionaryService- aDictionaryServiceobject.
-
setRuleService
public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService) Setter for the field
ruleService.- Parameters:
ruleService- aRuleServiceobject.
-
setIntegrityChecker
public void setIntegrityChecker(org.alfresco.repo.node.integrity.IntegrityChecker integrityChecker) Setter for the field
integrityChecker.- Parameters:
integrityChecker- aIntegrityCheckerobject.
-
applyInternal
- Specified by:
applyInternalin classorg.alfresco.repo.admin.patch.AbstractPatch- Throws:
Exception
-
doApply
private void doApply(org.alfresco.service.namespace.QName toApplyType) -
setPolicyBehaviourFilter
public void setPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter) Setter for the field
policyBehaviourFilter.- Parameters:
policyBehaviourFilter- aBehaviourFilterobject.
-