public class LoaderSystemZone<SystemType extends ItemSystemBase<MemberType>,MemberType extends ItemBase> extends LoaderBase<ItemSystemBase<SystemType>,ModelLoaderBase>
DOMAIN_COBIESHEETTYPE, DOMAIN_JOBPLANSTATUS, DOMAIN_LOCASSETSTATUS, DOMAIN_PMSTATUS, ERR_ADD_CLASS, ERR_ADD_CONTACT, ERR_ASSET_LOC_LOOKUP, ERR_ASSOC_ATTRIB_TYPE, ERR_ATTACH_EXPORT, ERR_ATTACH_LIST, ERR_ATTRIB_LIST, ERR_ATTRIB_TYPE_MISMATCH, ERR_DELTE_SYSTEM_MEMBER, ERR_DUP_BARCCODE, ERR_DUP_FLOORTAG, ERR_DUP_ROONTAG, ERR_EXISTING_ATTRIB_FOR_CLASS, ERR_EXPORT_MAPPED_FIELD, ERR_FACILITY_MISSING, ERR_FACILITY_TOO_MANY, ERR_FILE_COPY, ERR_INVALID_OWNING_LOC, ERR_JOB_FREQ, ERR_JOB_TASK_LIST, ERR_LINK_ASSET_PRODUCT, ERR_MAPPED_SYSTEM_MISSING, ERR_MASTER_PM, ERR_MISSING_FILTER, ERR_MISSING_ROOT_LOC, ERR_PM_FOR_ASSET, ERR_SYSTEM_MEMBER_LIST, ERR_TOOL_LIST, ERR_TYPE_FOR_JOB, ERR_UPDATE_BAD_DATE, ERR_VENDOR, FIELD__LONGDESCRIPTION, FIELD_ADDRESS1, FIELD_ADDRESS2, FIELD_ADDRESS3, FIELD_ADDRESS4, FIELD_ADDRESS5, FIELD_ADDRESSCODE, FIELD_ADDRESSLINE1, FIELD_ADDRESSLINE2, FIELD_ADDRESSLINE3, FIELD_ALNVALUE, FIELD_ASSET_PARENT, FIELD_AUTOUPDATE, FIELD_BIMIMPORTSRC, FIELD_BIMROOMNAME, FIELD_BIMUSAGE, FIELD_BIRTHDATE, FIELD_CHANGEDATE, FIELD_CITY, FIELD_COMPANIESID, FIELD_COMPANY, FIELD_COMPANYSETID, FIELD_COUNTRY, FIELD_COUNTY, FIELD_CURRENCYCODE, FIELD_DEPARTMENT, FIELD_DISPLAYNAME, FIELD_DISPLAYSEQUENCE, FIELD_DOCUMENT, FIELD_DROPPOINT, FIELD_EMAILADDRESS, FIELD_FIRSTNAME, FIELD_FORMATTEDADDRESS, FIELD_FREQUENCY, FIELD_FREQUNIT, FIELD_HOMEPAGE, FIELD_INTERVAL, FIELD_ITEMNUM, FIELD_ITEMSETID, FIELD_JOBPLANID, FIELD_JPDURATION, FIELD_JPNUM, FIELD_LASTNAME, FIELD_LINEARASSETSPECID, FIELD_MANUFACTURER, FIELD_MASTERPMNUM, FIELD_MNEXTDATE, FIELD_MODELNUM, FIELD_NAME, FIELD_NUMVALUE, FIELD_PERSONID, FIELD_PLUSCJPREVNUM_NP, FIELD_PLUSCREVNUM, FIELD_PMNUM, FIELD_POSTALCODE, FIELD_PRIMARYEMAIL, FIELD_PRIMARYPHONE, FIELD_ROTATING, FIELD_SADDRESSCODE, FIELD_SETID, FIELD_SETSID, FIELD_STATEPROVINCE, FIELD_STORELOCSITE, FIELD_TASKDURATION, FIELD_TASKSEQUENCE, FIELD_TITLE, FIELD_TYPE, FIELD_VENDOR, MAXIMO_SYSTEM_NAME, MSG_ADD_CLASSIFICATION, MSG_ADD_COMPANY_MASTER, MSG_ADD_ITEM, MSG_ADD_USEWITH, MSG_ASSET_STATUS_CHANGE, MSG_ASSOC_ATTRIB_TYPE, MSG_ASSOC_ATTRIBS, MSG_ATTRIBUTE_MAPPED, MSG_COMMISION_START, MSG_CREATE_COMP_FOR_MASTER, MSG_EXCEPTION, MSG_EXCEPTION_FIELD, MSG_EXPORT_ITEM, MSG_EXPORT_START, MSG_FILE_PARSED, MSG_IMPORT_COUNT, MSG_JP_STATUS_CHANGE, MSG_LOADING_FILES, MSG_LOC_STATUS_CHANGE, MSG_MATCH_COMPANY_MASTER, MSG_MATCH_COMPANY_NAME, MSG_MATCH_ITEM, MSG_NO_ADD, MSG_PM_STATUS_CHANGE, MSG_PROD_STATUS_CHANGE, MSG_SKIP_ITEM, MSG_SKIP_SYSTEM, MSG_SYSTEM_MAPPING, MSG_UPDATE_ITEM, MSG_UPDATE_NOT_SUPPORTED, MSG_VALIDATE_COBIE_FILE, MSG_VALIDATE_COBIE_MAXIMO, MSG_VALIDATE_ITEM, MSG_WRITING_EXPORT_FILE, RELATIONSHIP_ASSET_CHILDREN, RELATIONSHIP_ASSETSPEC, RELATIONSHIP_ASSETTYPE, RELATIONSHIP_CLASSSPEC, RELATIONSHIP_COMP_CONTACT, RELATIONSHIP_COMPCONTACTMSTR, RELATIONSHIP_CONTACT, RELATIONSHIP_INVVENDOR, RELATIONSHIP_ITEM, RELATIONSHIP_ITEMSPEC, RELATIONSHIP_JOBPLANSPECCLASS, RELATIONSHIP_JOBTASK, RELATIONSHIP_JOBTOOL, RELATIONSHIP_LOC_ASSET, RELATIONSHIP_LOC_CHILDREN, RELATIONSHIP_LOCATION, RELATIONSHIP_LOCATIONSSPEC, RELATIONSHIP_LOCHASREQUIREMENT, RELATIONSHIP_MASTERPM, RELATIONSHIP_MASTERPMSEQ, RELATIONSHIP_PM, RELATIONSHIP_PRIMARYCONTACT, TABLE_ASSETSPEC, TABLE_COMPANIES, TABLE_COMPMASTER, TABLE_CURRENCY, TABLE_EMAIL, TABLE_INVVENDOR, TABLE_JOBTASK, TABLE_LOCATIONSPEC, TABLE_MASTERPM, TABLE_MASTERPMSEQ, TABLE_PM, TABLE_SERVICEADDRESS, TABLE_SETS, TABLE_TOOLITEM, TBALE_COMPCONTACT, WRN_ADD_UNITS, WRN_ASSEMBLY_SKIPPED_CHILDREN_MISSING, WRN_ASSEMBLY_SKIPPED_CHILDREN_NOT_LISTED, WRN_ASSEMBLY_SKIPPED_PARENT_MISSING, WRN_ASSEMBLY_SKIPPED_PARENT_NOT_LISTED, WRN_ATTACHMENT_BAD_TYPE, WRN_ATTACHMENT_EXIST, WRN_ATTACHMENT_NOT_FOUND, WRN_ATTACHMENT_NOT_SUPPORTED, WRN_ATTACHMENT_TO_LARGE, WRN_ATTRIBUTE_SET_FAILED, WRN_ATTRIBUTE_SKIPPED, WRN_ATTRIBUTE_TYPY_SKIPPED, WRN_ATTRIBUTE_VALUE_TOO_LONG, WRN_CATEGORY_NOT_FOUND, WRN_CLASS_MISSING_USE_WITH, WRN_COMPANY_CREATE, WRN_COMPANY_MATCH_MANY, WRN_DATA_TYPE_MISMATCH, WRN_DOC_IMPORT_NOT_CONFIG, WRN_DURATION_NOT_NUMERIC, WRN_DURATION_TO_HOURS, WRN_ID_TOO_LONG, WRN_ID_TOO_LONG_SKIPPED, WRN_INVALID_AREA_UNITS, WRN_INVALID_DATE_FORMAT, WRN_INVALID_LINEAR_UNITS, WRN_INVALID_MEASUREMENT_VALUE, WRN_INVALID_UNITS, WRN_ITEM_SKIPPED, WRN_MANUFACTUER_MISMATCH, WRN_MAPPED_SYSTEM_AMBIGIOUS, WRN_MISSING_CLASS_DEFAULT, WRN_MISSING_CLASS_DEFAULT_ADD, WRN_MISSING_COMPONENT_REF, WRN_MISSING_FLOOR_REF, WRN_MISSING_PROPERTY, WRN_MISSING_SPACE_REF, WRN_MULTIPLE_MATCH, WRN_MULTIPLE_PRODUCT_MATCH, WRN_NO_FACILITY_LOADED, WRN_NO_ITEM_FOR_TYPE, WRN_NO_MEMBERS, WRN_NO_NAME, WRN_SYSTEM_MEMBER_EXIST, WRN_UNITS_TOO_LONG
Constructor and Description |
---|
LoaderSystemZone(ModelLoaderBase loader,
boolean isSystem) |
Modifier and Type | Method and Description |
---|---|
int |
addAttributeValues(MboRemote mbo,
ItemSystemBase<SystemType> item) |
MboRemote |
addItem(ItemSystemBase<SystemType> item,
MboSetRemote locSystemSet)
Load a COBie System or Zone definition into Maximo by creating a Maximo systems with
the facility as the root and the operating locations for the components or Spaces
that are members of the system as children.
|
boolean |
canProcessItem(ItemSystemBase<SystemType> item)
Allow subclasses to cause some items to be skipped.
|
void |
cleanup() |
MboSetRemote |
getMboSet() |
MboRemote |
matchItem(ItemSystemBase<SystemType> item,
MboSetRemote locSystemSet) |
void |
update(MboRemote mbo,
ItemSystemBase<SystemType> system) |
void |
validateItem(ItemSystemBase<SystemType> item,
MboSetRemote mboSet) |
isValidUnitValue, loadPage, validateDateValue, validateDocuments, validatePage
arrayToCommaString, getFormater, getLoader, getUnitFieldLength, getUpdateMode, isNotInternetEmail, isValidDomainName, isValidEmail, logException, messageFromException, setDateValue, setDescriptionValue, setDurationValue, setTimestamp, setUnitValue, setUnitValue, valueHasContent
public LoaderSystemZone(ModelLoaderBase loader, boolean isSystem)
public MboSetRemote getMboSet() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean canProcessItem(ItemSystemBase<SystemType> item)
LoaderBase
canProcessItem
in interface LoaderItem<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>>
canProcessItem
in class LoaderBase<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>,ModelLoaderBase>
public MboRemote matchItem(ItemSystemBase<SystemType> item, MboSetRemote locSystemSet) throws ExceptionLoaderMultipleMatch
matchItem
in interface LoaderItem<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>>
matchItem
in class LoaderBase<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>,ModelLoaderBase>
ExceptionLoaderMultipleMatch
public MboRemote addItem(ItemSystemBase<SystemType> item, MboSetRemote locSystemSet)
zone
- parent
- Location field for Facility (root) locationpublic void update(MboRemote mbo, ItemSystemBase<SystemType> system)
public int addAttributeValues(MboRemote mbo, ItemSystemBase<SystemType> item)
public void validateItem(ItemSystemBase<SystemType> item, MboSetRemote mboSet)
validateItem
in interface LoaderItem<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>>
validateItem
in class LoaderBase<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>,ModelLoaderBase>
public void cleanup()
cleanup
in interface Loader
cleanup
in class LoaderBase<ItemSystemBase<SystemType extends ItemSystemBase<MemberType>>,ModelLoaderBase>