Package de.espirit.firstspirit.agency
Interface UrlAgent.UrlEntry
- All Known Subinterfaces:
UrlAgent.MediaFolderUrlEntry,UrlAgent.MediaUrlEntry,UrlAgent.PageRefFolderUrlEntry,UrlAgent.PageRefUrlEntry
- Enclosing interface:
- UrlAgent
public static interface UrlAgent.UrlEntry
This interface represents a single url entry. Each instance can represent a seo or a short url and is always
an instance of one of the following classes:
- Since:
- 5.2.180603
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull BasicElementInfoReturns aBasicElementInfofor this url entry.@Nullable LanguageReturns thelanguagefor which this url entry is specified for.@NotNull StringgetPath()Returns the url path for this url entry.booleanReturns whether the correspondingelementhas been deleted (or is unavailable) in the current store.
-
Method Details
-
isElementDeleted
boolean isElementDeleted()Returns whether the correspondingelementhas been deleted (or is unavailable) in the current store.- Returns:
trueif the element has been deleted (or is unavailable) in the current store, otherwisefalse- Since:
- 5.2.180603
-
getElementInfo
Returns aBasicElementInfofor this url entry. This method always returns aBasicElementInfo, even if the element has been deleted (or is unavailable) in the current store.- Returns:
- a
BasicElementInfofor this url entry - Since:
- 5.2.180603
- See Also:
-
getPath
Returns the url path for this url entry.- Returns:
- the url path for this entry
- Since:
- 5.2.180603
-
getLanguage
Returns thelanguagefor which this url entry is specified for. This method may returnnullif this url entry is language independent (i.e. formedia url entries.- Returns:
languagefor which this url entry is specified for, may benullfor language independent url entries.- Since:
- 5.2.180603
- See Also:
-