public abstract class AbstractBackendAssignedTagsResource extends AbstractBackendCollectionResource<Tag,tags>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractBackendAssignedTagsResource.TagIdResolver |
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected VdcActionType |
attachAction |
protected VdcActionType |
detachAction |
protected String |
parentId |
protected Class<? extends BaseResource> |
parentType |
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOG
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
AbstractBackendAssignedTagsResource(Class<? extends BaseResource> parentType,
String parentId,
VdcActionType attachAction,
VdcActionType detachAction) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
add(Tag tag) |
Tag |
addParents(Tag tag)
Add any parent resource references needed for constructing links.
|
AssignedTagResource |
getAssignedTagSubResource(String id) |
VdcActionType |
getAttachAction() |
protected abstract TagsActionParametersBase |
getAttachParams(String id) |
protected abstract List<tags> |
getCollection() |
VdcActionType |
getDetachAction() |
String |
getParentId() |
Tags |
list() |
tags |
lookupTagById(Guid id) |
protected Tag |
lookupTagByName(String name) |
javax.ws.rs.core.Response |
performRemove(String id) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreated
addLinks, addLinks, addLinks, addLinks, addOrUpdateLink, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, populate, removeIfExist, setMappingLocator, urlEncode
doAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingAction
asCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParameters
protected Class<? extends BaseResource> parentType
protected String parentId
protected VdcActionType attachAction
protected VdcActionType detachAction
public AbstractBackendAssignedTagsResource(Class<? extends BaseResource> parentType, String parentId, VdcActionType attachAction, VdcActionType detachAction)
public String getParentId()
public VdcActionType getAttachAction()
public VdcActionType getDetachAction()
protected abstract TagsActionParametersBase getAttachParams(String id)
public Tags list()
public javax.ws.rs.core.Response add(Tag tag)
public javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<Tag,tags>
public AssignedTagResource getAssignedTagSubResource(String id)
public Tag addParents(Tag tag)
AbstractBackendResource
addParents
in class AbstractBackendResource<Tag,tags>
Copyright © 2012. All Rights Reserved.