Exemple #1
0
  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;
  }
Exemple #2
0
  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;
  }