nl.gx.webmanager.services.seo
Interface PageFriendlyURLEntity

All Superinterfaces:
FriendlyURLEntity
All Known Subinterfaces:
PageFriendlyURLEntityMutator
All Known Implementing Classes:
PageFriendlyURLEntityImpl

public interface PageFriendlyURLEntity
extends FriendlyURLEntity

Represents a friendly URL entity of a page version.

Author:
Sander Dahlberg

Nested Class Summary
 
Nested classes/interfaces inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity
FriendlyURLEntity.ContentType
 
Field Summary
static java.lang.String ID_PART
          Query string fragment representing the internal URL.
static java.lang.String LANGID_PART
          Query string fragment representing the internal URL.
 
Fields inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity
PATH_SEPARATOR
 
Method Summary
 java.lang.Integer getDepth()
          Deprecated. Use FriendlyURLEntity.getURLIdentifier() and count the slashes instead.
 java.lang.Integer getLangId()
          Returns the language identifier of the friendly URL.
 java.lang.Integer getPageId()
          Returns the page identifier of the friendly URL.
 java.lang.Integer getPageVersionId()
          Deprecated. Use FriendlyURLEntity.getVersionId() instead.
 java.lang.String getURLTitlePath()
          Returns the URL title path of the friendly URL.
 
Methods inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity
getAlternativePath, getBaseEntityIdentifier, getBaseIdentifier, getBaseURLTitleEntityIdentifier, getContentType, getEntityIdentifier, getEntryDate, getId, getQueryString, getReference, getSequenceNumber, getURLIdentifier, getURLTitle, getURLTitleEntity, getVersionId, getWebsiteId, isActivated, isAlternative, isCurrent, isLive
 

Field Detail

ID_PART

static final java.lang.String ID_PART
Query string fragment representing the internal URL. Must be followed by LANGID_PART.

See Also:
Constant Field Values

LANGID_PART

static final java.lang.String LANGID_PART
Query string fragment representing the internal URL. Must be preceded by ID_PART.

See Also:
Constant Field Values
Method Detail

getPageId

java.lang.Integer getPageId()
Returns the page identifier of the friendly URL.

Returns:
The page identifier of the friendly URL.

getLangId

java.lang.Integer getLangId()
Returns the language identifier of the friendly URL.

Returns:
The language identifier of the friendly URL.

getURLTitlePath

java.lang.String getURLTitlePath()
Returns the URL title path of the friendly URL. That is the URL title without the last element, leaving the path.

Returns:
The URL title path.

getPageVersionId

@Deprecated
java.lang.Integer getPageVersionId()
Deprecated. Use FriendlyURLEntity.getVersionId() instead.

Returns the page version identifier of the friendly URL.

Returns:
The page version identifier of the friendly URL.

getDepth

@Deprecated
java.lang.Integer getDepth()
Deprecated. Use FriendlyURLEntity.getURLIdentifier() and count the slashes instead.

Returns how many page parts the URL identifier path has.

Returns:
The number of page parts.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.