Package com.microstrategy.web.objects
Interface WebConnectionMap
-
- All Known Subinterfaces:
WebLocalizedConnectionMap
public interface WebConnectionMapA Connection Map is an association of oneWebDBLogin, oneWebDBConnection, oneWebDBRole, oneWebUser, and oneWebProject. Each connection map is uniquely identified by its role, user, and project.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete()Deletes theWebConnectionMapfrom the IServer.WebDBConnectiongetConnection()Return theWebDBConnectionobject associated with this connection mapWebDBLogingetLogin()Return theWebDBLoginobject associated with this Connection MapWebProjectgetProject()Returns theWebProjectobject associated with this connection mapWebDBRolegetRole()Returns the associatedWebDBRoleobjectWebUserEntitygetUser()Returns theWebUserEntityassociated with this connection mapbooleanisInMD()Specifies whether this connection map (identified by role, project, user) exists in metadatavoidsave()Saves all changes made to theWebConnectionMap.voidsetConnection(WebDBConnection connection)Sets theWebDBConnectionobject assciated with this connection mapvoidsetLogin(WebDBLogin login)Sets theWebDBLoginobject by object
-
-
-
Method Detail
-
getLogin
WebDBLogin getLogin()
Return theWebDBLoginobject associated with this Connection Map- Returns:
- Unpopulated
WebDBLoginobject
-
setLogin
void setLogin(WebDBLogin login)
Sets theWebDBLoginobject by object- Parameters:
login-WebDBLoginobject to be associated with this Connection Map
-
getConnection
WebDBConnection getConnection()
Return theWebDBConnectionobject associated with this connection map- Returns:
- Unpopulated
WebDBConnectionobject
-
setConnection
void setConnection(WebDBConnection connection)
Sets theWebDBConnectionobject assciated with this connection map- Parameters:
connection-WebDBConnectionObject to be associated
-
getRole
WebDBRole getRole()
Returns the associatedWebDBRoleobject- Returns:
- Unpopulated
WebDBRoleobject
-
getUser
WebUserEntity getUser()
Returns theWebUserEntityassociated with this connection map- Returns:
- Unpopulated
WebUserEntityobject
-
getProject
WebProject getProject()
Returns theWebProjectobject associated with this connection map- Returns:
- Unpopulated
WebProjectobject
-
save
void save() throws WebObjectsException
Saves all changes made to theWebConnectionMap. This will overwrite any connection maps on the IServer with the same project, user, and DBRole- Throws:
WebObjectsException
-
delete
void delete() throws WebObjectsExceptionDeletes theWebConnectionMapfrom the IServer.- Throws:
WebObjectsException
-
isInMD
boolean isInMD()
Specifies whether this connection map (identified by role, project, user) exists in metadata- Returns:
- boolean expressing whether the connection map exists in metadata
-
-