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 BasicElementInfo
Returns aBasicElementInfo
for this url entry.@Nullable Language
Returns thelanguage
for which this url entry is specified for.@NotNull String
getPath()
Returns the url path for this url entry.boolean
Returns whether the correspondingelement
has been deleted (or is unavailable) in the current store.
-
Method Details
-
isElementDeleted
boolean isElementDeleted()Returns whether the correspondingelement
has been deleted (or is unavailable) in the current store.- Returns:
true
if the element has been deleted (or is unavailable) in the current store, otherwisefalse
- Since:
- 5.2.180603
-
getElementInfo
Returns aBasicElementInfo
for this url entry. This method always returns aBasicElementInfo
, even if the element has been deleted (or is unavailable) in the current store.- Returns:
- a
BasicElementInfo
for 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 thelanguage
for which this url entry is specified for. This method may returnnull
if this url entry is language independent (i.e. formedia url entries
.- Returns:
language
for which this url entry is specified for, may benull
for language independent url entries.- Since:
- 5.2.180603
- See Also:
-