| Class | StoqlibTransaction | Undocumented |
| Function | get_connection | This function returns a connection to the current database. |
| Function | new_transaction | Create a new transaction. |
| Function | rollback_and_begin | Abort changes in models and begins the transaction. |
| Function | finish_transaction | Encapsulated method for committing/aborting changes in models. |
| Function | _register_branch | Undocumented |
| Function | set_current_branch_station | Registers the current station and the branch of the station |
| Function | get_current_user | Fetch the user which is currently logged into the system or None |
| Function | get_current_branch | Fetches the current branch company. |
| Function | get_current_station | Fetches the current station (computer) which we are running on |
| Returns | a database connection | |
| Parameters | trans | a transaction |
| Parameters | trans | a transaction |
| commit | True for commit, False for rollback_and_begin |
| Parameters | conn | a database connection |
| station_name | name of the station to register |
| Returns | currently logged in user or None (type: an object implementing IUser ) | |