Class RMv35HoldNewChildAssocPatch
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
org.alfresco.module.org_alfresco_module_rm.patch.v35.RMv35HoldNewChildAssocPatch
- All Implemented Interfaces:
Comparable<ModulePatch>
,ModulePatch
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
Patch to create new hold child association to link the record to the hold
See: https://alfresco.atlassian.net/browse/APPS-659
- Since:
- 3.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
loggerprotected static final QName
A name for the associations created by this patch.Fields inherited from class org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
transactionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply patch internal method.void
setBatchSize
(int batchSize) Setter for maximum batch sizevoid
setBehaviourFilter
(BehaviourFilter behaviourFilter) void
setFilePlanService
(FilePlanService filePlanService) Setter for fileplanservicevoid
setHoldService
(HoldService holdService) Setter for hold servicevoid
setNodeService
(NodeService nodeService) Setter for node serviceMethods inherited from class org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
apply, compareTo, getDescription, getFixesFromSchema, getFixesToSchema, getId, getModuleId, getTargetSchema, init, setBeanName, setDescription, setFixesFromSchema, setFixesToSchema, setId, setModuleId, setModulePatchExecuter, setTargetSchema, setTransactionService, setTxnReadOnly, setTxnRequiresNew
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGERlogger -
PATCH_ASSOC_NAME
A name for the associations created by this patch.
-
-
Constructor Details
-
RMv35HoldNewChildAssocPatch
public RMv35HoldNewChildAssocPatch()
-
-
Method Details
-
setFilePlanService
Setter for fileplanservice- Parameters:
filePlanService
- File plan service interface
-
setHoldService
Setter for hold service- Parameters:
holdService
- Hold service interface.
-
setNodeService
Setter for node service- Parameters:
nodeService
- Interface for public and internal node and store operations.
-
getBehaviourFilter
-
setBehaviourFilter
-
setBatchSize
public void setBatchSize(int batchSize) Setter for maximum batch size- Parameters:
maxBatchSize
- The max amount of associations to be created between the frozen nodes and the hold in a transaction
-
applyInternal
public void applyInternal()Description copied from class:AbstractModulePatch
Apply patch internal method. Implementations can assume a transaction has been started.- Specified by:
applyInternal
in classAbstractModulePatch
-