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
public class RMv35HoldNewChildAssocPatch extends AbstractModulePatch
Patch to create new hold child association to link the record to the holdSee: https://alfresco.atlassian.net/browse/APPS-659
- Since:
- 3.5
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOGGER
loggerprotected static QName
PATCH_ASSOC_NAME
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 Constructor Description RMv35HoldNewChildAssocPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyInternal()
Apply patch internal method.BehaviourFilter
getBehaviourFilter()
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 service-
Methods 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 Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
logger
-
PATCH_ASSOC_NAME
protected static final QName PATCH_ASSOC_NAME
A name for the associations created by this patch.
-
-
Method Detail
-
setFilePlanService
public void setFilePlanService(FilePlanService filePlanService)
Setter for fileplanservice- Parameters:
filePlanService
- File plan service interface
-
setHoldService
public void setHoldService(HoldService holdService)
Setter for hold service- Parameters:
holdService
- Hold service interface.
-
setNodeService
public void setNodeService(NodeService nodeService)
Setter for node service- Parameters:
nodeService
- Interface for public and internal node and store operations.
-
getBehaviourFilter
public BehaviourFilter getBehaviourFilter()
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
-
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
-
-