HasAtPath

Role interface for domain objects to implement, indicating that these are characteristics of the entity that can be used to determine its visibility/editability.object’s tenancyuser’s tenancyaccessnullnulleditablenullnon-nulleditable//editable//itvisible//it/carvisible//it/iglvisible//frvisible/nullnot visible/it/editable/it/iteditable/it/it/carvisible/it/it/iglvisible/it/frnot visible/itnullnot visible/it/car/editable/it/car/iteditable/it/car/it/careditable/it/car/it/iglnot visible/it/car/frnot visible/it/carnullnot visible

Previously the atPath would have corresponded to the unique path of some particular ApplicationTenancy instance. However, this has now been generalized; the atPath is simply a string whose interpretation is application-specific (in particular by the ApplicationTenancyEvaluator SPI).

For applications that still wish to follow the original more specific design (that the atPath corresponds to a single ApplicationTenancy ), then the path can be interpreted according to the following table:

any object that is not tenanted (that is, its class does not implement HasAtPath is accessible by any user (usual permission rules apply).

API

HasAtPath.java
interface HasAtPath {
  String getAtPath()
}