Service Interface Standards

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Core Repository ServicesDeveloping


Service Interface Standards


References


  1. Make use of the encapsulated references such as StoreRef and NodeRef

Exceptions


  1. Write fairly granular runtime exceptions specific to the service and place these in the same directory as the service interface
  2. Declare the runtime-derived exceptions on the interface as required

The runtime exceptions ensure that transactions are automatically dealt with and that the client has the option of either taking alternative action or ignoring the exception completely.

Attachments

    Outcomes