fmewebservices.FMENamedConnection
Gets the database generated id for this connection. |
|
Retrieves the name of this named connection, which is unique for the given authorized users. |
|
Gets the owner (user) of this named connection. |
|
Gets the owner (user) of this named connection. |
|
Retrieves the type of the named connection. |
|
|
Sets the database generated id for this connection. |
Sets the name of this named connection, which is not committed to the DB until this named connection is passed back to the manager. |
|
Sets the owner (user) of this named connection. |
- class FMENamedConnection
FMENamedConnection class.
init()
FMENamedConnection is an abstract class. It cannot be created directly.
- __init__(*args, **kwargs)
- getId()
Gets the database generated id for this connection.
- Return type:
- Returns:
The database generated id for the named connection.
- getName()
Retrieves the name of this named connection, which is unique for the given authorized users. This is the name given to the connection by the user.
- Return type:
- Returns:
The name of the named connection.
- getOwnerName()
Gets the owner (user) of this named connection.
- Return type:
- Returns:
The owner of the named connection.
- getServiceName()
Gets the owner (user) of this named connection.
- Return type:
- Returns:
The owner of the named connection.
- getType()
Retrieves the type of the named connection.
Returns one of
FME_NAMEDCONNECTION_DATABASE
,FME_NAMEDCONNECTION_BASIC
,FME_NAMEDCONNECTION_OAUTH
,FME_NAMEDCONNECTION_TOKEN
, orFME_NAMEDCONNECTION_WEBSERVICE
.- Return type:
- Returns:
The type of the named connection.
- setId(name)
Sets the database generated id for this connection.
- setName(name)
Sets the name of this named connection, which is not committed to the DB until this named connection is passed back to the manager.