Exemplo n.º 1
0
  public static com.vportal.portlet.vimagegallery.model.TFImageSoap addImage(
      long groupId,
      long companyId,
      long plid,
      long categoryId,
      java.lang.String name,
      java.lang.String description,
      java.lang.String image,
      boolean isShow,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      com.vportal.portlet.vimagegallery.model.TFImage returnValue =
          TFImageServiceUtil.addImage(
              groupId,
              companyId,
              plid,
              categoryId,
              name,
              description,
              image,
              isShow,
              communityPermissions,
              guestPermissions);

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

      throw new RemoteException(e.getMessage());
    }
  }
Exemplo n.º 2
0
  public static com.vportal.portlet.vimagegallery.model.TFImageSoap getImage(long id)
      throws RemoteException {
    try {
      com.vportal.portlet.vimagegallery.model.TFImage returnValue = TFImageServiceUtil.getImage(id);

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

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