public class DatabaseIDResource extends BasicResource
DatabaseIDResource class.
Modifier and Type | Field and Description |
---|---|
protected String |
attribute |
fields, queryValues, registration
Constructor and Description |
---|
DatabaseIDResource(String attributeName)
Constructor for DatabaseIDResource.
|
Modifier and Type | Method and Description |
---|---|
org.restlet.representation.Representation |
delete() |
void |
doInit() |
String |
getAttribute()
Getter for the field
attribute . |
int |
getId()
Getter for the field
id . |
protected static <S,T extends Attribute> |
mergeAttributes(Set<T> existingAttributeSet,
Set<T> newAttributeSet,
S parent)
Merge attributes from a new set into an existing one while removing duplicates.
|
org.restlet.representation.Representation |
put(org.restlet.representation.Representation rep) |
authenticate, parseClientInt, setRegistrationService, testIfNull
canDescribe, createHtmlRepresentation, createWadlRepresentation, describe, describe, describe, describe, describe, describe, describe, describe, describeDelete, describeGet, describeMethod, describeMethod, describeOptions, describeParameters, describePatch, describePost, describePut, getDescription, getName, getParameter, getParameters, getPreferredWadlVariant, getResourcePath, getResourcesBase, getWadlVariants, isAutoDescribing, options, setAutoDescribing, setDescription, setName
abort, commit, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, patch, patch, post, post, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
doError, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toString
protected String attribute
public int getId()
Getter for the field id
.
String
object.public void doInit()
doInit
in class BasicResource
@Put public org.restlet.representation.Representation put(org.restlet.representation.Representation rep)
put
in class org.restlet.resource.ServerResource
rep
- @Delete public org.restlet.representation.Representation delete()
delete
in class org.restlet.resource.ServerResource
protected static <S,T extends Attribute> void mergeAttributes(Set<T> existingAttributeSet, Set<T> newAttributeSet, S parent)
S
- T
- existingAttributeSet
- newAttributeSet
- parent
- Copyright © 2015 SeqWare. All rights reserved.