| Package | Description |
|---|---|
| com.dpslink.flash.servlet.admin |
DPS Flash specific servlets for handling administration functions.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
AdmPendingProductEditDescriptions.Context
Inner class used to store servlet context information.
|
| Modifier and Type | Method and Description |
|---|---|
protected AdmProductDescriptionEdit.Context |
AdmPendingProductEditDescriptions.createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates the servlet context inner class.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File |
AdmProductDescriptionEdit.getDescriptionFile(AdmProductDescriptionEdit.Context ctx,
int size)
Returns the description file for the given size.
|
protected java.io.File |
AdmPendingProductEditDescriptions.getDescriptionFile(AdmProductDescriptionEdit.Context ctx,
int size)
Returns the description file for the given size.
|
protected java.lang.String |
AdmProductDescriptionEdit.getDescriptionFileContent(AdmProductDescriptionEdit.Context ctx,
int size,
boolean prune)
Returns the description file content for the given size.
|
protected java.lang.String |
AdmPendingProductEditDescriptions.getDescriptionFileContent(AdmProductDescriptionEdit.Context ctx,
int size,
boolean prune)
Returns the description file content for the given size.
|
protected java.lang.String |
AdmProductDescriptionEdit.getDescriptionRootName(AdmProductDescriptionEdit.Context ctx,
int size)
Returns the description root name for the given size.
|
protected java.lang.String |
AdmPendingProductEditDescriptions.getDescriptionRootName(AdmProductDescriptionEdit.Context ctx,
int size)
Returns the description root name for the given size.
|
protected boolean |
AdmProductDescriptionEdit.isDefaultCode(AdmProductDescriptionEdit.Context ctx)
Answers if the code for the current product is "default".
|
protected boolean |
AdmPendingProductEditDescriptions.isDefaultCode(AdmProductDescriptionEdit.Context ctx)
Answers if the code for the current product is "default".
|
protected boolean |
AdmProductDescriptionEdit.saveFiles(AdmProductDescriptionEdit.Context ctx)
Saves the product description files (large and small) to their respective
locations.
|
protected boolean |
AdmProductDescriptionEdit.setTemplateError(AdmProductDescriptionEdit.Context ctx,
java.lang.String errName)
Sets the html template error fields for the given error name.
|
protected boolean |
AdmProductDescriptionEdit.switchFile(AdmProductDescriptionEdit.Context ctx)
Switches the product description file (large or small) to a selected
file name.
|
protected boolean |
AdmProductDescriptionEdit.switchFileExtension(AdmProductDescriptionEdit.Context ctx,
java.lang.String path,
java.lang.String root)
Switches the file extension for a product-specific description (small or
large) by renaming the existing file to the new extension.
|
protected boolean |
AdmProductDescriptionEdit.switchFileFromDefault(AdmProductDescriptionEdit.Context ctx,
java.lang.String path,
java.lang.String root)
Switches from a default description file (small or large) to a
product-specific description by creating the product-specific file.
|
protected boolean |
AdmProductDescriptionEdit.switchFileToDefault(AdmProductDescriptionEdit.Context ctx,
java.lang.String path,
java.lang.String root)
Switches from a product-specific description file (small or large) to a
default description by deleting the product-specific file(s).
|
protected boolean |
AdmProductDescriptionEdit.uploadFiles(AdmProductDescriptionEdit.Context ctx,
boolean upload)
Uploads the requested description file(s).
|