[MNT-21818] Added javadoc

This commit is contained in:
tiagos
2020-09-16 11:16:41 +01:00
parent 45887a8231
commit 631843111b
2 changed files with 15 additions and 2 deletions

View File

@@ -221,7 +221,9 @@ public class RecordsManagementContainerType extends BaseBehaviourBean
} }
/** /**
* Attempts to remove a deleted node from records management root cache
* *
* @see org.alfresco.repo.node.NodeServicePolicies.OnDeleteAssociationPolicy#onDeleteAssociation(org.alfresco.service.cmr.repository.AssociationRef)
*/ */
@Override @Override
@Behaviour @Behaviour

View File

@@ -325,7 +325,11 @@ public class RmSiteType extends BaseBehaviourBean
} }
/** /**
* Handles site deletion in order to reset the records management root cache
* *
* @param childAssocRef
*
* @see org.alfresco.repo.node.NodeServicePolicies.OnDeleteAssociationPolicy#onDeleteAssociation(org.alfresco.service.cmr.repository.AssociationRef)
*/ */
@Override @Override
@Behaviour @Behaviour
@@ -379,6 +383,13 @@ public class RmSiteType extends BaseBehaviourBean
}); });
} }
/**
* Handles the deletion node policy (alf:onDeleteNode), resetting the records management root cache
* and enabling file plan behavior as well
*
* @param childAssocRef
* @param isNodeArchived
*/
@Behaviour @Behaviour
( (
kind = BehaviourKind.CLASS, kind = BehaviourKind.CLASS,