public class BackendFilesResource extends AbstractBackendCollectionResource<File,String> implements FilesResource
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected String |
storageDomainId |
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 |
---|
BackendFilesResource(String storageDomainId) |
Modifier and Type | Method and Description |
---|---|
protected File |
addParents(File file)
Add any parent resource references needed for constructing links.
|
FileResource |
getFileSubResource(String id) |
Files |
list() |
protected List<String> |
listFiles() |
File |
lookupFile(String name) |
protected Files |
mapCollection(List<String> entities) |
protected 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 String storageDomainId
public BackendFilesResource(String storageDomainId)
public Files list()
list
in interface FilesResource
public FileResource getFileSubResource(String id)
getFileSubResource
in interface FilesResource
protected File addParents(File file)
AbstractBackendResource
addParents
in class AbstractBackendResource<File,String>
protected javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<File,String>
Copyright © 2012. All Rights Reserved.