public interface SipWebServices
extends com.exlibris.core.infra.svc.api.GenericWebService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSipIEs(java.lang.String sipId)
API for getting the IEs related to a certain SIP
|
java.util.List<SIPStatusInfo> |
getSIPsStatusInfo(java.util.List<java.lang.String> sipId)
API for getting a list of SipStatusInfo objects by list of SIP IDs
|
java.lang.String |
getSipStatus(java.lang.String sipId)
Deprecated.
|
SIPStatusInfo |
getSIPStatusInfo(java.lang.String SipId)
API for getting the SIP Info
|
SIPStatusInfo |
getSIPStatusInfoByExternalId(java.lang.String externalSystem,
java.lang.String externalId)
API for getting the SIP Status Info by external ID
|
@Deprecated java.lang.String getSipStatus(java.lang.String sipId)
sipId
- SIPStatusInfo getSIPStatusInfo(java.lang.String SipId) throws java.lang.Exception
API for getting the SIP Info
The service returns SipStatusInfo that holds the Module the sip is currently in, including Status, Stage, External Id and External system. The Status and Stage depends on the Module value according to the following conditions:
If the Module = "DEP"
then Status can be one of the following options: DRAFT, REJECTED, DECLINED, APPROVED, ERROR,
INPROCESS, INCOMPLETE, DELETED
The Stage can be one of the following options: "Deposit","Loading","Validation","Assessor","Arranger","Approver","Bytestream","Enrichment","ToPermanent","Finished"
Else if the Module = "REP" / "PER"
then Status can be one of the following options: CREATED, WAITING, ACTIVE, REJECT, DECLINE,
REJECT_CONTENT, FINISHED, IN_HUMAN_STAGE, IN_TA
The Stage can be one of the following options: "Deposit","Loading","Validation","Assessor","Arranger","Approver","Bytestream","Enrichment","ToPermanent","Finished"
Else if the Module = "NONE"
then Status = DELETED
The Stage can be one of the following options: "Deposit","Loading","Validation","Assessor","Arranger","Approver","Bytestream","Enrichment","ToPermanent","Finished"
SipId
- java.lang.Exception
java.util.List<SIPStatusInfo> getSIPsStatusInfo(java.util.List<java.lang.String> sipId) throws java.lang.Exception
API for getting a list of SipStatusInfo objects by list of SIP IDs
The service gets a list of SIP IDs and returns a list of SipStatusInfo objects. Each object holds the Module the SIP is currently in, including Status, Stage, External Id and External system. The Status and Stage depends on the Module value according to the conditions described for the getSIPStatusInfo method. In case the SIP isn't found, the corresponding SipStatusInfo object will hold an error. Limited to 1000 SIP IDs. When the limit exceeded, an exception is thrown.
sipId
- A list of SIPs idjava.lang.Exception
java.lang.String getSipIEs(java.lang.String sipId)
sipId
- SIPStatusInfo getSIPStatusInfoByExternalId(java.lang.String externalSystem, java.lang.String externalId) throws java.lang.Exception
API for getting the SIP Status Info by external ID
The service returns a SipStatusInfo object that holds the Module the SIP is currently in, including Status, Stage, External Id and External system. The Status and Stage depends on the Module value according to the conditions described for the getSIPStatusInfo method.
externalSystem
- an external system identifier (optional)externalId
- an external ID assigned to the SIP (mandatory)java.lang.Exception