Service Interface Standards

cancel
Showing results for 
Search instead for 
Did you mean: 

Service Interface Standards

resplin
Intermediate
0 0 928

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.