public interface LinkGeneratorHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateLinkFor(Location location,
java.lang.Long entityId,
User user)
Generate a link for a given Location and entity adding required parameters in the URL e.g: entity.getId(),
also the link will be created taking the user's network.
|
java.lang.String |
generateLinkFor(Location location,
User user)
Generate a dynamic ("tagged") link for a given Location without using any id parameter,
also the link will be created taking the user's network.
|
java.lang.String |
generateLinkFor(java.lang.String urlFilePart,
User user)
This method generate a static ("final") URL taking into account the user's network (root url and root path).
E.g.: it could be used to generate external links to be added in an email's body. |
java.lang.String generateLinkFor(Location location, java.lang.Long entityId, User user)
java.lang.String generateLinkFor(Location location, User user)
java.lang.String generateLinkFor(java.lang.String urlFilePart,
User user)