Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reset to commit
  • Loading branch information
Dermot Smyth authored and Dermot Smyth committed Mar 3, 2017
commit f29685f2fc4d1fe0313d9df768c4311c50be232d
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public abstract class SortOrderConstants {
public static Integer DELETE_CERTIFICATE_AUTHORITIES = 9020;
public static Integer DELETE_EXTERNAL_SECURITY = 9030;
public static Integer DELETE_PROTECTED_COLLECTIONS = 9040;
// Amps can reference roles, so must delete amps first
public static Integer DELETE_AMPS = 9050;

// Roles can reference privileges, so must delete roles first
public static Integer DELETE_ROLES = 9060;
public static Integer DELETE_PRIVILEGES = 9070;
Expand All @@ -86,5 +85,9 @@ public abstract class SortOrderConstants {
public static Integer DELETE_REST_API_SERVERS = 7000;
public static Integer DELETE_OTHER_SERVERS = 7010;

public static Integer DELETE_SCHEDULED_TASKS = 1000;
// Amps can reference roles and databases, so must delete amps before both (and before deleting REST API servers
// too, which may delete databases)
public static Integer DELETE_AMPS = 2000;

public static Integer DELETE_SCHEDULED_TASKS = 1000;
}