Elephant provides system wide components to allow common access to entities. One of the advantages of this system is the ability to publish the activity using Visual elements to control whether a user has permissions to see specific data.
Elephant takes the publishing concept as a web context using an iterator with conditions. Let's say we want to publish a specific branch of dossier's categories tree. And from this branch, only those with particular conditions. Now, taking context, entity's type and conditions, we have the information necessary to feed the Publishing API:
Field |
Description |
Context |
Web context path where the entities get published. |
Entity root |
The entity root as expressed in the Entities API. |
Constraints |
Array of conditions specific to the entity root. |
Method |
Description |
getConstraint() |
Returns constraint values. |
getContext() |
Returns web context for a given entity. |