|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.pluto.portlet.admin.BaseAdminObject
org.apache.pluto.portlet.admin.services.DeployWarService
This is the service that does is called by DeployWarPortlet to do the work of deploying a portlet war.
| Field Summary | |
static java.lang.String |
CLASS_NAME
|
static java.lang.String |
ERROR_NO_FILE
|
| Constructor Summary | |
DeployWarService()
Default constructor |
|
DeployWarService(java.lang.String logId)
Constructor taking a String used to identify a logging record. |
|
| Method Summary | |
void |
addToPageReg(PageTO page)
Add a new page record to the pageregistry.xml file. |
boolean |
addToPortletContexts(java.lang.String context)
|
static java.lang.String |
mapToEntrySetString(java.util.Map inputMap)
|
boolean |
pageExists(java.lang.String pageName)
|
java.lang.String |
processFileUpload(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Does the work of this service to deploy a portlet war file. |
java.lang.String |
readFileToString(java.io.File file)
Puts the contents of a file into a String. |
void |
savePageLayout(javax.portlet.ActionRequest req)
|
void |
setPage(javax.portlet.ActionRequest req)
Sets the page information into a PageTO object that is loaded into the session. |
void |
writeStringToFile(java.io.File file,
java.lang.String contents)
Writes the contents of a file into a String. |
| Methods inherited from class org.apache.pluto.portlet.admin.BaseAdminObject |
logDebug, logError, logError, logMethodEnd, logMethodEnd, logMethodStart, logParam, logParam, logParam, logVar, logVar, logVar, logWarn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ERROR_NO_FILE
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public DeployWarService()
public DeployWarService(java.lang.String logId)
logId - | Method Detail |
public java.lang.String processFileUpload(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
request - DeployWarService request object.response - DeployWarService response object.public static java.lang.String mapToEntrySetString(java.util.Map inputMap)
public void setPage(javax.portlet.ActionRequest req)
req - public void savePageLayout(javax.portlet.ActionRequest req)
public void addToPageReg(PageTO page)
page - The new page to addpublic boolean addToPortletContexts(java.lang.String context)
public boolean pageExists(java.lang.String pageName)
public java.lang.String readFileToString(java.io.File file)
file - The File to read
public void writeStringToFile(java.io.File file,
java.lang.String contents)
file - Te File to write.contents - The String to add to the file.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||