public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { CollectionContentBean collectionContentBean; collectionContentBean = resourceAdminServiceStub.getCollectionContent(destinationPath); return collectionContentBean; }
public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { CollectionContentBean collectionContentBean; collectionContentBean = resourceAdminServiceStub.getCollectionContent(destinationPath); return collectionContentBean; }
public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { return resourceAdminServiceStub.getCollectionContent(destinationPath); }
public CollectionContentBean getCollectionContent(String path) throws Exception { CollectionContentBean bean = null; try { bean = stub.getCollectionContent(path); } catch (Exception e) { String msg = "Failed to get collection content from the resource service. " + e.getMessage(); log.error(msg, e); throw e; } return bean; }
public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { CollectionContentBean collectionContentBean; try { collectionContentBean = resourceAdminServiceStub.getCollectionContent(destinationPath); } catch (RemoteException e) { log.error("Resource getting failed due to RemoteException : " + e); throw new RemoteException("Resource getting failed due to RemoteException :", e); } catch (ResourceAdminServiceExceptionException e) { log.error("Resource getting failed due to ResourceAdminServiceExceptionException : ", e); throw new ResourceAdminServiceExceptionException( "Resource getting failed due to ResourceAdminServiceExceptionException:", e); } return collectionContentBean; }
public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { CollectionContentBean collectionContentBean; try { collectionContentBean = resourceAdminServiceStub.getCollectionContent(destinationPath); } catch (RemoteException e) { log.error("Resource getting failed due to RemoteException : " + e); throw new RemoteException("Resource getting failed due to RemoteException :", e); } catch (ResourceAdminServiceExceptionException e) { log.error("Resource getting failed due to ResourceAdminServiceExceptionException : ", e); throw new ResourceAdminServiceExceptionException( "Resource getting failed due to ResourceAdminServiceExceptionException:", e); } return collectionContentBean; }
public CollectionContentBean getCollectionContent(String destinationPath) throws RemoteException, ResourceAdminServiceExceptionException { CollectionContentBean collectionContentBean; try { collectionContentBean = resourceAdminServiceStub.getCollectionContent(destinationPath); } catch (RemoteException e) { log.error("Resource getting failed due to RemoteException : " + e); throw new RemoteException("Resource getting failed due to RemoteException :", e); } catch (ResourceAdminServiceExceptionException e) { log.error("Resource getting failed due to ResourceAdminServiceExceptionException : ", e); throw new ResourceAdminServiceExceptionException( "Resource getting failed due to ResourceAdminServiceExceptionException:", e); } return collectionContentBean; }
public CollectionContentBean getCollectionContent(HttpServletRequest request) throws Exception { String path = RegistryUtil.getPath(request); CollectionContentBean bean = null; try { if(PaginationContext.getInstance() ==null){ bean = stub.getCollectionContent(path); }else { PaginationUtils.copyPaginationContext(stub._getServiceClient()); bean = stub.getCollectionContent(path); int rowCount = PaginationUtils.getRowCount(stub._getServiceClient()); session.setAttribute("row_count", Integer.toString(rowCount)); } } catch (Exception e) { String msg = "Failed to get collection content from the resource service. " + e.getMessage(); log.error(msg, e); throw e; } finally { PaginationContext.destroy(); } return bean; }