コード例 #1
0
  public static void deleteRelationsByArticle(java.lang.String articleId) throws RemoteException {
    try {
      VcmsPARelationServiceUtil.deleteRelationsByArticle(articleId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
  public static com.vportal.portlet.vcms.model.VcmsPARelationSoap addRelation(
      java.lang.String portionId, java.lang.String articleId) throws RemoteException {
    try {
      com.vportal.portlet.vcms.model.VcmsPARelation returnValue =
          VcmsPARelationServiceUtil.addRelation(portionId, articleId);

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

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #3
0
  public static com.vportal.portlet.vcms.model.VcmsPARelation[] getRelationsByPortion(
      java.lang.String portionId) throws RemoteException {
    try {
      java.util.List<com.vportal.portlet.vcms.model.VcmsPARelation> returnValue =
          VcmsPARelationServiceUtil.getRelationsByPortion(portionId);

      return returnValue.toArray(
          new com.vportal.portlet.vcms.model.VcmsPARelation[returnValue.size()]);
    } catch (Exception e) {
      _log.error(e, e);

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