public interface ContentService
| Modifier and Type | Method and Description |
|---|---|
ContentResult |
fetchFile(String url,
String auId)
Provides the content defined by a URL and Archival Unit.
|
ContentResult |
fetchVersionedFile(String url,
String auId,
Integer version)
Provides the content defined by a URL, an Archival Unit and a version.
|
List<FileWsResult> |
getVersions(String url,
String auId)
Provides a list of the versions of a URL in an Archival Unit.
|
boolean |
isUrlCached(String url,
String auId)
Provides an indication of whether the content defined by a URL and Archival Unit is cached.
|
boolean |
isUrlVersionCached(String url,
String auId,
Integer version)
Provides an indication of whether the content defined by a URL, an Archival Unit and a version
is cached.
|
List<FileWsResult> getVersions(String url, String auId) throws LockssWebServicesFault
url - A String with the URL.auId - A String with the identifier (auid) of the archival unit.List<FileWsResult> with the results.LockssWebServicesFault - if there are problems.boolean isUrlCached(String url, String auId) throws LockssWebServicesFault
url - A String with the URL.auId - A String with the identifier (auid) of the archival unit.LockssWebServicesFault - if there are problems.boolean isUrlVersionCached(String url, String auId, Integer version) throws LockssWebServicesFault
url - A String with the URL.auId - A String with the identifier (auid) of the archival unit.version - An Integer with the requested version of the content.LockssWebServicesFault - if there are problems.ContentResult fetchFile(String url, String auId) throws LockssWebServicesFault
url - A String with the URL.auId - A String with the identifier (auid) of the archival unit.LockssWebServicesFault - if there are problems.ContentResult fetchVersionedFile(String url, String auId, Integer version) throws LockssWebServicesFault
url - A String with the URL.auId - A String with the identifier (auid) of the archival unit.version - An Integer with the requested version of the content.LockssWebServicesFault - if there are problems.Copyright © 2000–2023 LOCKSS Program. All rights reserved.