|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.asset.ImportAssetsServlet
public class ImportAssetsServlet
ImportAssetsServlet class.
| Field Summary | |
|---|---|
protected AssetModel |
model
|
protected String |
redirectSuccess
The URL to redirect the client to in case of success. |
| Constructor Summary | |
|---|---|
ImportAssetsServlet()
|
|
| Method Summary | |
|---|---|
List<Asset> |
decodeAssetsText(String text)
decodeAssetsText |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Acknowledge the events specified in the POST and then redirect the client to an appropriate URL for display. |
List<Integer> |
getCurrentAssetNodesList()
getCurrentAssetNodesList |
void |
init()
Looks up the redirect.success parameter in the servlet's
configuration. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String redirectSuccess
protected AssetModel model
| Constructor Detail |
|---|
public ImportAssetsServlet()
| Method Detail |
|---|
public void init()
throws javax.servlet.ServletException
redirect.success parameter in the servlet's
configuration. If not present, this servlet will throw an exception so it will
be marked unavailable.
init in class javax.servlet.GenericServletjavax.servlet.ServletException - if any.
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletException
IOException
public List<Asset> decodeAssetsText(String text)
throws org.opennms.web.asset.ImportAssetsServlet.AssetException
decodeAssetsText
text - a String object.
List object.
org.opennms.web.asset.ImportAssetsServlet.AssetException - if any.
public List<Integer> getCurrentAssetNodesList()
throws SQLException
getCurrentAssetNodesList
List object.
SQLException - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||