/** register this viewbean's children */
  public void registerChildren() {
    TraceUtil.trace3("Entering");
    super.registerChildren();
    registerChild(POLICY_TYPES, CCHiddenField.class);
    registerChild(POLICY_NAMES, CCHiddenField.class);
    registerChild(POLICY_NAME, CCHiddenField.class);
    registerChild(POLICY_DELETE_CONFIRMATION, CCHiddenField.class);
    registerChild(PAGE_TITLE, CCPageTitle.class);
    registerChild(CONTAINER_VIEW, PolicySummaryView.class);

    TraceUtil.trace3("Exiting");
  }
  /** retrieve the criteria copy information for this criteria */
  public ArchivePolCriteriaCopy[] getCriteriaCopies() {
    HttpServletRequest request = RequestManager.getRequestContext().getRequest();
    ArchivePolCriteriaCopy[] copies =
        (ArchivePolCriteriaCopy[]) request.getAttribute(CRITERIA_COPIES);

    if (copies != null) return copies;

    // get  the policy
    CommonViewBeanBase parent = (CommonViewBeanBase) getParentViewBean();
    String serverName = parent.getServerName();
    String policyName = (String) parent.getPageSessionAttribute(Constants.Archive.POLICY_NAME);
    Integer criteriaNumber =
        (Integer) parent.getPageSessionAttribute(Constants.Archive.CRITERIA_NUMBER);

    Integer policyType = (Integer) parent.getPageSessionAttribute(Constants.Archive.POLICY_TYPE);

    if (criteriaNumber == null && (policyType.shortValue()) == ArSet.AR_SET_TYPE_DEFAULT) {

      // default to the only criteria of this policy
      criteriaNumber = new Integer(0);
      parent.setPageSessionAttribute(Constants.Archive.CRITERIA_NUMBER, criteriaNumber);
    }

    // get the criteria
    try {
      SamQFSSystemModel sysModel = SamUtil.getModel(serverName);

      ArchivePolicy thePolicy =
          sysModel.getSamQFSSystemArchiveManager().getArchivePolicy(policyName);
      ArchivePolCriteria criteria = thePolicy.getArchivePolCriteria(criteriaNumber.intValue());
      copies = criteria.getArchivePolCriteriaCopies();
      request.setAttribute(CRITERIA_COPIES, copies);
    } catch (SamFSException sfe) {
      SamUtil.processException(
          sfe,
          this.getClass(),
          "getCriteriaCopies",
          "Unable to load policy criteria copies",
          serverName);
    }

    // return the criteria copies
    return copies;
  }