Announcement Announcement Module
Collapse
No announcement yet.
Service Layer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Service Layer

    Section 3.5 of the 1.2 RELEASE documentation says
    There is business logic that spans multiple entities and that logic does not naturally belong in a specific entity
    Seems to me the current implementation only has a ONE-to-ONE relationship between a service layer and a single entity. Have I missed something?

  • #2
    Nope.

    The sentence means that sometimes there is business logic that applies to several entities that can't be included in one specific entity because it doesn't belong only to that particular entity, regardless the cardinality of the relationships.

    You can also use the Service layer for additional processing of the obtained entities, including the related entities.

    Comment


    • #3
      You can actually add several entities manually in the service after creation. See the discussion Finders not in Service.

      Comment

      Working...
      X