nl.gx.webmanager.services.seo.entity
Interface PageFriendlyURLEntityMutator

All Superinterfaces:
FriendlyURLEntity, FriendlyURLEntityMutator, PageFriendlyURLEntity
All Known Implementing Classes:
PageFriendlyURLEntityImpl

public interface PageFriendlyURLEntityMutator
extends FriendlyURLEntityMutator, PageFriendlyURLEntity

Mutable page friendly URL entities implements this interface.

Author:
Sander Dahlberg

Nested Class Summary
 
Nested classes/interfaces inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity
FriendlyURLEntity.ContentType
 
Field Summary
 
Fields inherited from interface nl.gx.webmanager.services.seo.PageFriendlyURLEntity
ID_PART, LANGID_PART
 
Fields inherited from interface nl.gx.webmanager.services.seo.FriendlyURLEntity
PATH_SEPARATOR
 
Method Summary
 void renamePathPart(int depth, java.lang.String replace)
          Deprecated. Use setURLPath(String) instead.
 void renameStartPath(int depth, java.lang.String replace)
          Deprecated. Use setURLPath(String) instead.
 void setURLPath(java.lang.String urlTitlePath)
          Sets the URL path of both the URL identifier as the URL title to the given URL title path.
 
Methods inherited from interface nl.gx.webmanager.services.seo.entity.FriendlyURLEntityMutator
setActivated, setAlternative, setId, setLive, setReference, setSequenceNumber, setURLTitleIdentifier
 
Methods inherited from interface nl.gx.webmanager.services.seo.PageFriendlyURLEntity
getDepth, getLangId, getPageId, getPageVersionId, getURLTitlePath
 
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
 

Method Detail

setURLPath

void setURLPath(java.lang.String urlTitlePath)
Sets the URL path of both the URL identifier as the URL title to the given URL title path.

Parameters:
urlTitlePath - The new URL title path.

renamePathPart

@Deprecated
void renamePathPart(int depth,
                               java.lang.String replace)
Deprecated. Use setURLPath(String) instead.

Renames a higher level entity identifier in the page path of this friendly URL entity. For example, when the URL identifier currently is /a/b/c and the following statement is executed: renamePathPart(2, "d") then the URL identifier (and URL title) becomes a/d/c. This method operates in memory, the change is not persisted.

Note that if replace is an empty string then the page part is removed from the path.

Parameters:
depth - Specifies the path part to rename starting with index 1.
replace - The string to replace the specified path part with.

renameStartPath

@Deprecated
void renameStartPath(int depth,
                                java.lang.String replace)
Deprecated. Use setURLPath(String) instead.

Replaces the first depth page parts with replace.

Parameters:
depth - Remove the first page part till this depth.
replace - String to replace it with.


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