FINERACT-2245: New command processing - mix taxonomy
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
fe98aa6a58
commit
ae3e2a6343
-85
@@ -426,13 +426,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateCurrencies() {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = "CURRENCY";
|
||||
this.href = "/currencies";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder createSms() {
|
||||
this.actionName = "CREATE";
|
||||
this.entityName = "SMS";
|
||||
@@ -1862,55 +1855,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder createNote(final CommandWrapper resourceDetails, final String resourceType, final Long resourceId) {
|
||||
this.actionName = "CREATE";
|
||||
this.entityName = resourceDetails.entityName();// Note supports multiple
|
||||
// resources. Note
|
||||
// Permissions are set
|
||||
// for each resource.
|
||||
this.clientId = resourceDetails.getClientId();
|
||||
this.loanId = resourceDetails.getLoanId();
|
||||
this.savingsId = resourceDetails.getSavingsId();
|
||||
this.groupId = resourceDetails.getGroupId();
|
||||
this.subentityId = resourceDetails.subresourceId();
|
||||
this.href = "/" + resourceType + "/" + resourceId + "/notes/template";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateNote(final CommandWrapper resourceDetails, final String resourceType, final Long resourceId,
|
||||
final Long noteId) {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = resourceDetails.entityName();// Note supports multiple
|
||||
// resources. Note
|
||||
// Permissions are set
|
||||
// for each resource.
|
||||
this.entityId = noteId;
|
||||
this.clientId = resourceDetails.getClientId();
|
||||
this.loanId = resourceDetails.getLoanId();
|
||||
this.savingsId = resourceDetails.getSavingsId();
|
||||
this.groupId = resourceDetails.getGroupId();
|
||||
this.subentityId = resourceDetails.subresourceId();
|
||||
this.href = "/" + resourceType + "/" + resourceId + "/notes";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder deleteNote(final CommandWrapper resourceDetails, final String resourceType, final Long resourceId,
|
||||
final Long noteId) {
|
||||
this.actionName = "DELETE";
|
||||
this.entityName = resourceDetails.entityName();// Note supports multiple
|
||||
// resources. Note
|
||||
// Permissions are set
|
||||
// for each resource.
|
||||
this.entityId = noteId;
|
||||
this.clientId = resourceDetails.getClientId();
|
||||
this.loanId = resourceDetails.getLoanId();
|
||||
this.savingsId = resourceDetails.getSavingsId();
|
||||
this.groupId = resourceDetails.getGroupId();
|
||||
this.subentityId = resourceDetails.subresourceId();
|
||||
this.href = "/" + resourceType + "/" + resourceId + "/calendars/" + noteId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder createGroup() {
|
||||
this.actionName = "CREATE";
|
||||
this.entityName = "GROUP";
|
||||
@@ -2193,14 +2137,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateTaxonomyMapping(final Long mappingId) {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = "XBRLMAPPING";
|
||||
this.entityId = mappingId;
|
||||
this.href = "/xbrlmapping";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder createHoliday() {
|
||||
this.actionName = "CREATE";
|
||||
this.entityName = "HOLIDAY";
|
||||
@@ -2387,13 +2323,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateCache() {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = "CACHE";
|
||||
this.href = "/cache";
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deposit account mappings
|
||||
*/
|
||||
@@ -3582,13 +3511,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateBusinessDate() {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = "BUSINESS_DATE";
|
||||
this.href = "/businessdate";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder createDelinquencyRange() {
|
||||
this.actionName = "CREATE";
|
||||
this.entityName = "DELINQUENCY_RANGE";
|
||||
@@ -3651,13 +3573,6 @@ public class CommandWrapperBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder updateExternalEventConfigurations() {
|
||||
this.actionName = "UPDATE";
|
||||
this.entityName = "EXTERNAL_EVENT_CONFIGURATION";
|
||||
this.href = "/externaleventconfiguration";
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandWrapperBuilder chargeOff(final Long loanId) {
|
||||
this.actionName = "CHARGEOFF";
|
||||
this.entityName = "LOAN";
|
||||
|
||||
Reference in New Issue
Block a user