Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.02 KB

path-map-model.md

File metadata and controls

14 lines (10 loc) · 1.02 KB

Source Code

PathMapModel

This interface is used to register a REST path for classes decorated with @Rest. Also, will store the nested REST operations inside the class.

Properties:

  • allowedProfiles: Is an Array of PROFILES. This profiles will be used to determine if the logged user can access the PATH
  • childrenPath: Is an Array of the nested REST operations inside the class (PathModel)
  • fatherPath: This path will be concated with the nested paths
  • inContext: Will be true when the method decorated to be a Rest Operation operation is in a class decorated with @Rest
  • isAuthenticated: Tell to CoreSecurityService if the operation must have a logged user and valid.