mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-11-05 15:32:21 +00:00
[APPS-2836][ags][tas] POST Endpoint for creating Retention Schedule
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user