|
1 | 1 | package org.labkey.remoteapi.storage;
|
2 | 2 |
|
3 | 3 | /**
|
4 |
| - * Create a new LabKey Freezer Manager storage item that can be used in the creation of a freezer hierarchy. |
5 |
| - * Freezer hierarchies consist of a top level Freezer, which can have any combination of child non-terminal storage |
6 |
| - * locations (i.e. those that do not directly contain samples but can contain other units) and terminal storage |
7 |
| - * locations (i.e. units in the freezer that directly contain samples and cannot contain other units). |
| 4 | + * Create a new LabKey Freezer Manager storage item that can be used in the creation of a storage hierarchy. |
| 5 | + * Storage hierarchies consist of a top level Freezer or Primary Storage, which can have any combination of |
| 6 | + * child non-terminal storage locations (i.e., those that do not directly contain samples but can contain other |
| 7 | + * units) and terminal storage locations (i.e., units in the storage location that directly contain samples and cannot contain |
| 8 | + * other units). |
8 | 9 | * See the <a href="https://www.labkey.org/SampleManagerHelp/wiki-page.view?name=createFreezer">LabKey Documentation</a>
|
9 | 10 | * for further details.
|
10 | 11 | * <p>
|
11 |
| - * A freezer may also have a parent hierarchy, which defines the physical location of the freezer. |
| 12 | + * A storage location may also have a parent hierarchy, which defines the physical location of the storage location. |
12 | 13 | * See the <a href="https://www.labkey.org/SampleManagerHelp/wiki-page.view?name=freezerLocation">LabKey Documentation</a>
|
13 | 14 | * for further details.
|
14 | 15 | * <p>
|
15 |
| - * Storage items can be of the following types: Physical Location, Freezer, Shelf, Rack, Canister, |
| 16 | + * Storage items can be of the following types: Physical Location, Freezer, Primary Storage, Shelf, Rack, Canister, |
16 | 17 | * Storage Unit Type, or Terminal Storage Location. One of these values must be set as the "type" for
|
17 | 18 | * the {@link StorageRow} provided to the CreateCommand constructor.
|
18 | 19 | * <p>
|
19 | 20 | * The additional properties for the storage item being created can be provided as the "props" for the
|
20 | 21 | * {@link StorageRow}. The specific set of props will differ for each storage item type:
|
21 | 22 | * <ul>
|
22 | 23 | * <li>Physical Location: name, description, locationId (rowId of the parent Physical Location)</li>
|
23 |
| - * <li>Freezer: name, description, locationId (rowId of the parent Physical Location), manufacturer, freezerModel, temperature, temperatureUnits, serialNumber, sensorName, lossRate, status</li> |
24 |
| - * <li>Shelf/Rack/Canister: name, description, locationId (rowId of the parent freezer or Shelf/Rack/Canister)</li> |
| 24 | + * <li>Freezer: name, description, locationId (rowId of the parent Physical Location), manufacturer, freezerModel, temperature, temperatureUnits, serialNumber, sensorName, lossRate, status, temperatureControlled (boolean)</li> |
| 25 | + * <li>Primary Storage: name, description, locationId (rowId of the parent Physical Location), temperatureControlled (boolean)</li> |
| 26 | + * <li>Shelf/Rack/Canister: name, description, locationId (rowId of the parent freezer, primary storage, or Shelf/Rack/Canister)</li> |
25 | 27 | * <li>Storage Unit Type: name, description, unitType (one of the following: "Box", "Plate", "Bag", "Cane", "Tube Rack"), rows, cols (required if positionFormat is not "Num"), positionFormat (one of the following: "Num", "AlphaNum", "AlphaAlpha", "NumAlpha", "NumNum"), positionOrder (one of the following: "RowColumn", "ColumnRow")</li>
|
26 |
| - * <li>Terminal Storage Location: name, description, typeId (rowId of the Storage Unit Type), locationId (rowId of the parent freezer or Shelf/Rack/Canister)</li> |
| 28 | + * <li>Terminal Storage Location: name, description, typeId (rowId of the Storage Unit Type), locationId (rowId of the parent freezer, primary storage or Shelf/Rack/Canister)</li> |
27 | 29 | * </ul>
|
28 | 30 | * <p>
|
29 | 31 | * Examples:
|
|
0 commit comments