public class AnnoFileResource extends AnnoResource implements GetableResource, ReplaceableResource
AccessControlledResource.Priviledgeacl, annoFactory, jsonResult, nameOverride, parent, realm, sourceNONE, READ_BROWSE, READ_CONTENT, READ_WRITE| Constructor and Description |
|---|
AnnoFileResource(AnnotationResourceFactory outer,
Object source,
AnnoCollectionResource parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
is(String type) |
void |
replaceContent(InputStream in,
Long length) |
authenticate, authenticate, authorise, checkRedirect, copyTo, delete, getAccessControlList, getAnnoFactory, getAsList, getContentLength, getContentType, getContentType, getCreateDate, getCurrentLock, getDisplayName, getHref, getLink, getMaxAgeSeconds, getModifiedDate, getName, getNameOverride, getParent, getPrincipalCollectionHrefs, getPrincipalURL, getPriviledges, getRealm, getRoot, getSource, getUniqueId, isCompatible, isDigestAllowed, lock, moveTo, processForm, refreshLock, sendContent, setAccessControlList, setDisplayName, setNameOverride, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLength, getContentType, getMaxAgeSeconds, sendContentauthenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdpublic AnnoFileResource(AnnotationResourceFactory outer, Object source, AnnoCollectionResource parent)
public void replaceContent(InputStream in, Long length) throws BadRequestException, ConflictException, NotAuthorizedException
replaceContent in interface ReplaceableResourceBadRequestExceptionConflictExceptionNotAuthorizedExceptionpublic boolean is(String type)
is in interface CommonResourceis in class AnnoResourceCopyright © 2021 McEvoy Software Ltd. All rights reserved.