public class MapManager extends Mbo implements MapManagerRemote
MULTILANGCOPY, phantomList, phantomQueueARCGIS_FREE_MAPS_INTERNAL_VALUE, BING_MAPS_INTERNAL_VALUE, GOOGLE_MAPS_AUTHORIZATION_METHOD_APIKEY, GOOGLE_MAPS_AUTHORIZATION_METHOD_CLIENTID, GOOGLE_MAPS_MAPS_INTERNAL_VALUE, OPEN_MAPS_MAPS_INTERNAL_VALUE, OPEN_STREET_MAPS_INTERNAL_VALUE, SPATIAL_MAPS_INTERNAL_VALUEALLROWS, 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 |
|---|
MapManager(MboSet ms) |
| Modifier and Type | Method and Description |
|---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
appValidate()
Checks if the MapManager is activated.
|
void |
copyOpLayers(MboSetRemote opLayers) |
void |
delete(long accessModifier)
Delete MapManager record and all associated sites
|
MboRemote |
duplicate()
Creates a duplicate Map Manager.
|
MapConfiguration |
generateAndUpdateMapConfigurationObject()
Generates both XML and JSON map configuration definitions files for the current map manager record.
|
MapConfiguration |
generateMapConfigurationObject()
Generates both XML and JSON map configuration definitions files for the current map manager record.
|
static MapManagerRemote |
getCarbonMapManager(UserInfo user) |
static MapManagerRemote |
getCarbonMapManager(UserInfo user,
boolean isMobileMapManager)
This method considers the isMobile flag, added by Anywhere project + Spatial
|
static MapManagerRemote |
getCarbonMapManagerByNameAndSite(UserInfo userInfo,
java.lang.String mapName,
java.lang.String siteId)
This method returns a Map Manager from a Site Id and Map Manager Name
|
java.lang.String |
getDistanceMatrixURL()
Returns the Google Maps Distance Matrix URL
|
java.lang.String |
getGMapsApiKey()
Returns the Google Maps API-KEY
|
java.lang.String |
getGMapsAuthenticationMethod()
Returns the Google Maps authorization method.
|
java.lang.String |
getGMapsLicense()
Returns the Google Maps license key (client id)
|
java.lang.String |
getGMapsSignature()
Returns the Google Maps cryptographic key (api key)
|
static MboRemote |
getMapManager(java.lang.String siteId,
UserInfo user) |
static MapManagerRemote |
getMapManager(UserInfo user) |
static MapManagerRemote |
getMapManager(UserInfo user,
boolean isMobileMapManager)
This method considers the isMobile flag, added by Anywhere project + Spatial
|
static MapManagerRemote |
getMapManagerByName(java.lang.String mapName,
UserInfo userInfo)
This method returns a Map Manager from Name
does not validate it Anywhere or Mobile
|
static MapManagerRemote |
getMapManagerByNameAndSite(UserInfo userInfo,
java.lang.String mapName,
java.lang.String siteId)
This method returns a Map Manager from a Site Id and Map Manager Name
|
java.lang.String |
getMapProvider()
Returns the provider associated to this map manager object.
|
MapTipSetRemote |
getMapTipMboSet() |
java.lang.String |
getOpenMapProvider()
Returns the OpenMap provider associated to this map manager object.
|
java.lang.String |
getOpenMapURL()
Returns the OpenStreetMap URL associated to this map manager object.
|
java.lang.String |
getOrgSiteForMaxvar(java.lang.String maxvarName)
Returns org or site for getting maxvar
|
java.util.List |
getPreloadBboxList(MboSetRemote preloadMboSet)
Returns preload bbox list with mbo data
|
static java.lang.Boolean |
isAnywhereInstalled()
Check if Anywhere is installed.
|
boolean |
isAttributeModified(java.lang.String attributeName)
Returns isModified() flag for a given attribute
|
java.lang.Boolean |
isCarbonMap()
Returns the boolean depending on the carbon map flag.
|
static java.lang.Boolean |
isSpatialInstalled()
Check if Spatial is installed.
|
java.util.Map |
retrieveCommonSymbologyConfig() |
MapConfiguration |
retrieveMapConfigurationObject(UserInfo userInfo)
Gets map configuration JSON definitions and adds initial extent definitions based on the the userInfo.
|
MapConfiguration |
retrieveMapConfigurationObject(UserInfo userInfo,
boolean useCache)
Gets map configuration JSON definitions and adds initial extent definitions based on the the userInfo.
|
com.ibm.json.java.JSONObject |
retrieveMboClusterConfiguration() |
com.ibm.json.java.JSONObject |
retrieveMboConfiguration(java.lang.String attribute) |
com.ibm.json.java.JSONObject |
retrieveMboVisibilityConfiguration() |
java.util.Map |
retrieveParsedSymbologyConfig() |
java.util.Map |
retrieveSymbologyForMaximoObject(MboRemote maximoObjectMbo) |
java.util.Map |
retrieveSymbologyForMaximoObject(java.lang.String mboName) |
protected void |
save()
Save the object and other linked objects.
|
void |
setAppDefaultValue()
method for setting the default app value for a mbo(appfielddefault table)
|
protected boolean |
skipCopyField(MboValueInfo mvi)
This method overrides the skipCopyField() in the MAPMANAGER.
|
void |
undelete()
Delete MapManager record and all associated sites
|
void |
updateMapConfigurationObject(MapConfiguration mapConfiguration)
Saves map configuration definitions on the current map manager record.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, determineRequiredFieldsFromERM, 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, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, init, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, 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, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, 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, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, 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, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic MapManager(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - 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.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void undelete()
throws MXException,
java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isAttributeModified(java.lang.String attributeName)
throws MXException
MapManagerRemoteisAttributeModified in interface MapManagerRemoteMXExceptionpublic java.lang.String getOrgSiteForMaxvar(java.lang.String maxvarName)
throws MXException,
java.rmi.RemoteException
MbogetOrgSiteForMaxvar in interface MboRemotegetOrgSiteForMaxvar in class MboMXExceptionjava.rmi.RemoteExceptionpublic void add()
throws java.rmi.RemoteException,
MXException
Mboadd in interface MboRemoteadd in class Mbojava.rmi.RemoteExceptionMXExceptionpublic void setAppDefaultValue()
throws MXException,
java.rmi.RemoteException
MbosetAppDefaultValue in class MboMXExceptionjava.rmi.RemoteExceptionprotected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class Mbomvi - The MboValueInfo object of the MboValue that needs to be copied.MXExceptionjava.rmi.RemoteExceptionpublic void copyOpLayers(MboSetRemote opLayers) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static java.lang.Boolean isSpatialInstalled()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic static java.lang.Boolean isAnywhereInstalled()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getGMapsLicense()
throws java.rmi.RemoteException,
MXException
getGMapsLicense in interface MapManagerRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getGMapsSignature()
throws java.rmi.RemoteException,
MXException
getGMapsSignature in interface MapManagerRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getGMapsAuthenticationMethod()
throws java.rmi.RemoteException,
MXException
getGMapsAuthenticationMethod in interface MapManagerRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getDistanceMatrixURL()
throws java.rmi.RemoteException,
MXException
getDistanceMatrixURL in interface MapManagerRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getGMapsApiKey()
throws java.rmi.RemoteException,
MXException
getGMapsApiKey in interface MapManagerRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getMapProvider()
throws java.rmi.RemoteException,
MXException
getMapProvider in interface MapManagerRemotemapManager - java.rmi.RemoteExceptionMXExceptionpublic java.lang.Boolean isCarbonMap()
throws java.rmi.RemoteException,
MXException
isCarbonMap in interface MapManagerRemotemapManager - java.rmi.RemoteExceptionMXExceptionpublic MapTipSetRemote getMapTipMboSet() throws java.rmi.RemoteException, MXException
getMapTipMboSet in interface MapManagerRemotejava.rmi.RemoteExceptionMXExceptionpublic static MapManagerRemote getMapManager(UserInfo user) throws MXException, java.rmi.RemoteException
user - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getMapManagerByNameAndSite(UserInfo userInfo, java.lang.String mapName, java.lang.String siteId) throws MXException, java.rmi.RemoteException
userInfo - mapName - siteId - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getMapManagerByName(java.lang.String mapName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - mapName - siteId - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getMapManager(UserInfo user, boolean isMobileMapManager) throws MXException, java.rmi.RemoteException
user - isMobileMapManager - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getCarbonMapManager(UserInfo user) throws MXException, java.rmi.RemoteException
user - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getCarbonMapManager(UserInfo user, boolean isMobileMapManager) throws MXException, java.rmi.RemoteException
user - isMobileMapManager - MXExceptionjava.rmi.RemoteExceptionpublic static MapManagerRemote getCarbonMapManagerByNameAndSite(UserInfo userInfo, java.lang.String mapName, java.lang.String siteId) throws MXException, java.rmi.RemoteException
userInfo - mapName - siteId - MXExceptionjava.rmi.RemoteExceptionpublic java.util.Map retrieveCommonSymbologyConfig()
throws MXException,
java.io.IOException
retrieveCommonSymbologyConfig in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic java.util.Map retrieveParsedSymbologyConfig()
throws MXException,
java.io.IOException
retrieveParsedSymbologyConfig in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic java.util.Map retrieveSymbologyForMaximoObject(java.lang.String mboName)
throws MXException,
java.io.IOException
retrieveSymbologyForMaximoObject in interface MapManagerRemoteMXExceptionjava.io.IOExceptionprotected void save()
throws MXException,
java.rmi.RemoteException
Mbosave in class MboMXExceptionjava.rmi.RemoteExceptionpublic java.util.Map retrieveSymbologyForMaximoObject(MboRemote maximoObjectMbo) throws MXException, java.io.IOException
retrieveSymbologyForMaximoObject in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic com.ibm.json.java.JSONObject retrieveMboVisibilityConfiguration()
throws MXException,
java.io.IOException
retrieveMboVisibilityConfiguration in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic com.ibm.json.java.JSONObject retrieveMboClusterConfiguration()
throws MXException,
java.io.IOException
retrieveMboClusterConfiguration in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic com.ibm.json.java.JSONObject retrieveMboConfiguration(java.lang.String attribute)
throws MXException,
java.io.IOException
retrieveMboConfiguration in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic MapConfiguration retrieveMapConfigurationObject(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MapManagerRemoteretrieveMapConfigurationObject in interface MapManagerRemoteMXExceptionjava.rmi.RemoteExceptionpublic MapConfiguration retrieveMapConfigurationObject(UserInfo userInfo, boolean useCache) throws MXException
MapManagerRemoteretrieveMapConfigurationObject in interface MapManagerRemoteuseCache - If true, it will use the map configuration from the database. Otherwise, it will generate a map configuration.MXExceptionpublic MapConfiguration generateAndUpdateMapConfigurationObject() throws MXException, java.io.IOException
MapManagerRemotegenerateAndUpdateMapConfigurationObject in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic MapConfiguration generateMapConfigurationObject() throws MXException, java.io.IOException
MapManagerRemotegenerateMapConfigurationObject in interface MapManagerRemoteMXExceptionjava.io.IOExceptionpublic void updateMapConfigurationObject(MapConfiguration mapConfiguration) throws java.rmi.RemoteException, MXException
MapManagerRemoteupdateMapConfigurationObject in interface MapManagerRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getOpenMapProvider()
throws java.rmi.RemoteException,
MXException
getOpenMapProvider in interface MapManagerRemotemapManager - java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getOpenMapURL()
throws java.rmi.RemoteException,
MXException
getOpenMapURL in interface MapManagerRemotejava.rmi.RemoteExceptionMXExceptionpublic java.util.List getPreloadBboxList(MboSetRemote preloadMboSet) throws java.rmi.RemoteException, MXException
preloadMboSet - java.rmi.RemoteExceptionMXExceptionpublic static MboRemote getMapManager(java.lang.String siteId, UserInfo user) throws java.rmi.RemoteException, MXException
mapSite - java.rmi.RemoteExceptionMXException