[APPS-2836][ags][tas] POST Endpoint for creating Retention Schedule

This commit is contained in:
Sathish Kumar
2024-06-21 12:21:01 +05:30
parent 673478e90e
commit 259e5ffe32

View File

@@ -29,7 +29,7 @@ package org.alfresco.rest.rm.community.model.retentionschedule;
import java.util.List; import java.util.List;
/** /**
* @author sathishkumar.t * retention schedule action definition
*/ */
public class RetentionScheduleActionDefinition public class RetentionScheduleActionDefinition
{ {
@@ -42,8 +42,7 @@ public class RetentionScheduleActionDefinition
private List<String> events; private List<String> events;
private boolean eligibleOnFirstCompleteEvent; private boolean eligibleOnFirstCompleteEvent;
private String description; private String description;
private boolean destroyNode; private boolean retainRecordMetadataAfterDestruction;
private boolean destroyContent;
private String location; private String location;
private int index; private int index;
@@ -137,22 +136,14 @@ public class RetentionScheduleActionDefinition
this.description = description; this.description = description;
} }
public boolean getDestroyNode() public boolean getRetainRecordMetadataAfterDestruction()
{ {
return destroyNode; return retainRecordMetadataAfterDestruction;
} }
public void setDestroyNode(boolean destroyNode) public void setRetainRecordMetadataAfterDestruction(boolean retainRecordMetadataAfterDestruction)
{ {
this.destroyNode = destroyNode; this.retainRecordMetadataAfterDestruction = retainRecordMetadataAfterDestruction;
}
public boolean getDestroyContent() {
return destroyContent;
}
public void setDestroyContent(boolean destroyContent) {
this.destroyContent = destroyContent;
} }
public String getLocation() public String getLocation()