public void importResources() throws Exception {
    if (_privateLARInputStream != null) {
      LayoutLocalServiceUtil.importLayouts(
          userId, groupId, true, getParameterMap(), _privateLARInputStream);
    }

    if (_publicLARInputStream != null) {
      LayoutLocalServiceUtil.importLayouts(
          userId, groupId, false, getParameterMap(), _publicLARInputStream);
    }
  }
  protected void exportImportLayouts(long[] layoutIds, Map<String, String[]> parameterMap)
      throws Exception {

    larFile =
        LayoutLocalServiceUtil.exportLayoutsAsFile(
            group.getGroupId(), false, layoutIds, getExportParameterMap(), null, null);

    LayoutLocalServiceUtil.importLayouts(
        TestPropsValues.getUserId(), importedGroup.getGroupId(), false, parameterMap, larFile);
  }