public boolean isShutdown() { DomainStatus status = getDomainStatus(); boolean shutdown = status != null && status.isShutdown(); if (shutdown) ZimbraLog.account.warn("domain " + mName + " is " + Provisioning.DOMAIN_STATUS_SHUTDOWN); return shutdown; }
public boolean isSuspended() { DomainStatus status = getDomainStatus(); boolean suspended = status != null && status.isSuspended(); if (suspended) ZimbraLog.account.warn("domain " + mName + " is " + Provisioning.DOMAIN_STATUS_SUSPENDED); return suspended; }