|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.modules.inspection.model.InspectionModuleLib
public class InspectionModuleLib
Convenience Library for Inspection Modules. Deals with building various files from csv or schema.
Copyright 2008 Partner Software, Inc.
| Field Summary | |
|---|---|
static java.lang.String |
INSPECTION_MARKER_DATATYPE
|
static int |
INSPECTION_MARKER_RANGE
|
| Constructor Summary | |
|---|---|
InspectionModuleLib()
|
|
| Method Summary | |
|---|---|
static void |
buildNomadXmlFromCsv(java.lang.String moduleName)
Builds an Xml file readable by Tri-Global's Nomad handheld. |
static void |
buildPartnerWebConfigFromSchema(java.lang.String moduleName)
Reads the Inspection schema of the passed module name and builds a Partner Web config for it. |
static void |
buildReportsFromCsv(java.lang.String moduleName)
Generates basic reports by reading resources/schema/reports.csv and puts them into the mapset for this module. |
static void |
buildSchemaFromCsv(java.lang.String moduleName)
Builds an inspection schema from CSV files in the given module's resources/schema/ directory. |
static void |
buildSubtypeForms(java.lang.String moduleName)
Looks for a non-blank subtypeFields.csv in module/resources/schema and tries to build subtype forms for each subtype found. |
static void |
createModuleFromSkeleton(com.partnersoft.system.Module baseInspectionModule,
java.lang.String moduleName)
|
static com.partnersoft.system.Module |
inspectionSystemModule()
Returns the Inspection module. |
static java.util.List<com.partnersoft.cog.CogStructureField> |
listStandardFields()
Returns a list of standard inspection fields - for syncing etc. |
static java.util.List<java.lang.String> |
listValidDataTypes()
Returns a list of acceptable built-in data types. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INSPECTION_MARKER_DATATYPE
public static final int INSPECTION_MARKER_RANGE
| Constructor Detail |
|---|
public InspectionModuleLib()
| Method Detail |
|---|
public static java.util.List<com.partnersoft.cog.CogStructureField> listStandardFields()
public static java.util.List<java.lang.String> listValidDataTypes()
public static void createModuleFromSkeleton(com.partnersoft.system.Module baseInspectionModule,
java.lang.String moduleName)
throws java.io.IOException
java.io.IOException
public static void buildSubtypeForms(java.lang.String moduleName)
throws java.io.IOException
moduleName -
java.io.IOException
public static void buildReportsFromCsv(java.lang.String moduleName)
throws java.io.IOException
moduleName -
java.io.IOException
public static void buildSchemaFromCsv(java.lang.String moduleName)
throws java.io.IOException
java.io.IOException
public static void buildNomadXmlFromCsv(java.lang.String moduleName)
throws java.io.IOException
moduleName -
java.io.IOExceptionpublic static com.partnersoft.system.Module inspectionSystemModule()
public static void buildPartnerWebConfigFromSchema(java.lang.String moduleName)
throws java.io.IOException
moduleName -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||