@Override public long getEntityOwnerId() { Vpc vpc = _entityMgr.findById(Vpc.class, getId()); if (vpc != null) { return vpc.getAccountId(); } return Account .ACCOUNT_ID_SYSTEM; // no account info given, parent this command to SYSTEM so ERROR events // are tracked }