public class EditCommunitiesServlet extends DSpaceServlet
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIRM_DELETE_COLLECTION
User wants to delete a collection
|
static int |
CONFIRM_DELETE_COMMUNITY
User confirmed community deletion
|
static int |
CONFIRM_EDIT_COLLECTION
User commited collection edit or creation
|
static int |
CONFIRM_EDIT_COMMUNITY
User commited community edit or creation
|
static int |
START_CREATE_COLLECTION
User wants to create a collection
|
static int |
START_CREATE_COMMUNITY
User wants to create a community
|
static int |
START_DELETE_COLLECTION
User wants to delete a collection
|
static int |
START_DELETE_COMMUNITY
User wants to delete a community
|
static int |
START_EDIT_COLLECTION
User wants to edit a collection
|
static int |
START_EDIT_COMMUNITY
User wants to edit a community
|
| Constructor and Description |
|---|
EditCommunitiesServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP GET.
|
protected void |
doDSPost(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP POST.
|
doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final int START_EDIT_COMMUNITY
public static final int START_DELETE_COMMUNITY
public static final int START_CREATE_COMMUNITY
public static final int START_EDIT_COLLECTION
public static final int START_DELETE_COLLECTION
public static final int START_CREATE_COLLECTION
public static final int CONFIRM_EDIT_COMMUNITY
public static final int CONFIRM_DELETE_COMMUNITY
public static final int CONFIRM_EDIT_COLLECTION
public static final int CONFIRM_DELETE_COLLECTION
protected void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
DSpaceServletdoDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionprotected void doDSPost(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
DSpaceServletdoDSPost in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionCopyright © 2016 DuraSpace. All Rights Reserved.