예제 #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());
    }
  }
예제 #2
0
  public static com.vportal.portlet.vimagegallery.model.TFImageSoap[] getByG_C_I(
      long groupId, long categoryId, boolean isShow) throws RemoteException {
    try {
      java.util.List returnValue = TFImageServiceUtil.getByG_C_I(groupId, categoryId, isShow);

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

      throw new RemoteException(e.getMessage());
    }
  }
예제 #3
0
  public static com.vportal.portlet.vimagegallery.model.TFImageSoap[] findAll()
      throws RemoteException {
    try {
      java.util.List returnValue = TFImageServiceUtil.findAll();

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

      throw new RemoteException(e.getMessage());
    }
  }
예제 #4
0
  public static com.vportal.portlet.vimagegallery.model.TFImageSoap[] getByGroupId(
      long groupId, int start, int end) throws RemoteException {
    try {
      java.util.List returnValue = TFImageServiceUtil.getByGroupId(groupId, start, end);

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

      throw new RemoteException(e.getMessage());
    }
  }
예제 #5
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());
    }
  }