Changeset 7441
- Timestamp:
- Feb 1, 2018, 11:32:53 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.11-stable/src/core/net/sf/basedb/core/RawBioAssay.java
r7308 r7441 602 602 603 603 /** 604 Get the job that imported data to this raw bioassay. 604 Set the job on this raw bioassay that was used to create or import 605 data for it. 606 607 @param job The job or null to clear the existing job 608 @throws PermissionDeniedException If the logged in user doesn't have 609 write permission 610 @since 3.11.3 611 */ 612 public void setJob(Job job) 613 throws PermissionDeniedException 614 { 615 checkPermission(Permission.WRITE); 616 if (job != null) job.checkPermission(Permission.USE); 617 getData().setJob(job == null ? null : job.getData()); 618 } 619 620 /** 621 Get the job that created or imported data to this raw bioassay. 605 622 @return A <code>Job</code> object, ot null if this information is 606 623 not available … … 1057 1074 { 1058 1075 rawDataBatcher = RawDataBatcher.getNew(getDbControl(), this, fiMethod); 1059 getData().setJob(job == null ? null :job.getData());1076 if (job != null) getData().setJob(job.getData()); 1060 1077 } 1061 1078 return rawDataBatcher;
Note: See TracChangeset
for help on using the changeset viewer.