public abstract class BaseConvertProcess extends Object implements ConvertProcess
Constructor and Description |
---|
BaseConvertProcess() |
Modifier and Type | Method and Description |
---|---|
void |
convert() |
protected abstract void |
doConvert() |
String |
getConfigurationErrorMessage() |
abstract String |
getDescription() |
protected String |
getJspPath() |
String |
getParameterDescription() |
String[] |
getParameterNames() |
String[] |
getParameterValues() |
protected com.liferay.portal.kernel.resource.bundle.ResourceBundleLoader |
getResourceBundleLoader(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected javax.servlet.ServletContext |
getServletContext(javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
includeCustomView(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
abstract boolean |
isEnabled() |
void |
setParameterValues(String[] values) |
void |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath, hasCustomView
public void convert() throws ConvertException
convert
in interface ConvertProcess
ConvertException
public String getConfigurationErrorMessage()
getConfigurationErrorMessage
in interface ConvertProcess
public abstract String getDescription()
getDescription
in interface ConvertProcess
public String getParameterDescription()
getParameterDescription
in interface ConvertProcess
public String[] getParameterNames()
getParameterNames
in interface ConvertProcess
public String[] getParameterValues()
public boolean includeCustomView(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
includeCustomView
in interface ConvertProcess
Exception
public abstract boolean isEnabled()
isEnabled
in interface ConvertProcess
public void setParameterValues(String[] values)
setParameterValues
in interface ConvertProcess
public void validate() throws ConvertException
validate
in interface ConvertProcess
ConvertException
protected abstract void doConvert() throws Exception
Exception
protected String getJspPath()
protected com.liferay.portal.kernel.resource.bundle.ResourceBundleLoader getResourceBundleLoader(javax.servlet.http.HttpServletRequest httpServletRequest)
protected javax.servlet.ServletContext getServletContext(javax.servlet.http.HttpServletRequest httpServletRequest)