com.day.cq.wcm.siteimporter
Class ImporterContext
java.lang.Object
com.day.cq.wcm.siteimporter.ImporterContext
- All Implemented Interfaces:
- ProgressTracker
public class ImporterContext
- extends Object
- implements ProgressTracker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createContext
public static ImporterContext createContext(SlingHttpServletRequest request,
SlingHttpServletResponse response,
BundleContext bundleContext)
throws MalformedURLException
- Throws:
MalformedURLException
createContext
public static ImporterContext createContext(SlingHttpServletRequest request,
SlingHttpServletResponse response,
BundleContext bundleContext,
ResourcesBoard board)
throws MalformedURLException
- Throws:
MalformedURLException
getProjectName
public String getProjectName()
getTitle
public String getTitle()
getOriginal
public URL getOriginal()
getSitemap
public String getSitemap()
getResourceSuperType
public String getResourceSuperType()
isOverwrite
public boolean isOverwrite()
getContextPath
public String getContextPath()
getResolver
public ResourceResolver getResolver()
getBoard
public ResourcesBoard getBoard()
getWriter
public PrintWriter getWriter()
getHttpClient
public org.apache.commons.httpclient.HttpClient getHttpClient()
getPaths
public List<String> getPaths()
addPath
public void addPath(String path)
getThumbnail
public RequestParameter getThumbnail()
getService
public <T> T getService(Class<T> type)
dispose
public void dispose()
output
public void output(String message)
- Specified by:
output in interface ProgressTracker
output
public void output(String message,
String css)
- Specified by:
output in interface ProgressTracker
error
public void error(String message)
- Specified by:
error in interface ProgressTracker
error
public void error(String message,
Exception e)
- Specified by:
error in interface ProgressTracker
doIndent
public void doIndent()
- Specified by:
doIndent in interface ProgressTracker
undoIndent
public void undoIndent()
- Specified by:
undoIndent in interface ProgressTracker
repairIndent
public void repairIndent()
- Specified by:
repairIndent in interface ProgressTracker
flushBuffer
public void flushBuffer()
- Specified by:
flushBuffer in interface ProgressTracker
setDefaultLanguage
public void setDefaultLanguage(String defaultLanguage)
getDefaultLanguage
public String getDefaultLanguage()
Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.