Skip to content
This repository was archived by the owner on Jul 18, 2022. It is now read-only.

Business logic layer

fschoeppl edited this page Apr 24, 2012 · 1 revision

The business layer provides all necessary backmeup-operations within one interface for any client. Currently there is only the [REST] (wiki/rest-layer) client.

Interface

The project org.backmeup.logic maintains one interface with all operations to:

  • manage users,
  • show datasources,
  • show datasinks,
  • show actions,
  • authenticate sources and sinks,
  • create new source/sink-profiles,
  • create new jobs and
  • search within backup.

Dummy

The project org.backmeup.logic.dummy.impl contains a dummy implementation which simply holds all created items in memory. All operation work as expected, exceptions are thrown rarely.

Implementation

The project org.backmeup.logic.impl models the business logic by delegating most operations to an underlying layer. E.g.: "Register a new user" will be delegated to the [Data Access Layer] (wiki/data-access-layer). Following layers are connected to the business logic:

  • [Data Access Layer] (wiki/data-access-layer) to interact with the database.
  • [Job Management] (wiki/job-layer) to schedule and execute jobs.
  • [Plugin Management] (wiki/plugin-layer) to interact with dynamic datasources / datasinks / actions.

Clone this wiki locally