private boolean checkDataItemExists(String id) throws ArchiveServiceException, BizPolicyException { boolean found = false; DataItem dataItem = dataItemBizService.getDataItem(id); if (dataItem != null) { found = true; } return found; }
private boolean checkDataItemExists(String id) throws ArchiveServiceException, BizPolicyException { boolean found = false; DataItem dataItem = dataItemBizService.getDataItem(id); if (dataItem != null) { found = true; } return found; }
/** * * @param id The identifier of the item to retrieve * @return DataItem or null if not existing. * @throws BizPolicyException * @throws ArchiveServiceException */ DataItem getDataItem(String id) throws ArchiveServiceException, BizPolicyException { return dataItemBizService.getDataItem(id, getAuthenticatedUser()); }
/** * * @param id The identifier of the item to retrieve * @return DataItem or null if not existing. * @throws BizPolicyException * @throws ArchiveServiceException */ DataItem getDataItem(String id) throws ArchiveServiceException, BizPolicyException { return dataItemBizService.getDataItem(id, getAuthenticatedUser()); }
break; case DATA_ITEM: object = dataItemBizService.getDataItem(id); break; case METADATA_FILE:
break; case DATA_ITEM: object = dataItemBizService.getDataItem(id); break; case METADATA_FILE: