public static com.vportal.portlet.vcms.model.VcmsTypeSoap addType(
      long groupId,
      long companyId,
      long plid,
      java.lang.String code,
      java.lang.String name,
      java.lang.String description,
      java.lang.String language,
      java.lang.Boolean addCommunityPermissions,
      java.lang.Boolean addGuestPermissions,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue =
          VcmsTypeServiceUtil.addType(
              groupId,
              companyId,
              plid,
              code,
              name,
              description,
              language,
              addCommunityPermissions,
              addGuestPermissions,
              communityPermissions,
              guestPermissions);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.vportal.portlet.vcms.model.VcmsTypeSoap getType(java.lang.String typeId)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue = VcmsTypeServiceUtil.getType(typeId);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.vportal.portlet.vcms.model.VcmsTypeSoap updateType(
      java.lang.String typeId,
      long groupId,
      long companyId,
      java.lang.String code,
      java.lang.String name,
      java.lang.String description,
      java.lang.String language)
      throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsType returnValue =
          VcmsTypeServiceUtil.updateType(
              typeId, groupId, companyId, code, name, description, language);

      return com.vportal.portlet.vcms.model.VcmsTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }