public class CreateRequest extends CreateRequestDMW
requestcore| Constructor and Description |
|---|
CreateRequest()
Constructs a new CreateRequest.
|
CreateRequest(CreateRequestDMO obj,
javax.servlet.http.HttpServletRequest req)
Constructs a new CreateRequest with the specified HTTP originating request.
|
CreateRequest(DmcObject newobj)
Constructs a new CreateRequest and sets the newObj to be the object you
are passing in.
|
CreateRequest(DmwWrapper newobj)
Constructs a new CreateRequest.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
getErrorResponse()
Derived classes must overload this method to return a new response of
the appropriate type.
|
DmwWrapper |
getNewObjectWrapped()
If the new object has generated/extended DMW code, this method will return the
DMO wrapped in its associated DMW object.
|
CreateResponse |
getResponse()
Fills in standard information from the request back into the response.
|
void |
setNewObject(DmwWrapper value)
Allows you to set the newly created object using a wrapper.
|
addRequestID, addRequestID, cloneIt, delRequestID, delRequestID, getDMO, getModificationRecorder, getNewObject, getParentName, getRequestIDCopy, getRequestIDHasValue, getRequestIDIsEmpty, getRequestIDIterable, getRequestIDSize, remNewObject, remParentName, remRequestID, requestIDContains, setNewObject, setNewObject, setParentName, setParentName, setParentNamefillError, fillStandard, getUInfo, getUserInfo, setSessionInfo, setUserInfogetHandlerID, getOriginatorID, getResponseFormat, getSessionID, getTimeoutSeconds, getUserName, isNotifyOriginator, isReadableFormat, remHandlerID, remNotifyOriginator, remOriginatorID, remReadableFormat, remResponseFormat, remSessionID, remTimeoutSeconds, remUserName, setHandlerID, setHandlerID, setNotifyOriginator, setNotifyOriginator, setOriginatorID, setOriginatorID, setReadableFormat, setReadableFormat, setResponseFormat, setResponseFormat, setSessionID, setSessionID, setTimeoutSeconds, setTimeoutSeconds, setUserName, setUserNamegetLastRequestID, getServletRequest, removeLastRequestIDaddNvp, addNvp, delNvp, delNvp, getNvpCopy, getNvpHasValue, getNvpIsEmpty, getNvpIterable, getNvpSize, getTimeMS, isTrackingEnabled, nvpContains, remNvp, remTimeMS, remTrackingEnabled, setTimeMS, setTimeMS, setTrackingEnabled, setTrackingEnabledaddAux, applyModifier, equals, getBackRefs, getConstructionClass, getConstructionClassInfo, getConstructionClassName, getDmcObject, getObjectClass, getReferringObjects, getReferringObjectsViaAttribute, hasAux, isReferenced, referenceCount, removeAux, resolveReferences, resolveReferences, serializeIt, setDmcObject, toJSON, toOIF, toOIF, toPersistentOIF, toString, youAreDeletedgetDeleted, getModifier, setDeleted, setModifierpublic CreateRequest()
public CreateRequest(CreateRequestDMO obj, javax.servlet.http.HttpServletRequest req)
obj - The request from a web client.req - The request context.public CreateRequest(DmcObject newobj)
public CreateRequest(DmwWrapper newobj)
public CreateResponse getResponse()
DmcValueExceptionpublic void setNewObject(DmwWrapper value)
value - A wrapped DMO.public Response getErrorResponse()
RequestgetErrorResponse in class Requestpublic DmwWrapper getNewObjectWrapped() throws DmcNameClashException, DmcValueException
DmcNameClashExceptionDmcValueExceptionCopyright © 2023. All rights reserved.