Skip to content

Commit 40b391c

Browse files
Integer -> Long
1 parent 496e329 commit 40b391c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+171
-162
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/SequenceAnalysisService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static public void setInstance(SequenceAnalysisService instance)
6969

7070
abstract public ReadData getReadData(int rowId, User u);
7171

72-
abstract public Readset getReadset(int readsetId, User u);
72+
abstract public Readset getReadset(long readsetId, User u);
7373

7474
abstract public ReferenceGenome getReferenceGenome(int rowId, User u) throws PipelineJobException;
7575

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/SequenceOutputFile.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public class SequenceOutputFile implements Serializable
3939
private String _description;
4040
private Long _dataId;
4141
private Integer _library_id;
42-
private Integer _readset;
43-
private Integer _analysis_id;
42+
private Long _readset;
43+
private Long _analysis_id;
4444
private Long _runid;
4545
private String _category;
4646
private Boolean _intermediate;
@@ -106,22 +106,22 @@ public void setLibrary_id(Integer library_id)
106106
_library_id = library_id;
107107
}
108108

109-
public Integer getReadset()
109+
public Long getReadset()
110110
{
111111
return _readset;
112112
}
113113

114-
public void setReadset(Integer readset)
114+
public void setReadset(Long readset)
115115
{
116116
_readset = readset;
117117
}
118118

119-
public Integer getAnalysis_id()
119+
public Long getAnalysis_id()
120120
{
121121
return _analysis_id;
122122
}
123123

124-
public void setAnalysis_id(Integer analysis_id)
124+
public void setAnalysis_id(Long analysis_id)
125125
{
126126
_analysis_id = analysis_id;
127127
}

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/model/AnalysisModel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
*/
3232
public interface AnalysisModel extends Serializable
3333
{
34-
Integer getAnalysisId();
34+
Long getAnalysisId();
3535

3636
Long getRunId();
3737

3838
String getContainer();
3939

40-
Integer getReadset();
40+
Long getReadset();
4141

4242
Long getAlignmentFile();
4343

@@ -64,7 +64,7 @@ public interface AnalysisModel extends Serializable
6464

6565
Integer getCreatedby();
6666

67-
Integer getRowId();
67+
Long getRowId();
6868

6969
String getDescription();
7070

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/model/ReadData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*/
2525
public interface ReadData extends Serializable
2626
{
27-
Integer getRowid();
27+
Long getRowid();
2828

29-
Integer getReadset();
29+
Long getReadset();
3030

3131
String getPlatformUnit();
3232

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/model/Readset.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public interface Readset extends Serializable
4646

4747
Integer getInstrumentRunId();
4848

49-
Integer getReadsetId();
49+
Long getReadsetId();
5050

5151
String getBarcode5();
5252

@@ -56,7 +56,7 @@ public interface Readset extends Serializable
5656

5757
Double getConcentration();
5858

59-
int getRowId();
59+
long getRowId();
6060

6161
String getContainer();
6262

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/DefaultPipelineStepOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public List<SequenceOutput> getSequenceOutputs()
103103
}
104104

105105
@Override
106-
public void addSequenceOutput(File file, String label, String category, @Nullable Integer readsetId, @Nullable Integer analysisId, @Nullable Integer genomeId, @Nullable String description)
106+
public void addSequenceOutput(File file, String label, String category, @Nullable Long readsetId, @Nullable Long analysisId, @Nullable Integer genomeId, @Nullable String description)
107107
{
108108
_intermediateFiles.remove(file);
109109

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/PipelineOutputTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public interface PipelineOutputTracker
1717
/**
1818
* Add a SequenceOutputFile for this job. These files are tracked and displayed through the browser UI.
1919
*/
20-
void addSequenceOutput(File file, String label, String category, @Nullable Integer readsetId, @Nullable Integer analysisId, @Nullable Integer genomeId, @Nullable String description);
20+
void addSequenceOutput(File file, String label, String category, @Nullable Long readsetId, @Nullable Long analysisId, @Nullable Integer genomeId, @Nullable String description);
2121

2222
/**
2323
* Remove a previously added intermediate file

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/PipelineStepOutput.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ class SequenceOutput
9292
private final File _file;
9393
private final String _label;
9494
private final String _category;
95-
private final Integer _readsetId;
96-
private final Integer _analysisId;
95+
private final Long _readsetId;
96+
private final Long _analysisId;
9797
private final Integer _genomeId;
9898
private final String _description;
9999

100-
public SequenceOutput(File file, String label, String category, @Nullable Integer readsetId, @Nullable Integer analysisId, @Nullable Integer genomeId, @Nullable String description)
100+
public SequenceOutput(File file, String label, String category, @Nullable Long readsetId, @Nullable Long analysisId, @Nullable Integer genomeId, @Nullable String description)
101101
{
102102
_file = file;
103103
_label = label;
@@ -123,12 +123,12 @@ public String getCategory()
123123
return _category;
124124
}
125125

126-
public Integer getReadsetId()
126+
public Long getReadsetId()
127127
{
128128
return _readsetId;
129129
}
130130

131-
public Integer getAnalysisId()
131+
public Long getAnalysisId()
132132
{
133133
return _analysisId;
134134
}
@@ -148,7 +148,7 @@ class PicardMetricsOutput
148148
{
149149
File _metricFile;
150150
File _inputFile;
151-
Integer _readsetId;
151+
Long _readsetId;
152152
TYPE _type;
153153

154154
public enum TYPE
@@ -157,7 +157,7 @@ public enum TYPE
157157
reads()
158158
}
159159

160-
public PicardMetricsOutput(File metricFile, File inputFile, Integer readsetId)
160+
public PicardMetricsOutput(File metricFile, File inputFile, Long readsetId)
161161
{
162162
_metricFile = metricFile;
163163
_inputFile = inputFile;
@@ -170,7 +170,7 @@ public PicardMetricsOutput(File metricFile, File inputFile, Integer readsetId)
170170
* want to denote that these metrics will apply to the final file, but dont know its name yet. This can be used instead of tying the
171171
* metrics to a specific file.
172172
*/
173-
public PicardMetricsOutput(File metricFile, TYPE type, Integer readsetId)
173+
public PicardMetricsOutput(File metricFile, TYPE type, Long readsetId)
174174
{
175175
_metricFile = metricFile;
176176
_type = type;
@@ -187,7 +187,7 @@ public File getInputFile()
187187
return _inputFile;
188188
}
189189

190-
public Integer getReadsetId()
190+
public Long getReadsetId()
191191
{
192192
return _readsetId;
193193
}

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/SequenceAnalysisJobSupport.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ public interface SequenceAnalysisJobSupport extends Serializable
3939

4040
Map<Long, File> getAllCachedData();
4141

42-
Readset getCachedReadset(Integer rowId);
42+
Readset getCachedReadset(Long rowId);
4343

44-
AnalysisModel getCachedAnalysis(int rowId);
44+
AnalysisModel getCachedAnalysis(long rowId);
4545

4646
List<Readset> getCachedReadsets();
4747

48-
void cacheReadset(int readsetId, User u);
48+
void cacheReadset(long readsetId, User u);
4949

50-
void cacheReadset(int readsetId, User u, boolean allowReadsetsWithArchivedData);
50+
void cacheReadset(long readsetId, User u, boolean allowReadsetsWithArchivedData);
5151

5252
List<AnalysisModel> getCachedAnalyses();
5353

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/SequencePipelineService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static public void setInstance(SequencePipelineService instance)
140140

141141
abstract public boolean hasMinLineCount(File f, long minLines) throws PipelineJobException;
142142

143-
abstract public void updateOutputFile(SequenceOutputFile o, PipelineJob job, Long runId, Integer analysisId);
143+
abstract public void updateOutputFile(SequenceOutputFile o, PipelineJob job, Long runId, Long analysisId);
144144

145145
abstract public PreprocessingStep.Output simpleTrimFastqPair(File fq1, File fq2, List<String> params, File outDir, Logger log) throws PipelineJobException;
146146

0 commit comments

Comments
 (0)