Package de.espirit.firstspirit.agency
Interface UrlAgent
public interface UrlAgent
Definition for an agent offering information about the projects seo und short urls.
Examples:
SpecialistsBroker.requireSpecialist(UrlAgent.TYPE).getSEOUrls()
SpecialistsBroker.requireSpecialist(UrlAgent.TYPE).getShortUrls()
- Since:
- 5.2.180603
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceEach instance of this interface represents anUrlAgent.UrlEntryfor aMediaFolder.static interfaceEach instance of this interface represents anUrlAgent.UrlEntryfor aMedia.static interfaceEach instance of this interface represents anUrlAgent.UrlEntryfor aPageRefFolder.static interfaceEach instance of this interface represents anUrlAgent.UrlEntryfor aPageRef.static interfaceThis interface represents a single url entry. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpecialistType<UrlAgent>The agents technical type to be used to request the agent from aSpecialistsBroker. -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<UrlAgent.UrlEntry>Returns acollectionof allSEO urlsfor this project.@NotNull Collection<UrlAgent.UrlEntry>Returns acollectionof allshort urlsfor this project.
-
Field Details
-
TYPE
The agents technical type to be used to request the agent from aSpecialistsBroker.- Since:
- 5.2.180603
-
-
Method Details
-
getSEOUrls
Returns acollectionof allSEO urlsfor this project.- Returns:
- a collection of all
SEO urls - Since:
- 5.2.180603
-
getShortUrls
Returns acollectionof allshort urlsfor this project.- Returns:
- a collection of all
short urls - Since:
- 5.2.180603
-