public abstract class D1NodeService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELETEDMESSAGE |
protected MetacatHandler |
handler |
protected static int |
MAXIMUM_DB_RECORD_COUNT
limit paged results sets to a configured maximum
|
protected javax.servlet.http.HttpServletRequest |
request
For logging the operations
|
protected org.dataone.service.types.v1.Session |
session2
out-of-band session object to be used when not passed in as a method parameter
|
Constructor and Description |
---|
D1NodeService(javax.servlet.http.HttpServletRequest request)
Constructor - used to set the metacatUrl from a subclass extending D1NodeService
|
Modifier and Type | Method and Description |
---|---|
protected void |
archiveCNObject(boolean log,
org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v2.SystemMetadata sysMeta,
boolean needModifyDate)
Archive a object on cn and notify the replica.
|
protected org.dataone.service.types.v1.Identifier |
archiveObject(boolean log,
org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v2.SystemMetadata sysMeta,
boolean needModifyDate)
Archives an object, where the object is either a
data object or a science metadata object.
|
protected boolean |
checkSidInModifyingSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta,
java.lang.String invalidSystemMetadataCode,
java.lang.String serviceFailureCode) |
void |
checkV1SystemMetaPidExist(org.dataone.service.types.v1.Identifier identifier,
java.lang.String serviceFailureCode,
java.lang.String serviceFailureMessage,
java.lang.String noFoundCode,
java.lang.String notFoundMessage)
A utility method for v1 api to check the specified identifier exists as a pid
Uses the IdentifierManager to call the Identifier table directly - this detects
Identifiers for deleted objects (where the SystemMetadata doesn't exist, but the Identifier remains)
|
org.dataone.service.types.v1.Identifier |
create(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
java.io.InputStream object,
org.dataone.service.types.v2.SystemMetadata sysmeta)
Adds a new object to the Node, where the object is either a data
object or a science metadata object.
|
org.dataone.service.types.v1.Identifier |
delete(java.lang.String username,
org.dataone.service.types.v1.Identifier pid)
Deletes an object from the Member Node, where the object is either a
data object or a science metadata object.
|
org.dataone.service.types.v1.DescribeResponse |
describe(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier id)
This method provides a lighter weight mechanism than
getSystemMetadata() for a client to determine basic
properties of the referenced object.
|
protected java.lang.String |
existsInObsoletedBy(org.dataone.service.types.v1.Identifier id) |
protected java.lang.String |
existsInObsoletes(org.dataone.service.types.v1.Identifier id) |
protected static java.util.List<org.dataone.service.types.v1.Permission> |
expandPermissions(org.dataone.service.types.v1.Permission permission)
Given a Permission, returns a list of all permissions that it encompasses
Permissions are hierarchical so that WRITE also allows READ.
|
java.io.InputStream |
get(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Return the object identified by the given object identifier
|
protected org.dataone.service.types.v2.NodeList |
getCNNodeList()
A centralized point for accessing the CN Nodelist,
to make it easier to cache the nodelist in the future,
if it's seen as helpful performance-wise
|
org.dataone.service.types.v2.Log |
getLogRecords(org.dataone.service.types.v1.Session session,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.String event,
java.lang.String pidFilter,
java.lang.Integer start,
java.lang.Integer count)
Return the log records associated with a given event between the start and
end dates listed given a particular Subject listed in the Session
|
protected org.dataone.service.types.v1.Identifier |
getPIDForSID(org.dataone.service.types.v1.Identifier sid,
java.lang.String serviceFailureCode)
Utility method to get the PID for an SID.
|
org.dataone.service.types.v1.Session |
getSession()
retrieve the out-of-band session
|
org.dataone.service.types.v2.SystemMetadata |
getSystemMetadata(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier id)
Return the system metadata for a given object
|
protected org.dataone.service.types.v2.SystemMetadata |
getSystemMetadataForPID(org.dataone.service.types.v1.Identifier pid,
java.lang.String serviceFailureCode,
java.lang.String invalidRequestCode,
java.lang.String notFoundCode,
boolean needDeleteInfo)
Get the system metadata for the given PID (not a sid).
|
java.lang.String |
insertDataObject(java.io.InputStream object,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Checksum checksum)
Insert a data document
|
java.lang.String |
insertOrUpdateDocument(java.io.InputStream xmlStream,
java.lang.String encoding,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v1.Session session,
java.lang.String insertOrUpdate,
java.lang.String formatId,
org.dataone.service.types.v1.Checksum checksum)
Insert or update an XML document into Metacat
|
void |
insertSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta)
Insert a systemMetadata document and return its localId
|
boolean |
isAuthorized(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier id,
org.dataone.service.types.v1.Permission permission)
Test if the user identified by the provided token has authorization
for the operation on the specified object.
|
static boolean |
isScienceMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta)
Determine if a given object should be treated as an XML science metadata
object.
|
static boolean |
isValidIdentifier(org.dataone.service.types.v1.Identifier pid)
Check for whitespace in the given pid.
|
protected java.util.List<org.dataone.service.types.v2.Node> |
listNodesBySubject(org.dataone.service.types.v1.Subject subject,
org.dataone.service.types.v2.NodeList nodelist)
Calls CN.listNodes() to assemble a list of nodes that have been registered with the DataONE infrastructure
that match the given session subject
|
org.dataone.service.types.v1.ObjectList |
listObjects(org.dataone.service.types.v1.Session session,
java.util.Date startTime,
java.util.Date endTime,
org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId,
org.dataone.service.types.v1.Identifier identifier,
org.dataone.service.types.v1.NodeReference nodeId,
java.lang.Integer start,
java.lang.Integer count)
Retrieve the list of objects present on the MN that match the calling parameters
|
org.dataone.service.types.v2.OptionList |
listViews() |
org.dataone.service.types.v2.OptionList |
listViews(org.dataone.service.types.v1.Session arg0) |
protected static void |
objectExists(org.dataone.service.types.v1.Identifier id)
Determine if an object with the given identifier already exists or not.
|
java.util.Date |
ping()
Low level, "are you alive" operation.
|
protected void |
removeSolrIndex(org.dataone.service.types.v2.SystemMetadata sysMeta) |
protected void |
removeSystemMetaAndIdentifier(org.dataone.service.types.v1.Identifier id) |
void |
setSession(org.dataone.service.types.v1.Session session)
Set the out-of-band session
|
protected boolean |
updateSystemMetadata(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v2.SystemMetadata sysmeta,
boolean needUpdateModificationDate,
org.dataone.service.types.v2.SystemMetadata currentSysmeta,
boolean fromCN)
Update the system metadata of the specified pid.
|
protected void |
updateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysMeta)
Update a systemMetadata document
|
java.io.InputStream |
view(org.dataone.service.types.v1.Session session,
java.lang.String format,
org.dataone.service.types.v1.Identifier id) |
public static final java.lang.String DELETEDMESSAGE
protected javax.servlet.http.HttpServletRequest request
protected MetacatHandler handler
protected static int MAXIMUM_DB_RECORD_COUNT
protected org.dataone.service.types.v1.Session session2
public D1NodeService(javax.servlet.http.HttpServletRequest request)
metacatUrl
- - the URL of the metacat service, including the ending /d1public org.dataone.service.types.v1.Session getSession()
public void setSession(org.dataone.service.types.v1.Session session)
session
- protected org.dataone.service.types.v2.NodeList getCNNodeList() throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.DescribeResponse describe(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
session
- - the Session object containing the credentials for the Subjectpid
- - the identifier of the object to be describedorg.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.Identifier delete(java.lang.String username, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
username
- - the name of the user who calls the method. This is only for logging.pid
- - The object identifier to be deletedorg.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public java.util.Date ping() throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InsufficientResources
public org.dataone.service.types.v1.Identifier create(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, java.io.InputStream object, org.dataone.service.types.v2.SystemMetadata sysmeta) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.UnsupportedType, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
session
- - the Session object containing the credentials for the Subjectpid
- - The object identifier to be createdobject
- - the object bytessysmeta
- - the system metadata that describes the objectorg.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.UnsupportedType
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
protected static void objectExists(org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.IdentifierNotUnique
id
- - the ID to be checked.org.dataone.service.exceptions.ServiceFailure
- if the system can't fulfill the check processorg.dataone.service.exceptions.IdentifierNotUnique
- if the object with the identifier does existprotected void removeSystemMetaAndIdentifier(org.dataone.service.types.v1.Identifier id)
protected void removeSolrIndex(org.dataone.service.types.v2.SystemMetadata sysMeta)
public org.dataone.service.types.v2.Log getLogRecords(org.dataone.service.types.v1.Session session, java.util.Date fromDate, java.util.Date toDate, java.lang.String event, java.lang.String pidFilter, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented
session
- - the Session object containing the credentials for the SubjectfromDate
- - the start date of the desired log recordstoDate
- - the end date of the desired log recordsevent
- - restrict log records of a specific event typestart
- - zero based offset from the first record in the
set of matching log records. Used to assist with
paging the response.count
- - maximum number of log records to return in the response.
Used to assist with paging the response.org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
public java.io.InputStream get(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
session
- - the Session object containing the credentials for the Subjectid
- - the identifier for the given object
TODO: The D1 Authorization API doesn't provide information on which
authentication system the Subject belongs to, and so it's not possible to
discern which Person or Group is a valid KNB LDAP DN. Fix this.org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v2.SystemMetadata getSystemMetadata(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
session
- - the Session object containing the credentials for the Subjectpid
- - the object identifier for the given objectorg.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
public boolean isAuthorized(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier id, org.dataone.service.types.v1.Permission permission) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
session
- - the Session object containing the credentials for the Subjectpid
- - The identifer of the resource for which access is being checkedoperation
- - The type of operation which is being requested for the given pidorg.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public static boolean isScienceMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta)
sysmeta
- - the SystemMetadata describing the objectpublic static boolean isValidIdentifier(org.dataone.service.types.v1.Identifier pid)
pid
- public java.lang.String insertOrUpdateDocument(java.io.InputStream xmlStream, java.lang.String encoding, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v1.Session session, java.lang.String insertOrUpdate, java.lang.String formatId, org.dataone.service.types.v1.Checksum checksum) throws org.dataone.service.exceptions.ServiceFailure, java.io.IOException, edu.ucsb.nceas.utilities.PropertyNotFoundException
xml
- - the XML document to insert or updatepid
- - the identifier to be used for the resulting objectorg.dataone.service.exceptions.ServiceFailure
java.io.IOException
edu.ucsb.nceas.utilities.PropertyNotFoundException
public java.lang.String insertDataObject(java.io.InputStream object, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Checksum checksum) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.NotAuthorized
object
- pid
- sessionData
- org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidSystemMetadata
public void insertSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta) throws org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.ServiceFailure
public org.dataone.service.types.v1.ObjectList listObjects(org.dataone.service.types.v1.Session session, java.util.Date startTime, java.util.Date endTime, org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId, org.dataone.service.types.v1.Identifier identifier, org.dataone.service.types.v1.NodeReference nodeId, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken
session
- - the Session object containing the credentials for the SubjectstartTime
- - Specifies the beginning of the time range from which
to return object (>=)endTime
- - Specifies the beginning of the time range from which
to return object (>=)objectFormat
- - Restrict results to the specified object formatreplicaStatus
- - Indicates if replicated objects should be returned in the liststart
- - The zero-based index of the first value, relative to the
first record of the resultset that matches the parameters.count
- - The maximum number of entries that should be returned in
the response. The Member Node may return less entries
than specified in this value.org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
protected void updateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysMeta) throws org.dataone.service.exceptions.ServiceFailure
sysMeta
- - the system metadata object in the system to updateorg.dataone.service.exceptions.ServiceFailure
protected boolean updateSystemMetadata(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v2.SystemMetadata sysmeta, boolean needUpdateModificationDate, org.dataone.service.types.v2.SystemMetadata currentSysmeta, boolean fromCN) throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.InvalidToken
session
- - the identity of the client which calls the methodpid
- - the identifier of the object which will be updatedsysmeta
- - the new system metadataorg.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.InvalidToken
protected static java.util.List<org.dataone.service.types.v1.Permission> expandPermissions(org.dataone.service.types.v1.Permission permission)
permission
- protected java.util.List<org.dataone.service.types.v2.Node> listNodesBySubject(org.dataone.service.types.v1.Subject subject, org.dataone.service.types.v2.NodeList nodelist) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotImplemented
subject
- - the subject serving as the filter.org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotImplemented
protected org.dataone.service.types.v1.Identifier archiveObject(boolean log, org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v2.SystemMetadata sysMeta, boolean needModifyDate) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
session
- - the Session object containing the credentials for the Subjectpid
- - The object identifier to be archivedorg.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
protected void archiveCNObject(boolean log, org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v2.SystemMetadata sysMeta, boolean needModifyDate) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
session
- pid
- sysMeta
- notifyReplica
- org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public void checkV1SystemMetaPidExist(org.dataone.service.types.v1.Identifier identifier, java.lang.String serviceFailureCode, java.lang.String serviceFailureMessage, java.lang.String noFoundCode, java.lang.String notFoundMessage) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
identifier
- the specified identifierserviceFailureCode
- the detail error code for the service failure exceptionnoFoundCode
- the detail error code for the not found exceptionorg.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
protected org.dataone.service.types.v1.Identifier getPIDForSID(org.dataone.service.types.v1.Identifier sid, java.lang.String serviceFailureCode) throws org.dataone.service.exceptions.ServiceFailure
sid
- the specified sidserviceFailureCode
- the detail error code for the service failure exceptionorg.dataone.service.exceptions.ServiceFailure
as well for situations where you need the SystemMetadata. The advantage of
this method is that it doesn't unmarshall systemmetadata, and doesn't throw NotFound exceptions.
protected org.dataone.service.types.v2.SystemMetadata getSystemMetadataForPID(org.dataone.service.types.v1.Identifier pid, java.lang.String serviceFailureCode, java.lang.String invalidRequestCode, java.lang.String notFoundCode, boolean needDeleteInfo) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotFound
pid
- serviceFailureCode
- invalidRequestCode
- org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidRequest
protected boolean checkSidInModifyingSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta, java.lang.String invalidSystemMetadataCode, java.lang.String serviceFailureCode) throws org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.ServiceFailure
public org.dataone.service.types.v2.OptionList listViews(org.dataone.service.types.v1.Session arg0) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v2.OptionList listViews() throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
public java.io.InputStream view(org.dataone.service.types.v1.Session session, java.lang.String format, org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
protected java.lang.String existsInObsoletes(org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.ServiceFailure
protected java.lang.String existsInObsoletedBy(org.dataone.service.types.v1.Identifier id) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.ServiceFailure
Copyright © 2020 Regents of the University of California. All Rights Reserved.