mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
minor changes for code review [APPS-467]
This commit is contained in:
@@ -119,8 +119,8 @@ public class ActionsExecutionAPI extends RMModelRequest
|
||||
|
||||
/**
|
||||
* WORM lock a node for a period of days
|
||||
* *
|
||||
* @param targetNode the node on which the action is executed
|
||||
*
|
||||
* @param targetNode the node on which the action is executed
|
||||
* @param retentionPeriod the retention period in days for the WORM lock
|
||||
* @throws Exception
|
||||
*/
|
||||
@@ -129,6 +129,6 @@ public class ActionsExecutionAPI extends RMModelRequest
|
||||
{
|
||||
return getRmRestWrapper().withCoreAPI().usingActions()
|
||||
.executeAction(ActionsOnRule.WORM_LOCK.getActionValue(), targetNode,
|
||||
ImmutableMap.of("retentionPeriod",String.valueOf(retentionPeriod)));
|
||||
ImmutableMap.of("retentionPeriod", String.valueOf(retentionPeriod)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user