public class StabilityStudyFactory extends com.labvantage.sapphire.BaseCustom implements StabilityConstants
ADVANCEDPULLSAMPLE_ASSIGNDEPARTMENT, ADVANCEDPULLSAMPLE_ASSIGNTO, ADVANCEDPULLSAMPLE_COLUMNVALUES, ADVANCEDPULLSAMPLE_COPIES, ADVANCEDPULLSAMPLE_CREATE, ADVANCEDPULLSAMPLE_CREATEDDISTINCTLABORATORYSAMPLES, ADVANCEDPULLSAMPLE_CREATEMULTIPLEREUSETESTINGSAMPLE, ADVANCEDPULLSAMPLE_CREATESDI, ADVANCEDPULLSAMPLE_CREATEUNIQUESAMPLEPERCONTAINER, ADVANCEDPULLSAMPLE_DEFERSAMPLECREATION, ADVANCEDPULLSAMPLE_DEVIATION, ADVANCEDPULLSAMPLE_DEVIATIONFLAG, ADVANCEDPULLSAMPLE_EARLYGRACEPERIOD, ADVANCEDPULLSAMPLE_GRACEPERIOD, ADVANCEDPULLSAMPLE_GRACEPERIODDETAILS, ADVANCEDPULLSAMPLE_GRACEPERIODUNIT, ADVANCEDPULLSAMPLE_GRCPERIOD, ADVANCEDPULLSAMPLE_INCIDENTTEMPLATE, ADVANCEDPULLSAMPLE_MESSAGE, ADVANCEDPULLSAMPLE_MULTIPLYQTYBYSAMPLECOUNT, ADVANCEDPULLSAMPLE_PULLAMOUNT, ADVANCEDPULLSAMPLE_QUANTITY, ADVANCEDPULLSAMPLE_SPECS, ADVANCEDPULLSAMPLE_TEMPLATEID, ADVANCEDPULLSAMPLE_UNITS, ADVANCEDPULLSAMPLE_WORKITEMS, ADVANCEDPULLSAMPLE_WORKORDER, CONDITION_COLUMNLABELS, CONDITION_COLUMNS, DAY, EVENT_STATUS_CANCELLED, EVENT_STATUS_DONE, EVENT_STATUS_ERROR, EVENT_STATUS_ERRORACKNOWLEDGED, EVENT_STATUS_SCHEDULED, EXECUTEAHEADUNIT_DAY, EXECUTEAHEADUNIT_MONTH, EXECUTEAHEADUNIT_WEEK, EXECUTEAHEADUNIT_YEAR, FROM_WHEN, GRACE_PERIOD_UNIT, HOUR, ITEM_CONDITIONS, ITEM_PLANITEMWORKITEMS, ITEM_PLANWORKITEMS, ITEM_TIMEPOINTS, MONTH, ORIENTATION_INVERTED, ORIENTATION_UPRIGHT, PLANITEM_ROWSTATUS_DELETE, PLANITEM_ROWSTATUS_INSERT, PLANITEM_ROWSTATUS_RETRIEVE, PLANITEM_ROWSTATUS_UPDATE, PLANITEM_STATUS_DISABLED, PLANITEMWORKITEM_SCHEDULEPLANITEMID, PLANTYPE_PROTOCOL, PLANTYPE_STUDY, PLANTYPE_TEMPLATE, PLANWORKITEM_COLUMNLABELS, PLANWORKITEM_COLUMNS, PLANWORKITEM_CONTAINERPERREPEATFLAG, PLANWORKITEM_CONTAINERPERTESTFLAG, PLANWORKITEM_CONTINGENTFLAG, PLANWORKITEM_DEPARTMENTID, PLANWORKITEM_DESTRUCTIVETESTFLAG, PLANWORKITEM_DUEDTOFFSET, PLANWORKITEM_DUEDTOFFSETTIMEUNIT, PLANWORKITEM_NUMREPEATS, PLANWORKITEM_QUANTITY, PLANWORKITEM_QUANTITYTYPE, PLANWORKITEM_QUANTITYUNIT, PLANWORKITEM_REUSECONTAINERFLAG, PLANWORKITEM_SCHEDULEPLANID, PLANWORKITEM_WORKITEMID, PLANWORKITEM_WORKITEMINSTANCE, PLANWORKITEM_WORKITEMVERSIONID, SCHEDULECONDITIONID, SCHEDULEPLANID, SCHEDULETIMEPOINTID, SDC_LV_SCHEDULECONDITION, SDC_PROTOCOLSDC, SDC_SCHEDULEPLAN, SDC_SCHEDULEPLANITEM, SDC_SDIWORKITEM, SDC_STORAGEENVSDC, SDC_STUDYSDC, STABILITYTASK_ADVANCEDPULLSAMPLE, STABILITYTASK_CREATEWORKORDER, STABILITYTASK_DISPOSE, STABILITYTASK_MOVE, STABILITYTASK_PULLSAMPLE, STABILITYTASK_SHAKE, STUDY_STATUS_ACTIVE, STUDY_STATUS_CANCELLED, STUDY_STATUS_COMPLETED, STUDY_STATUS_NOTSTARTED, STUDY_STATUS_PENDINGAPPROVAL, STUDY_STATUS_REJECT, STUDY_STATUS_REQUESTDRAFT, STUDY_STATUS_SUSPENDED, TIMEPOINT_COLUMNLABELS, TIMEPOINT_COLUMNS, TIMEUNIT_DAY, TIMEUNIT_HOUR, TIMEUNIT_MONTH, TIMEUNIT_WEEK, TIMEUNIT_YEAR, VALIDEXECUTEAHEADUNIT, VALIDORIENTATION, VALIDSTARTCRITERIA, VALIDTIMEUNITUNIT, WEEK, YEAR| Constructor and Description |
|---|
StabilityStudyFactory(java.io.File rakFile,
java.lang.String connectionid)
StabilityStudyFactory is a factory class for creating StabilityStudy objects.
|
StabilityStudyFactory(PageContext pageContext)
Creates a StabilityStudyFactory object with the given page context.
|
StabilityStudyFactory(java.lang.String connectionid)
StabilityStudyFactory is a factory class for creating StabilityStudy objects.
|
| Modifier and Type | Method and Description |
|---|---|
StabilityStudy |
addPlanCreatedFromScratch(java.lang.String studyid)
Adds a plan created from scratch to the ScheduleGrid.
|
StabilityStudy |
addPlanCreatedFromScratch(java.lang.String studyid,
java.lang.String planlabel)
Adds a plan created from scratch to the ScheduleGrid.
|
StabilityStudy |
addPlanCreatedFromTemplate(java.lang.String studyid,
java.lang.String planid)
Adds a plan created from a template to the ScheduleGrid.
|
StabilityStudy |
addPlanCreatedFromTemplate(java.lang.String studyid,
java.lang.String planid,
java.lang.String planlabel)
Adds a plan created from a template to the ScheduleGrid.
|
StabilityStudy |
copyStudyFromAnotherStudy(java.lang.String studyid)
Copies a StabilityStudy from another study.
|
StabilityStudy |
createStudyFromProtocol(java.lang.String studyTemplateID,
java.lang.String protocolID,
java.lang.String protocolVersionID,
java.lang.String productID)
Creates a StabilityStudy object based on the given protocol information.
|
StabilityStudy |
createStudyFromScratch(java.lang.String studyTemplateID)
Create a new StabilityStudy object from scratch using a study template ID.
|
StabilityStudy |
loadFromJson(JsonObject json)
Loads a StabilityStudy object from a JsonObject.
|
StabilityStudy |
loadStudy(java.lang.String studyid)
Loads a StabilityStudy object based on the given study ID.
|
void |
saveStudy(StabilityStudy study) |
getAccessorErrorIds, getAccessorErrorMsgs, getActionProcessor, getConfigurationProcessor, getConnectionid, getConnectionId, getConnectionProcessor, getDAMProcessor, getDepartmentList, getHttpProcessor, getQueryProcessor, getRakFile, getSDCProcessor, getSDIProcessor, getSequenceProcessor, getTranslationProcessor, setConnectionId, setLanguage, setRakFilepublic StabilityStudyFactory(java.lang.String connectionid)
public StabilityStudyFactory(java.io.File rakFile,
java.lang.String connectionid)
rakFile - The File object representing the RAK file.connectionid - The connection ID to be set.public StabilityStudyFactory(PageContext pageContext)
pageContext - The page context object.public StabilityStudy createStudyFromScratch(java.lang.String studyTemplateID) throws SapphireException
studyTemplateID - The ID of the study template to use.SapphireException - If there is an error creating the study from scratch.public StabilityStudy createStudyFromProtocol(java.lang.String studyTemplateID, java.lang.String protocolID, java.lang.String protocolVersionID, java.lang.String productID) throws SapphireException
studyTemplateID - The ID of the study template to use.protocolID - The ID of the protocol.protocolVersionID - The ID of the protocol version.productID - The ID of the product.SapphireException - If there is an error creating the study from the protocol.public StabilityStudy addPlanCreatedFromScratch(java.lang.String studyid) throws SapphireException
studyid - The ID of the study for which the plan is being created.SapphireException - If there is an error adding the plan.public StabilityStudy addPlanCreatedFromScratch(java.lang.String studyid, java.lang.String planlabel) throws SapphireException
studyid - The ID of the study for which the plan is being created.planlabel - The label of the plan being created.SapphireException - If there is an error adding the plan.public StabilityStudy addPlanCreatedFromTemplate(java.lang.String studyid, java.lang.String planid) throws SapphireException
studyid - The ID of the study for which the plan is being created.planid - The ID of the plan being created.SapphireException - If there is an error adding the plan.public StabilityStudy addPlanCreatedFromTemplate(java.lang.String studyid, java.lang.String planid, java.lang.String planlabel) throws SapphireException
studyid - The ID of the study for which the plan is being created.planid - The ID of the plan being created.planlabel - The label of the plan being created.SapphireException - If there is an error adding the plan.public StabilityStudy copyStudyFromAnotherStudy(java.lang.String studyid) throws SapphireException
studyid - The ID of the study to copy from.SapphireExceptionpublic StabilityStudy loadStudy(java.lang.String studyid) throws SapphireException
studyid - The ID of the study to load.SapphireException - If there is an error loading the study.public StabilityStudy loadFromJson(JsonObject json) throws SapphireException
json - The JsonObject containing the data to load.SapphireException - If there is an error loading the study.public void saveStudy(StabilityStudy study) throws SapphireException
study - SapphireException