public class BuildingModel extends Mbo implements BuildingModelRemote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOMAIN_BIMVIEWERTYPE |
static java.lang.String |
FIELD_ASSETVIEW |
static java.lang.String |
FIELD_ATTRIBUTECLASS |
static java.lang.String |
FIELD_ATTRIBUTENAME |
static java.lang.String |
FIELD_DESCRIPTION |
static java.lang.String |
FIELD_FORMATTEDADDRESS |
static java.lang.String |
FIELD_LATITUDEY |
static java.lang.String |
FIELD_LOCATION |
static java.lang.String |
FIELD_LOCATIONVIEW |
static java.lang.String |
FIELD_LONGDESCRIPTION |
static java.lang.String |
FIELD_LONGITUDEX |
static java.lang.String |
FIELD_LOOKUPVIEW |
static java.lang.String |
FIELD_OBJECTKEY |
static java.lang.String |
FIELD_ORGID |
static java.lang.String |
FIELD_PARAMCLASS |
static java.lang.String |
FIELD_PARAMNAME |
static java.lang.String |
FIELD_PRIORITY |
static java.lang.String |
FIELD_SELMODE |
static java.lang.String |
FIELD_SITEID |
static java.lang.String |
FIELD_TITLE |
static java.lang.String |
FIELD_URL |
static java.lang.String |
FIELD_VIEWERTYPE |
static java.lang.String |
FIELD_WORKORDERVIEW |
static java.lang.String |
RELATIONSHIP_BOOKMARK |
static java.lang.String |
RELATIONSHIP_DOCLINKS |
static java.lang.String |
RELATIONSHOP_SAVEDVIEWS |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
VIEWER_TYPE_VENDOR |
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
BuildingModel(MboSet ms)
Construct the operating location object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add a new building model record when the loctype is "OPERATING"
Field defaults are set
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
java.lang.String |
getAddressString()
Return a string with the address of the current entitty.
|
java.lang.Double |
getLatitudeY()
Return a double value with the the Latitude (or Y) coordinate of the current entitty.
|
java.lang.Double |
getLongitudeX()
Return a double value with the the Longitude (or X) coordinate of the current entitty.
|
java.lang.String |
getViewerType() |
java.lang.Boolean |
hasCoords()
Check if this autolocatable object has coordinates filled (LAT,LONG)
|
boolean |
isGISDataReadonly()
Indicate if the current GIS entity is editable or not.
|
void |
saveGISData(java.lang.String address,
java.lang.String lat,
java.lang.String lng)
Implement the logic to save the GIS Data
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, init, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public static final java.lang.String TABLE_NAME
public static final java.lang.String DOMAIN_BIMVIEWERTYPE
public static final java.lang.String VIEWER_TYPE_VENDOR
public static final java.lang.String RELATIONSHIP_BOOKMARK
public static final java.lang.String RELATIONSHIP_DOCLINKS
public static final java.lang.String RELATIONSHOP_SAVEDVIEWS
public static final java.lang.String FIELD_ASSETVIEW
public static final java.lang.String FIELD_ATTRIBUTECLASS
public static final java.lang.String FIELD_ATTRIBUTENAME
public static final java.lang.String FIELD_DESCRIPTION
public static final java.lang.String FIELD_LOCATION
public static final java.lang.String FIELD_SELMODE
public static final java.lang.String FIELD_LOCATIONVIEW
public static final java.lang.String FIELD_LOOKUPVIEW
public static final java.lang.String FIELD_LONGDESCRIPTION
public static final java.lang.String FIELD_OBJECTKEY
public static final java.lang.String FIELD_ORGID
public static final java.lang.String FIELD_PARAMCLASS
public static final java.lang.String FIELD_PARAMNAME
public static final java.lang.String FIELD_PRIORITY
public static final java.lang.String FIELD_SITEID
public static final java.lang.String FIELD_TITLE
public static final java.lang.String FIELD_URL
public static final java.lang.String FIELD_VIEWERTYPE
public static final java.lang.String FIELD_WORKORDERVIEW
public static final java.lang.String FIELD_LATITUDEY
public static final java.lang.String FIELD_LONGITUDEX
public static final java.lang.String FIELD_FORMATTEDADDRESS
public BuildingModel(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
Mbo
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public java.lang.String getViewerType() throws java.rmi.RemoteException, MXException
getViewerType
in interface BuildingModelRemote
java.rmi.RemoteException
MXException
public java.lang.Double getLatitudeY() throws MXException, java.rmi.RemoteException
GISable
getLatitudeY
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Double getLongitudeX() throws MXException, java.rmi.RemoteException
GISable
getLongitudeX
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.String getAddressString() throws MXException, java.rmi.RemoteException
GISable
getAddressString
in interface GISable
MXException
java.rmi.RemoteException
public boolean isGISDataReadonly() throws MXException, java.rmi.RemoteException
GISable
isGISDataReadonly
in interface GISable
MXException
java.rmi.RemoteException
public void saveGISData(java.lang.String address, java.lang.String lat, java.lang.String lng) throws MXException, java.rmi.RemoteException
GISable
saveGISData
in interface GISable
MXException
java.rmi.RemoteException
public java.lang.Boolean hasCoords() throws MXException, java.rmi.RemoteException
GISable
hasCoords
in interface GISable
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exception