Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/src/org/labkey/api/workflow/Job.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.labkey.api.exp.Lsid;
import org.labkey.api.exp.ObjectProperty;
import org.labkey.api.exp.PropertyDescriptor;
import org.labkey.api.exp.api.ExpData;
import org.labkey.api.exp.api.ExpMaterial;
import org.labkey.api.query.ValidationException;
import org.labkey.api.security.Group;
Expand Down Expand Up @@ -315,6 +316,12 @@ public void setAttachments(List<AttachmentFile> attachments)
@JsonIgnore
public abstract @NotNull List<String> getSampleNames();

@JsonIgnore
public abstract @NotNull List<? extends ExpData> getSources();

@JsonIgnore
public abstract @NotNull List<String> getSourceNames();

public void setEntities(List<WorkEntity> entities)
{
_entities = entities;
Expand Down
1 change: 0 additions & 1 deletion api/src/org/labkey/api/workflow/WorkEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public WorkEntity(@NotNull Long rowId, @NotNull WorkEntity.EntityType entityType
_actionId = actionId;
}


public Long getRowId()
{
return _rowId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8133,7 +8133,7 @@ public void validateForm(CrossFolderSelectionForm form, Errors errors)
if (form.getDataRegionSelectionKey() == null && form.getRowIds() == null)
errors.reject(ERROR_REQUIRED, "You must provide either a set of rowIds or a dataRegionSelectionKey.");
if (!"samples".equalsIgnoreCase(form.getDataType()) && !"exp.data".equalsIgnoreCase(form.getDataType())&& !"assay".equalsIgnoreCase(form.getDataType()))
errors.reject(ERROR_REQUIRED, "Data type (sample, data or assayrun) must be specified.");
errors.reject(ERROR_REQUIRED, "Data type (samples, exp.data or assay) must be specified.");
}

@Override
Expand Down