public class MapManager extends Mbo implements MapManagerRemote
MULTILANGCOPY, phantomList, phantomQueue
ARCGIS_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_VALUE
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 |
---|
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, valueChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, 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, validateAttributes
public MapManager(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
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 void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public boolean isAttributeModified(java.lang.String attributeName) throws MXException
MapManagerRemote
isAttributeModified
in interface MapManagerRemote
MXException
public java.lang.String getOrgSiteForMaxvar(java.lang.String maxvarName) throws MXException, java.rmi.RemoteException
Mbo
getOrgSiteForMaxvar
in interface MboRemote
getOrgSiteForMaxvar
in class Mbo
MXException
java.rmi.RemoteException
public void add() throws java.rmi.RemoteException, MXException
Mbo
add
in interface MboRemote
add
in class Mbo
java.rmi.RemoteException
MXException
public void setAppDefaultValue() throws MXException, java.rmi.RemoteException
Mbo
setAppDefaultValue
in class Mbo
MXException
java.rmi.RemoteException
protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField
in class Mbo
mvi
- The MboValueInfo object of the MboValue that needs to be copied.MXException
java.rmi.RemoteException
public void copyOpLayers(MboSetRemote opLayers) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.Boolean isSpatialInstalled() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.Boolean isAnywhereInstalled() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getGMapsLicense() throws java.rmi.RemoteException, MXException
getGMapsLicense
in interface MapManagerRemote
MXException
java.rmi.RemoteException
public java.lang.String getGMapsSignature() throws java.rmi.RemoteException, MXException
getGMapsSignature
in interface MapManagerRemote
MXException
java.rmi.RemoteException
public java.lang.String getGMapsAuthenticationMethod() throws java.rmi.RemoteException, MXException
getGMapsAuthenticationMethod
in interface MapManagerRemote
java.rmi.RemoteException
MXException
public java.lang.String getDistanceMatrixURL() throws java.rmi.RemoteException, MXException
getDistanceMatrixURL
in interface MapManagerRemote
MXException
java.rmi.RemoteException
public java.lang.String getGMapsApiKey() throws java.rmi.RemoteException, MXException
getGMapsApiKey
in interface MapManagerRemote
java.rmi.RemoteException
MXException
public java.lang.String getMapProvider() throws java.rmi.RemoteException, MXException
getMapProvider
in interface MapManagerRemote
mapManager
- java.rmi.RemoteException
MXException
public java.lang.Boolean isCarbonMap() throws java.rmi.RemoteException, MXException
isCarbonMap
in interface MapManagerRemote
mapManager
- java.rmi.RemoteException
MXException
public MapTipSetRemote getMapTipMboSet() throws java.rmi.RemoteException, MXException
getMapTipMboSet
in interface MapManagerRemote
java.rmi.RemoteException
MXException
public static MapManagerRemote getMapManager(UserInfo user) throws MXException, java.rmi.RemoteException
user
- MXException
java.rmi.RemoteException
public static MapManagerRemote getMapManagerByNameAndSite(UserInfo userInfo, java.lang.String mapName, java.lang.String siteId) throws MXException, java.rmi.RemoteException
userInfo
- mapName
- siteId
- MXException
java.rmi.RemoteException
public static MapManagerRemote getMapManagerByName(java.lang.String mapName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo
- mapName
- siteId
- MXException
java.rmi.RemoteException
public static MapManagerRemote getMapManager(UserInfo user, boolean isMobileMapManager) throws MXException, java.rmi.RemoteException
user
- isMobileMapManager
- MXException
java.rmi.RemoteException
public static MapManagerRemote getCarbonMapManager(UserInfo user) throws MXException, java.rmi.RemoteException
user
- MXException
java.rmi.RemoteException
public static MapManagerRemote getCarbonMapManager(UserInfo user, boolean isMobileMapManager) throws MXException, java.rmi.RemoteException
user
- isMobileMapManager
- MXException
java.rmi.RemoteException
public static MapManagerRemote getCarbonMapManagerByNameAndSite(UserInfo userInfo, java.lang.String mapName, java.lang.String siteId) throws MXException, java.rmi.RemoteException
userInfo
- mapName
- siteId
- MXException
java.rmi.RemoteException
public java.util.Map retrieveCommonSymbologyConfig() throws MXException, java.io.IOException
retrieveCommonSymbologyConfig
in interface MapManagerRemote
MXException
java.io.IOException
public java.util.Map retrieveParsedSymbologyConfig() throws MXException, java.io.IOException
retrieveParsedSymbologyConfig
in interface MapManagerRemote
MXException
java.io.IOException
public java.util.Map retrieveSymbologyForMaximoObject(java.lang.String mboName) throws MXException, java.io.IOException
retrieveSymbologyForMaximoObject
in interface MapManagerRemote
MXException
java.io.IOException
protected void save() throws MXException, java.rmi.RemoteException
Mbo
save
in class Mbo
MXException
java.rmi.RemoteException
public java.util.Map retrieveSymbologyForMaximoObject(MboRemote maximoObjectMbo) throws MXException, java.io.IOException
retrieveSymbologyForMaximoObject
in interface MapManagerRemote
MXException
java.io.IOException
public com.ibm.json.java.JSONObject retrieveMboVisibilityConfiguration() throws MXException, java.io.IOException
retrieveMboVisibilityConfiguration
in interface MapManagerRemote
MXException
java.io.IOException
public com.ibm.json.java.JSONObject retrieveMboClusterConfiguration() throws MXException, java.io.IOException
retrieveMboClusterConfiguration
in interface MapManagerRemote
MXException
java.io.IOException
public com.ibm.json.java.JSONObject retrieveMboConfiguration(java.lang.String attribute) throws MXException, java.io.IOException
retrieveMboConfiguration
in interface MapManagerRemote
MXException
java.io.IOException
public MapConfiguration retrieveMapConfigurationObject(UserInfo userInfo) throws MXException, java.rmi.RemoteException
MapManagerRemote
retrieveMapConfigurationObject
in interface MapManagerRemote
MXException
java.rmi.RemoteException
public MapConfiguration retrieveMapConfigurationObject(UserInfo userInfo, boolean useCache) throws MXException
MapManagerRemote
retrieveMapConfigurationObject
in interface MapManagerRemote
useCache
- If true, it will use the map configuration from the database. Otherwise, it will generate a map configuration.MXException
public MapConfiguration generateAndUpdateMapConfigurationObject() throws MXException, java.io.IOException
MapManagerRemote
generateAndUpdateMapConfigurationObject
in interface MapManagerRemote
MXException
java.io.IOException
public MapConfiguration generateMapConfigurationObject() throws MXException, java.io.IOException
MapManagerRemote
generateMapConfigurationObject
in interface MapManagerRemote
MXException
java.io.IOException
public void updateMapConfigurationObject(MapConfiguration mapConfiguration) throws java.rmi.RemoteException, MXException
MapManagerRemote
updateMapConfigurationObject
in interface MapManagerRemote
java.rmi.RemoteException
MXException
public java.lang.String getOpenMapProvider() throws java.rmi.RemoteException, MXException
getOpenMapProvider
in interface MapManagerRemote
mapManager
- java.rmi.RemoteException
MXException
public java.lang.String getOpenMapURL() throws java.rmi.RemoteException, MXException
getOpenMapURL
in interface MapManagerRemote
java.rmi.RemoteException
MXException
public java.util.List getPreloadBboxList(MboSetRemote preloadMboSet) throws java.rmi.RemoteException, MXException
preloadMboSet
- java.rmi.RemoteException
MXException
public static MboRemote getMapManager(java.lang.String siteId, UserInfo user) throws java.rmi.RemoteException, MXException
mapSite
- java.rmi.RemoteException
MXException