Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Library: OFBiz
  • Java package name: org.apache.ofbiz.foundation.actorManagement

Use cases

Adding an object to a user profile.

Actor Managememt should support adding objects to the profile

  • Dates
  • Strings
  • Files
  • Images
  • etc.

Objects have names

Objects should be typed. It seems that the standard mime types would be a good way to identify Object types.

Adding a payment gateway as an actor

It should be possible to use Actors to describe external systems by adding named configuration entries such as

  • URLs,
  • credentials,
  • parameters

If the application developer wanted to, they could assign the "Payment Gateway" role to the Actor to use to help organize and find configured gateways by looking for actors that have the "Payment Gateway" role.

Interface

ActorFactory get a new actor - possible some simple constructors that allow an actor to be created with a bunch of attached objects of the same type. Create a payment Gateway called "myGateway" with a URL, a username, a password, a display label.

Add a single object to an actor.

Add objects to an Actor - list of pbjects of the same type

Assign roles to an actor - single role, list of named roles.