class DBService implements RolesProvider {

    boolean isDeleteSystemMetaAllowed(boolean deleteAllowed, final String oldValue, final String newValue) {

        // if authorized or old value is not set, then there is
        // no need to check any value

        if (deleteAllowed || oldValue == null || oldValue.isEmpty()) {
            return true;
        }

        // since our old value is not null then we will only
        // allow if the new value is identical

        return (newValue != null) ? oldValue.equals(newValue) : false;
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}