public class GeneralServletHandler<T extends ITransferableEntity> extends AbstractServletHandler<T>
entity, entityClass, locale, LOG, uc
Constructor and Description |
---|
GeneralServletHandler() |
Modifier and Type | Method and Description |
---|---|
void |
delete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Führt das Löschen einer Entität anhand der übergebenen ID aus.
|
void |
error(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String errMsg,
int statusCode)
Liefert Fehlermeldung an Client.
|
void |
get(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Methode zum Lesen der Entität.
|
void |
post(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Führt das Anlegen einer Entität durch.
|
void |
put(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Führt das Aktualiseren einer Entität durch.
|
appendMandantFilter, getCurrBenutzer, getCurrMandant, getEntity, handleCreate, handleDelete, handleReadById, handleReadList, handleReadList, handleUpdate, init, response
public void get(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IBasisServletAction
IOException
public void put(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IBasisServletAction
IOException
public void post(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IBasisServletAction
IOException
public void delete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
IBasisServletAction
IOException
public void error(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String errMsg, int statusCode) throws IOException
IBasisServletAction
IOException
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.