Package com.microstrategy.web.objects
Interface WebConnectionMapSource
- 
public interface WebConnectionMapSourceObject used to retrieveWebConnectionMapobjects from. Can itself be retrieved fromWebObjectSource- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WebConnectionMapcreateConnectionMap(WebDBRole role, WebUserEntity user, WebProject project, WebLocaleObjectInfo locale, WebDBConnection connection, WebDBLogin login)Return a newWebConnectionMap/WebLocalizedConnectionMap.WebConnectionMapget(WebDBRole role, WebUserEntity user, WebProject project)Deprecated.usegetMatchingConnectionMaps(WebDBRole, WebUserEntity, WebProject, WebLocaleObjectInfo)to retrieve maps from Iserver.WebConnectionMap[]getAllConnectionMaps()Return an array ofWebConnectionMap/WebLocalizedConnectionMapobjects.java.util.List<WebConnectionMap>getMatchingConnectionMaps(WebDBRole role, WebUserEntity user, WebProject project, WebLocaleObjectInfo locale)Return aListofWebConnectionMapandWebLocalizedConnectionMapobjects that contain all the specified role, user, project, and locale objects. 
 - 
 
- 
- 
Method Detail
- 
get
WebConnectionMap get(WebDBRole role, WebUserEntity user, WebProject project) throws WebObjectsException
Deprecated.usegetMatchingConnectionMaps(WebDBRole, WebUserEntity, WebProject, WebLocaleObjectInfo)to retrieve maps from Iserver. usecreateConnectionMap(WebDBRole, WebUserEntity, WebProject, WebLocaleObjectInfo, WebDBConnection, WebDBLogin)to create new maps.Return either existingWebConnectionMapor newWebLocalizedConnectionMapwith role, user, and project set. If more than one map exists in the MD, the first map encountered is returned- Parameters:
 role-WebDBRolespecifying parameters used for the connectionuser-WebUserspecifying user/group which connection map will be applied toproject-WebProjectspecifying for which project connection map will be applied to- Returns:
 WebConnectionMapwith role, user, and project set- Throws:
 WebObjectsException
 
- 
getAllConnectionMaps
WebConnectionMap[] getAllConnectionMaps() throws WebObjectsException
Return an array ofWebConnectionMap/WebLocalizedConnectionMapobjects. Note that this method will only return user-generated objects (defaults are not returned).- Returns:
 - Array of 
WebConnectionMapobjects containing all connetion maps on IServer - Throws:
 WebObjectsException
 
- 
getMatchingConnectionMaps
java.util.List<WebConnectionMap> getMatchingConnectionMaps(WebDBRole role, WebUserEntity user, WebProject project, WebLocaleObjectInfo locale) throws WebObjectsException
Return aListofWebConnectionMapandWebLocalizedConnectionMapobjects that contain all the specified role, user, project, and locale objects. If no objects are specified, all map objects are returned. Returns an empty list if no map contains all the specified objects.- Parameters:
 role-WebDBRolespecifying parameters used for the connectionuser-WebUserspecifying user/group which connection map will be applied toproject-WebProjectspecifying for which project connection map will be applied tolocale-WebLocaleObjectInfospecifying which language/locale the user is connecting with. If any locale is specified, onlyWebLocalizedConnectionMapobjects will be returned- Returns:
 Listof maps that match specified parameters- Throws:
 WebObjectsException- Since:
 - MicroStrategy Web 9.0.1
 
 
- 
createConnectionMap
WebConnectionMap createConnectionMap(WebDBRole role, WebUserEntity user, WebProject project, WebLocaleObjectInfo locale, WebDBConnection connection, WebDBLogin login) throws WebObjectsException
Return a newWebConnectionMap/WebLocalizedConnectionMap. This method does not check to see if a matching map already exists in MD. UsegetMatchingConnectionMaps(WebDBRole, WebUserEntity, WebProject, WebLocaleObjectInfo)to check for existence of map in MD.- Parameters:
 role-WebDBRolespecifying parameters used for the connectionuser-WebUserspecifying user/group which connection map will be applied toproject-WebProjectspecifying for which project connection map will be applied tolocale-WebLocaleObjectInfospecifying which language/locale the user is connecting with. SpecifynullifWebConnectionMapis desiredconnection-WebDBConnectionspecifying connection parameters to used by IServer when connectinglogin-WebDBLoginspecifying credentials to be used by IServer when connecting- Returns:
 - new 
WebLocalizedConnectionMap - Throws:
 WebObjectsException- Since:
 - MicroStrategy Web 9.0.1
 
 
 - 
 
 -