Class URLHandlerDTO
java.lang.Object
org.broadleafcommerce.cms.url.domain.URLHandlerDTO
- All Implemented Interfaces:
Serializable,URLHandler,org.broadleafcommerce.common.copy.MultiTenantCloneable<URLHandler>
- Direct Known Subclasses:
NullURLHandler
A bean representation of a URLHandler
- Author:
- bpolster
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends URLHandler>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) getId()booleanIndicates if the value returned bygetIncomingURL()is a regex expression rather than a concrete URI.voidvoidsetIncomingURL(String incomingURL) voidvoidsetRegexHandler(boolean regexHandler) Deprecated.voidsetRegexHandler(Boolean regexHandler) Indicates if the value set by the methodsetIncomingURL(String)should be treated as a regex expression rather than as a concrete URI.voidsetUrlRedirectType(URLRedirectType redirectType)
-
Field Details
-
id
-
incomingURL
-
newURL
-
urlRedirectType
-
isRegex
protected boolean isRegex
-
-
Constructor Details
-
URLHandlerDTO
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceURLHandler
-
setId
- Specified by:
setIdin interfaceURLHandler
-
getIncomingURL
- Specified by:
getIncomingURLin interfaceURLHandler
-
setIncomingURL
- Specified by:
setIncomingURLin interfaceURLHandler
-
getNewURL
- Specified by:
getNewURLin interfaceURLHandler
-
setNewURL
- Specified by:
setNewURLin interfaceURLHandler
-
isRegexHandler
public boolean isRegexHandler()Description copied from interface:URLHandlerIndicates if the value returned bygetIncomingURL()is a regex expression rather than a concrete URI. Default is false.- Specified by:
isRegexHandlerin interfaceURLHandler- Returns:
-
setRegexHandler
Deprecated.- Specified by:
setRegexHandlerin interfaceURLHandler
-
setRegexHandler
Description copied from interface:URLHandlerIndicates if the value set by the methodsetIncomingURL(String)should be treated as a regex expression rather than as a concrete URI.- Specified by:
setRegexHandlerin interfaceURLHandler
-
getUrlRedirectType
- Specified by:
getUrlRedirectTypein interfaceURLHandler
-
setUrlRedirectType
- Specified by:
setUrlRedirectTypein interfaceURLHandler
-
createOrRetrieveCopyInstance
public <G extends URLHandler> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<URLHandler>- Throws:
CloneNotSupportedException
-