com.fatwire.gst.foundation.url
Class VanityPageReference

java.lang.Object
  extended by COM.FutureTense.Export.Reference
      extended by com.openmarket.xcelerate.publish.PageRef
          extended by com.fatwire.gst.foundation.url.WraPageReference
              extended by com.fatwire.gst.foundation.url.VanityPageReference
All Implemented Interfaces:
com.fatwire.cs.core.uri.Definition, COM.FutureTense.Interfaces.IReference, com.openmarket.xcelerate.interfaces.IPageRef

public final class VanityPageReference
extends WraPageReference

Vanity URL page reference implementation, used to allow vanity URLs to be generated for non-WRAs.

Since:
2013-06-03
Author:
Tony Field

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.fatwire.cs.core.uri.Definition
com.fatwire.cs.core.uri.Definition.AppType, com.fatwire.cs.core.uri.Definition.ContainerType, com.fatwire.cs.core.uri.Definition.SatelliteContext
 
Field Summary
 
Fields inherited from class com.fatwire.gst.foundation.url.WraPageReference
GST_DISPATCHER
 
Fields inherited from class com.openmarket.xcelerate.publish.PageRef
addSession, asset, assetId, assetType, FILE, HTML, isobsolete, maxFileNameLength, mPackedArgs, mPreferredDirName, mPreferredFileName, needsExport, NEEDSEXPORT, oldTemplate, OLDTEMPLATE, PACKALLARGS_PROPNAME, pagename, parentId, rootFolderLength, simpleDir, simpleDirStr, simpleName, simpleNameStr, targetId, wrappagename, WRAPPERPAGE
 
Fields inherited from class COM.FutureTense.Export.Reference
mBits, mDiskName, mError, mKey, mServletName, mSessionEncode
 
Fields inherited from interface com.openmarket.xcelerate.interfaces.IPageRef
CACHE_PREFIX
 
Fields inherited from interface COM.FutureTense.Interfaces.IReference
FAILED, NOT_PROCESSED, PROCESSED, PROCESSING
 
Fields inherited from interface com.fatwire.cs.core.uri.Definition
LOG_NAME
 
Constructor Summary
VanityPageReference()
           
 
Method Summary
protected  boolean requireWraForVanityUrls()
          Method specifying whether or not vanity URLs are allowed for assets that are just Vanity assets or that have to be full WRA assets.
 
Methods inherited from class com.fatwire.gst.foundation.url.WraPageReference
setParameters
 
Methods inherited from class com.openmarket.xcelerate.publish.PageRef
checkPageApproved, getAssetId, getBits, getDiskName, getDiskNameForNoAssetType, getDiskNameForOldTemplate, getDiskNameStandard, getKey, getPagename, getReducedLengthDiskName, init, init, init, isObsolete, log, needsExport, recordPublishKey, sessionEncode, toString
 
Methods inherited from class COM.FutureTense.Export.Reference
canProcess, createReference, getAppType, getAuthority, getContainerType, getError, getFragment, getKey, getParameter, getParameterNames, getParameters, getParameters, getRawParameters, getSatelliteContext, getScheme, getStatus, isNotProcessed, isProcessing, populate, processed, processingFailed, setAppType, setAuthority, setContainerType, setDiskName, setFailed, setFragment, setProcessed, setProcessing, setSatelliteContext, setScheme, stringFromArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface COM.FutureTense.Interfaces.IReference
canProcess, getError, getStatus, isNotProcessed, isProcessing, populate, processed, processingFailed, setAppType, setAuthority, setContainerType, setDiskName, setFailed, setFragment, setProcessed, setProcessing, setSatelliteContext, setScheme
 
Methods inherited from interface com.fatwire.cs.core.uri.Definition
getAppType, getAuthority, getContainerType, getFragment, getParameter, getParameterNames, getParameters, getSatelliteContext, getScheme
 

Constructor Detail

VanityPageReference

public VanityPageReference()
Method Detail

requireWraForVanityUrls

protected boolean requireWraForVanityUrls()
Description copied from class: WraPageReference
Method specifying whether or not vanity URLs are allowed for assets that are just Vanity assets or that have to be full WRA assets. This is provided for backward compatibility. Previously, only WRA assets could have vanity URLs, but the requirement has been loosened substantially.

Overrides:
requireWraForVanityUrls in class WraPageReference
Returns:
true for backward-compatibility - meaning that only WRA assets can have vanity URLs. False if vanity URLs can be assigned to non-WRAs.


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.