mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
WIP edit disposition capability
This commit is contained in:
@@ -70,7 +70,12 @@
|
|||||||
"eventType" : "rmEventType.simple",
|
"eventType" : "rmEventType.simple",
|
||||||
"eventName" : "case_complete",
|
"eventName" : "case_complete",
|
||||||
"eventDisplayLabel" : "rmevent.case_complete"
|
"eventDisplayLabel" : "rmevent.case_complete"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"eventType": "rmEventType.simple",
|
||||||
|
"eventName": "declassification_review",
|
||||||
|
"eventDisplayLabel": "rmevent.declassification_review"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,4 +19,5 @@ rmevent.obsolete=Obsolete
|
|||||||
rmevent.all_allowances_granted_are_terminated=All Allowances Granted are Terminated
|
rmevent.all_allowances_granted_are_terminated=All Allowances Granted are Terminated
|
||||||
rmevent.WGI_action_complete=WGI Action Complete
|
rmevent.WGI_action_complete=WGI Action Complete
|
||||||
rmevent.separation=Separation
|
rmevent.separation=Separation
|
||||||
rmevent.case_complete=Case Complete
|
rmevent.case_complete=Case Complete
|
||||||
|
rmevent.declassification_review=Declassification Review
|
@@ -455,7 +455,7 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
|||||||
|
|
||||||
// Set the actions array
|
// Set the actions array
|
||||||
setActions(rmNodeValues, nodeRef);
|
setActions(rmNodeValues, nodeRef);
|
||||||
|
//((HashMap)rmNodeValues.get("properties")).put("declassificationEvent",nodeService.getProperties(nodeRef))
|
||||||
return rmNodeValues;
|
return rmNodeValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,6 +99,7 @@ public interface RecordsManagementModel extends RecordsManagementCustomModel
|
|||||||
QName PROP_DISPOSITION_PERIOD_PROPERTY = QName.createQName(RM_URI, "dispositionPeriodProperty");
|
QName PROP_DISPOSITION_PERIOD_PROPERTY = QName.createQName(RM_URI, "dispositionPeriodProperty");
|
||||||
QName PROP_DISPOSITION_EVENT = QName.createQName(RM_URI, "dispositionEvent");
|
QName PROP_DISPOSITION_EVENT = QName.createQName(RM_URI, "dispositionEvent");
|
||||||
QName PROP_DISPOSITION_EVENT_COMBINATION = QName.createQName(RM_URI, "dispositionEventCombination");
|
QName PROP_DISPOSITION_EVENT_COMBINATION = QName.createQName(RM_URI, "dispositionEventCombination");
|
||||||
|
QName PROP_DISPOSITION_EVALUATOR_COMBINATION = QName.createQName(RM_URI, "dispositionEvaluatorCombination");
|
||||||
QName PROP_DISPOSITION_LOCATION = QName.createQName(RM_URI, "dispositionLocation");
|
QName PROP_DISPOSITION_LOCATION = QName.createQName(RM_URI, "dispositionLocation");
|
||||||
QName PROP_DISPOSITION_ACTION_GHOST_ON_DESTROY = QName.createQName(RM_URI, "dispositionActionGhostOnDestroy");
|
QName PROP_DISPOSITION_ACTION_GHOST_ON_DESTROY = QName.createQName(RM_URI, "dispositionActionGhostOnDestroy");
|
||||||
|
|
||||||
@@ -239,6 +240,7 @@ public interface RecordsManagementModel extends RecordsManagementCustomModel
|
|||||||
QName PROP_RS_DISPOSITION_ACTION_AS_OF = QName.createQName(RM_URI, "recordSearchDispositionActionAsOf");
|
QName PROP_RS_DISPOSITION_ACTION_AS_OF = QName.createQName(RM_URI, "recordSearchDispositionActionAsOf");
|
||||||
QName PROP_RS_DISPOSITION_EVENTS_ELIGIBLE = QName.createQName(RM_URI, "recordSearchDispositionEventsEligible");
|
QName PROP_RS_DISPOSITION_EVENTS_ELIGIBLE = QName.createQName(RM_URI, "recordSearchDispositionEventsEligible");
|
||||||
QName PROP_RS_DISPOSITION_EVENTS = QName.createQName(RM_URI, "recordSearchDispositionEvents");
|
QName PROP_RS_DISPOSITION_EVENTS = QName.createQName(RM_URI, "recordSearchDispositionEvents");
|
||||||
|
QName PROP_DISPOSITION_EVENTS = QName.createQName(RM_URI, "dispositionEvents");
|
||||||
QName PROP_RS_VITAL_RECORD_REVIEW_PERIOD = QName.createQName(RM_URI, "recordSearchVitalRecordReviewPeriod");
|
QName PROP_RS_VITAL_RECORD_REVIEW_PERIOD = QName.createQName(RM_URI, "recordSearchVitalRecordReviewPeriod");
|
||||||
QName PROP_RS_VITAL_RECORD_REVIEW_PERIOD_EXPRESSION = QName.createQName(RM_URI, "recordSearchVitalRecordReviewPeriodExpression");
|
QName PROP_RS_VITAL_RECORD_REVIEW_PERIOD_EXPRESSION = QName.createQName(RM_URI, "recordSearchVitalRecordReviewPeriodExpression");
|
||||||
QName PROP_RS_DISPOSITION_PERIOD = QName.createQName(RM_URI, "recordSearchDispositionPeriod");
|
QName PROP_RS_DISPOSITION_PERIOD = QName.createQName(RM_URI, "recordSearchDispositionPeriod");
|
||||||
|
@@ -133,6 +133,12 @@ public class DispositionActionDefinitionPost extends DispositionAbstractBase
|
|||||||
json.getBoolean("eligibleOnFirstCompleteEvent") ? "or" : "and");
|
json.getBoolean("eligibleOnFirstCompleteEvent") ? "or" : "and");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if (json.has("evaluatorCombination"))
|
||||||
|
// {
|
||||||
|
// props.put(RecordsManagementModel.PROP_DISPOSITION_EVALUATOR_COMBINATION,
|
||||||
|
// json.getBoolean("evaluatorCombination") ? "and" : "or");
|
||||||
|
// }
|
||||||
|
|
||||||
if (json.has("location"))
|
if (json.has("location"))
|
||||||
{
|
{
|
||||||
props.put(RecordsManagementModel.PROP_DISPOSITION_LOCATION,
|
props.put(RecordsManagementModel.PROP_DISPOSITION_LOCATION,
|
||||||
|
@@ -132,6 +132,12 @@ public class DispositionActionDefinitionPut extends DispositionAbstractBase
|
|||||||
json.getBoolean("eligibleOnFirstCompleteEvent") ? "or" : "and");
|
json.getBoolean("eligibleOnFirstCompleteEvent") ? "or" : "and");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if (json.has("evaluatorCombination"))
|
||||||
|
// {
|
||||||
|
// props.put(RecordsManagementModel.PROP_DISPOSITION_EVALUATOR_COMBINATION,
|
||||||
|
// json.getBoolean("evaluatorCombination") ? "and" : "or");
|
||||||
|
// }
|
||||||
|
|
||||||
if (json.has("location"))
|
if (json.has("location"))
|
||||||
{
|
{
|
||||||
props.put(RecordsManagementModel.PROP_DISPOSITION_LOCATION,
|
props.put(RecordsManagementModel.PROP_DISPOSITION_LOCATION,
|
||||||
|
Reference in New Issue
Block a user