|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FriendlyURLEntity
Base interface representing one friendly URL.
| Nested Class Summary | |
|---|---|
static class |
FriendlyURLEntity.ContentType
Represents the three types of friendly URL entities: page, mediaitem and database page. |
| Field Summary | |
|---|---|
static char |
PATH_SEPARATOR
Deprecated. Use SEOUtil.getPathSeparator(), or the slash
character instead. |
| Method Summary | |
|---|---|
java.lang.String |
getAlternativePath()
Returns the alternative path of the entity. |
java.lang.String |
getBaseEntityIdentifier()
Returns the entity identifier without a potential sequence number. |
java.lang.String |
getBaseIdentifier()
Returns the URL identifier without a potential sequence number. |
java.lang.String |
getBaseURLTitleEntityIdentifier()
Returns the URL title entity without a potential sequence number. |
FriendlyURLEntity.ContentType |
getContentType()
Returns the content type of the friendly URL entity. |
java.lang.String |
getEntityIdentifier()
Returns the entity identifier of the friendly URL. |
java.util.Date |
getEntryDate()
Returns the creation or update date of the friendly URL. |
java.lang.Integer |
getId()
Returns the identifier of the friendly URL. |
java.lang.String |
getQueryString()
Returns the query string of the friendly URL. |
FriendlyURLEntity |
getReference()
Returns the friendly URL entity referred to by the friendly URL. |
java.lang.Integer |
getSequenceNumber()
Returns the sequence number of the friendly URL. |
java.lang.String |
getURLIdentifier()
Returns the URL identifier of the friendly URL. |
java.lang.String |
getURLTitle()
Returns the URL title of the friendly URL. |
java.lang.String |
getURLTitleEntity()
Returns the last element of the URL title. |
java.lang.Integer |
getVersionId()
Returns the version id of the friendly URL. |
java.lang.Integer |
getWebsiteId()
Returns the website id of the friendly URL. |
boolean |
isActivated()
Tells whether the friendly URL is activated. |
boolean |
isAlternative()
Tells whether the friendly URL has an alternative path. |
boolean |
isCurrent()
Deprecated. Use getReference() == null instead. |
boolean |
isLive()
Returns whether the content backed by the query string is last known to be current. |
| Field Detail |
|---|
@Deprecated static final char PATH_SEPARATOR
SEOUtil.getPathSeparator(), or the slash
character instead.
| Method Detail |
|---|
java.lang.Integer getId()
java.lang.String getURLIdentifier()
java.lang.String getURLTitle()
java.lang.String getEntityIdentifier()
java.lang.Integer getSequenceNumber()
java.lang.Integer getVersionId()
java.lang.Integer getWebsiteId()
boolean isLive()
true if the content backed by the query string is last known to be current,
false otherwise.boolean isActivated()
True for a possible indexed friendly URL, false otherwise.boolean isAlternative()
True for a friendly URL with an alternative path, false otherwise.java.lang.String getQueryString()
java.util.Date getEntryDate()
FriendlyURLEntity getReference()
null the friendly
URL is unavailable, and is redirected to the referred friendly URL.
Note that only the id field of the referenced entity is set.
FriendlyURLEntity.ContentType getContentType()
java.lang.String getAlternativePath()
java.lang.String getBaseIdentifier()
a/b/c 1, where 1 is the sequence number, then the result will be
a/b/c.
java.lang.String getBaseEntityIdentifier()
a 1, where 1 is the sequence number, then the result
will be a.
java.lang.String getBaseURLTitleEntityIdentifier()
a/b/c 1, where 1 is the sequence number, then the result will be
c.
java.lang.String getURLTitleEntity()
a/b/c, the result will be c.
@Deprecated boolean isCurrent()
getReference() == null instead.
getReference() == null, as
a friendly URL with a reference is one that redirects to a current one.
True when the friendly URL is currently valid, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||