code: private void initResInfo() {
  
          Object dialogObject = getDialogObject();
          if ((dialogObject == null) || CmsDialog.DIALOG_INITIAL.equals(getParamAction())) {
              m_resInfo = new CmsResourceTypeInfoBean();
              int id = findNextTypeId();
              m_resInfo.setId(id);
              m_resInfo.setModuleName(getParamModule());
          } else {
              m_resInfo = (CmsResourceTypeInfoBean)dialogObject;
          }
      }
docs: Initializes the resource type info bean.<p>